-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(crypto): CRP-2624 Create tECDSA/tSchnorr/vetKD mock canister (#1029
) * feat(crypto): CRP-2624 Create tECDSA/tSchnorr/vetKD mock canister * sign_digest_with_ecdsa instead of sign_message_with_ecdsa * Add Schnorr tests * Add build/test in Makefile * Add vetKD tests * sign_message_with_ecdsa * Adapt register_custom_getrandom documentation * Simplify dfx.json * Add call counts * Update README * Update CODEOWNERS * Update README * Dependency cleanup * sign_digest_with_ecdsa * Prepare for publishing * Cleanup
- Loading branch information
Showing
17 changed files
with
3,944 additions
and
0 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: rust-threshold-mock | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- rust/threshold-mock/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/rust-threshold-mock-example.yml | ||
- .ic-commit | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
rust-threshold-mock-darwin: | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Darwin | ||
run: bash .github/workflows/provision-darwin.sh | ||
- name: Install PocketIC server Darwin | ||
uses: dfinity/pocketic@main | ||
with: | ||
pocket-ic-server-version: "6.0.0" | ||
- name: Build threshold-mock Darwin | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo build --target wasm32-unknown-unknown --release | ||
popd | ||
- name: Lint threshold-mock Darwin | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo fmt --all -- --check && cargo clippy --all-targets --all-features -- -D warnings | ||
popd | ||
- name: Test threshold-mock Darwin | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo test | ||
popd | ||
rust-threshold-mock-linux: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Linux | ||
run: bash .github/workflows/provision-linux.sh | ||
- name: Install PocketIC server Linux | ||
uses: dfinity/pocketic@main | ||
with: | ||
pocket-ic-server-version: "6.0.0" | ||
- name: Build threshold-mock Linux | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo build --target wasm32-unknown-unknown --release | ||
popd | ||
- name: Lint threshold-mock Linux | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo fmt --all -- --check && cargo clippy --all-targets --all-features -- -D warnings | ||
popd | ||
- name: Test threshold-mock Linux | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo test | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Various IDEs and Editors | ||
.vscode/ | ||
.idea/ | ||
**/*~ | ||
|
||
# Mac OSX temporary files | ||
.DS_Store | ||
**/.DS_Store | ||
|
||
# dfx temporary files | ||
.dfx/ | ||
|
||
# rust | ||
target/ | ||
|
||
# environment variables | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Contributing | ||
|
||
## Contributing code changes | ||
|
||
This repository is currently not open to direct contributions. However, if you want to contribute a feature or bug fix, please **reach out to us** so that we can discuss feasibility and implementation strategies. You can reach out to us: | ||
|
||
- on the [forum] | ||
- by opening [GitHub issues] | ||
|
||
Make sure to read the [README] and [LICENSE] first. | ||
|
||
## Bug reports | ||
|
||
We always appreciate bug reports through [GitHub issues]. | ||
|
||
[GitHub issues]: https://github.com/dfinity/TODO/issues | ||
[forum]: https://forum.dfinity.org/ | ||
[LICENSE]: LICENSE | ||
[HACKING]: HACKING.md | ||
[README]: README.md |
Oops, something went wrong.