Skip to content

Commit

Permalink
Austin retreat (#99)
Browse files Browse the repository at this point in the history
* init protocol repo commit

* block: Zeroize compile bug

* resolve zeroize-derive dependency issue

* skeleton: keygen and signing

* WIP: add extrinsic to user::send_tx()

* add comments

* ' add comment'

* update subxt

* add common package

* change relayer from lindell17 to common

* add conditional std attribute to common

* close #68

- change module common to package module

* add send_registration(), struct SigRequest

* close #72

* Delete etp-lindell17 directory

* WIP: testing extrinsics

* pallet relayer: unify account_registration and register()
- add input to register()
- change account_registration() to register()

* add testing-user-clients to call extrincics in CLI

* mess with node to signing-client communication

- add OCWMessage to crypto/common and use that in the noes
- relayer::post() sends only 1 message, not messages

* Crypto protospec (#84)

* setup clap CLI

* keygen async setup from Clap

* keygen async

* typechecks pass

* yoink, structopt

* reorg subdirs

* sm-manager

* keygen + signing - compilation errors

* pending keygen ownership bug

* async ownership bugfix

* fix signing-client decoding

* minor changes

* fix last merge: refactor protocol::user

* move common.rs into its own package

* add SigResponse to relayer::events::TransactionPropagated

* store json key (#88)

* store json key

* refactor

* to do fix

* add wait_for_finalized_success() to request_sig_gen()

- when receiving a result, result.find_first_event requires wait_for_finalized_success()
- request_sig_gen() returns SigResponse

* Crypto protospec (#89)

* setup clap CLI

* keygen async setup from Clap

* keygen async

* typechecks pass

* yoink, structopt

* reorg subdirs

* sm-manager

* keygen + signing - compilation errors

* pending keygen ownership bug

* async ownership bugfix

* blocking: handling error on 6 of 7 keygen

* keygen bug documented

* Store keys (#90)

* store json key

* refactor

* to do fix

* alice send

* add sign_message() to User

* cli separated

* cli separated (#92)

* add fn sign_message() and a test to run it

* integration

* add scripts to run 2 signing-clients locally

* work on registration

* fix scripts/alice.sh and scripts/bob.sh

* add send() to registration

* remove main.rs in alice-send

* unbreak wrap cli

* registration complete

* user await sign()

* add gg20-sm-manager's routines to signing-client

* fix sm-manager in signing-client

* add println!() for debugging

* copy local-share1.json to root

- this key needs to be in the root for the current testnet setup
- the other key local-share2.json is copied to root in the User registration

* change Rocket.toml settings

* - add logs

* adjust signing-client for node1

* change order of SignCli::sign_cli.parties

- changed from vec![1,2] to vec![2,1]
- THIS made the signature generation possible. WHY?
- change for user and signing-node

* add testnet instructions to README.md

* update README.md

* comment changes

* tests

* fmt

* todo

* event docs

* pipeline

* update README.md

* remove start_com_manager()

- Design change: The communication manager is now always running instead of being called when necessary.

* remove unused code

* build fix

* fix non compilation

* fmt

* build fix

Co-authored-by: Thor <thorck@protonmail.com>
Co-authored-by: davfra <64629389davfra@users.noreply.github.com>
Co-authored-by: David <818daf@gmail.com>
Co-authored-by: Thor <7041313+thor314@users.noreply.github.com>
Co-authored-by: davfra <64629389+davfra@users.noreply.github.com>
  • Loading branch information
6 people authored Mar 1, 2022
1 parent b54bb02 commit 4baf10a
Show file tree
Hide file tree
Showing 52 changed files with 14,597 additions and 635 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,18 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: bash .github/workflows/scripts/install_dependencies.sh
- run: cd crypto/etp-lindell17 && cargo check --release
- run: cd crypto/protocol && cargo check --release
crypto-signing-client:
name: Signing
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: bash .github/workflows/scripts/install_dependencies.sh
- run: cd crypto/signing-client && cargo check --release
crypto-common:
name: Common
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: bash .github/workflows/scripts/install_dependencies.sh
- run: cd crypto/common && cargo check --release
16 changes: 15 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,18 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: bash .github/workflows/scripts/install_dependencies.sh
- run: cd crypto/etp-lindell17 && cargo clippy
- run: cd crypto/protocol && cargo clippy
crypto-signing-client:
name: Signing
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: bash .github/workflows/scripts/install_dependencies.sh
- run: cd crypto/signing-client && cargo clippy
crypto-common:
name: Common
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: bash .github/workflows/scripts/install_dependencies.sh
- run: cd crypto/common && cargo clippy
Loading

0 comments on commit 4baf10a

Please sign in to comment.