Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rust]: Implement Private and Public keys #3107

Merged
merged 24 commits into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e5e8836
Save dev state
satoshiotomakan Apr 18, 2023
821d95a
[wip] Save dev state
satoshiotomakan Apr 19, 2023
4fe5649
[wip] Save dev state
satoshiotomakan Apr 19, 2023
6efe740
[wip] Integrate 'Rust::tw_private_key_sign' into C++ code
satoshiotomakan Apr 20, 2023
15406f5
[wip] Rename `tw_keeper` crate to `tw_keypair`
satoshiotomakan Apr 20, 2023
4ea61be
[wip] Make `TWPrivateKey` and `TWPublicKey` available for end-user
satoshiotomakan Apr 21, 2023
44d7f67
[wip] Integrate Rust public key verifying into C++
satoshiotomakan Apr 21, 2023
c888285
Merge branch 'master' into s/rust-keeper
satoshiotomakan Apr 21, 2023
675880b
[wip] Split `secp256k1` module into submodules
satoshiotomakan Apr 21, 2023
6cbbe98
[wip] Fix secp256k1 getting shared key
satoshiotomakan Apr 21, 2023
cbb85db
[wip] Move starkex curve from `tw_starnet` to `tw_keypair` crate
satoshiotomakan Apr 22, 2023
359ff33
[wip] Document FFIs
satoshiotomakan Apr 22, 2023
8ef0662
Merge branch 'master' into s/rust-keeper
satoshiotomakan Apr 22, 2023
36e16ef
[wip] Update starknet-crypto and starknet-ff crate
satoshiotomakan Apr 24, 2023
c33ce5b
Merge branch 'dev' into s/rust-keeper
satoshiotomakan Apr 24, 2023
720b364
[r2r] Minor refactoring
satoshiotomakan Apr 24, 2023
0119618
[r2r] Update code coverage
satoshiotomakan Apr 24, 2023
0f5be1f
[r2r] Disable k256 default features to fix WASM
satoshiotomakan Apr 24, 2023
dafd136
[r2r] Document `tw_keypair` structures and methods
satoshiotomakan Apr 24, 2023
9017ed2
[r2r] Zeroize secrets
satoshiotomakan Apr 25, 2023
dbefeb3
[r2r] Fix Rust CI
satoshiotomakan Apr 25, 2023
977fcad
[r2r] Add secp256k1 tests
satoshiotomakan Apr 25, 2023
d80eee3
[r2r] Remove `TW` prefixes
satoshiotomakan Apr 25, 2023
1b2695f
[r2r] Rename `tw_utils` to `tw_misc`
satoshiotomakan Apr 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/linux-ci-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
run: |
tools/install-rust-dependencies dev

- name: Install emsdk
run: tools/install-wasm-dependencies

- name: Check code formatting
run: |
cargo fmt --check
Expand All @@ -55,6 +58,13 @@ jobs:
cargo llvm-cov nextest --profile ci --no-fail-fast --lcov --output-path coverage.info
working-directory: rust

- name: Run tests in WASM
run: |
source emsdk/emsdk_env.sh
cargo test --target wasm32-unknown-emscripten --release
env:
CARGO_TARGET_WASM32_UNKNOWN_EMSCRIPTEN_RUNNER: node

- name: Rust Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
Expand Down
Loading