-
Notifications
You must be signed in to change notification settings - Fork 277
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
[refactor] #4339: refactor iroha_crypto
, update API
#4341
[refactor] #4339: refactor iroha_crypto
, update API
#4341
Conversation
Pull Request Test Coverage Report for Build 8257299862Details
💛 - Coveralls |
Okay, so what's next:
|
I've updated Will address it next. Probably, will try to simplify the builder yet remain it type-safe. |
Updated how keys generation is configured. With some refactoring, managed to avoid unnecessary validation and panics in runtime thanks to types. Renamed |
e79f617
to
24a28fc
Compare
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
c21a1f8
to
ec0fa3a
Compare
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
There is also `iroha_swarm`, which still uses lowercase Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
- Rename `KeyPair::generate` to `KeyPair::random` - Add `KeyPair::random_with_algorithm` - Add `KeyPair::from_seed` - Add `impl From<PrivateKey> for KeyPair` Also: - Rename `KeyPair::new` to `KeyPair::from_raw_parts` for consistency Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
- revert `from_raw_parts` to `new` - rename `into_raw_parts` to `into_parts` - remove `impl From<KeyPair> to (K, K)` Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
ec0fa3a
to
0d7c78a
Compare
* [refactor]: update WASM API, wip `cargo check --target wasm32-unknown-unknown` fails: `getrandom` crate features are invalid Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com> * [feat]: complete refactoring (upstream is WIP) Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com> * [refactor]: update upstream to hyperledger-iroha/iroha#4341 Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com> * [refactor]: update crypto, finally Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com> --------- Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Description
See linked issue.
Linked issue
Closes #4339