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

Derive the threshold account keypair and x25519 keypair from mnemonic using HKDF #709

Merged
merged 40 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
a1b3ed1
Add HKDF for getting signing and encryption keys
ameba23 Apr 4, 2024
bd5f309
Merge master
ameba23 Apr 4, 2024
5e3da01
Taplo
ameba23 Apr 4, 2024
6dc7629
Update sign_and_encrypt to take x25519 key as input rather than deriv…
ameba23 Apr 5, 2024
2559081
Update tss for changes to sign_and_encrypt api
ameba23 Apr 5, 2024
23624d8
Clippy
ameba23 Apr 5, 2024
17ff323
Update test client
ameba23 Apr 5, 2024
86413e4
Update test cli
ameba23 Apr 8, 2024
48fcc77
Update tests and make a helper for getting x25519 keys directly from …
ameba23 Apr 8, 2024
ec7d1eb
Fix wasm tests
ameba23 Apr 8, 2024
2fdfb95
Update Eves x25519 public key in chain spec
ameba23 Apr 8, 2024
e1fb512
Update alice and bobs public x25519 keys in the chainspec
ameba23 Apr 8, 2024
4b8f497
Update alice and bobs public x25519 keys in testing-utils
ameba23 Apr 8, 2024
19297f9
Update alice and bobs TSS accounts in chain spec
ameba23 Apr 9, 2024
41c3fae
Update alice and bobs TSS accounts in testing-utils constants
ameba23 Apr 9, 2024
541c5ac
typo
ameba23 Apr 9, 2024
7a466b1
Fix validate test helper
ameba23 Apr 9, 2024
eea72f9
Fix tests
ameba23 Apr 9, 2024
edee3af
Fix tests
ameba23 Apr 9, 2024
5855e43
Update tests
ameba23 Apr 9, 2024
e34afcf
Add charlie updated keys to chainspec
ameba23 Apr 9, 2024
56ac5a6
Fix remaining tests
ameba23 Apr 9, 2024
5265d78
Clippy
ameba23 Apr 9, 2024
70f7758
Refactor
ameba23 Apr 9, 2024
51348b5
Fix private mode tests
ameba23 Apr 9, 2024
6fdeb96
Fix wasm tests
ameba23 Apr 9, 2024
e36f95b
Fix wasm protocol tests
ameba23 Apr 9, 2024
60c8d0c
Merge master
ameba23 Apr 10, 2024
2ff2d3a
JS api and docs
ameba23 Apr 10, 2024
22cc07b
Changelog
ameba23 Apr 10, 2024
b3274b1
Standard formatting for JS tests
ameba23 Apr 10, 2024
37d6b02
Tidy, error handling
ameba23 Apr 10, 2024
7584579
Error handling
ameba23 Apr 10, 2024
595d6c2
Comments
ameba23 Apr 10, 2024
68f0e2b
Merge master
ameba23 Apr 10, 2024
a35a0c3
Merge master
ameba23 Apr 10, 2024
ab6fc64
Revert generic-array to 0.14.6
ameba23 Apr 10, 2024
6885d8f
Revert generic-array to 0.14.6
ameba23 Apr 10, 2024
9ad9adf
Merge master
ameba23 Apr 15, 2024
e98a7e6
Mv test fn to bottom of file
ameba23 Apr 15, 2024
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
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,22 @@ At the moment this project **does not** adhere to

## [[Unreleased]](https://github.com/entropyxyz/entropy-core/compare/release/v0.0.11...master)

### Added
### Breaking Changes

- In [#709](https://github.com/entropyxyz/entropy-core/pull/709) 'Derive the threshold account
keypair and x25519 keypair from mnemonic using HKDF' the JS `entropy-protocol` bindings have
changed. `Hpke.DecryptAndVerify` now takes a secret x25519 encryption key rather than a secret
sr25519 signing key. The `runDkgProtocol` and `runSigningProtocol` functions now both take a
secret x25519 key as an additional argument, since these are no longer derived from the given
signing secret key. Similarly in the rust API, `EncryptedSignedMessage` no longer derives x25519
keypairs internally and so the decrypt method now takes a x25519 secret key. Also, the method by
which keypairs are derived from a mnemonic has changed, which means existing validators x25119
and sr25519 keypairs will be different what they were before.

### Added

### Changed
- Derive the threshold account keypair and x25519 keypair from mnemonic using HKDF ([#709](https://github.com/entropyxyz/entropy-core/pull/709))

## [0.0.11](https://github.com/entropyxyz/entropy-core/compare/release/v0.0.10...release/v0.0.11) - 2024-04-XX

Expand Down Expand Up @@ -85,6 +100,7 @@ At the moment this project **does not** adhere to
- Rename `pallet_relayer` to `pallet_registry` ([#661](https://github.com/entropyxyz/entropy-core/pull/661))
- Remove permissioned access type ([#666](https://github.com/entropyxyz/entropy-core/pull/666))
- Use SessionID in shared randomness ([#676](https://github.com/entropyxyz/entropy-core/pull/676))
- Derive the threshold account keypair and x25519 keypair from mnemonic using HKDF

### Removed
- Remove `pallet-free-tx` ([#662](https://github.com/entropyxyz/entropy-core/pull/662))
Expand Down
Loading