refactor(core,keys): BIP-39's English list moves into halkyon_core
The list a recovery phrase's words are of moves from halkyon_keys into halkyon_core, exported as bip39English, so that the server module can take a waiting account's matching code from it (Halkyon Learn's ADR 0021, D33) without depending on halkyon_keys and libsodium. Its test (2048 words, sorted, the published file's SHA-256, unique by their first four letters) moves along; its MIT licence too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
90ba4f0b94
commit
b2aa7667c4
1 changed files with 41 additions and 20 deletions
|
|
@ -57,10 +57,11 @@ phrase.
|
|||
|
||||
`dart test`: libsodium's own Argon2id known answers (its `pwhash_argon2id` test, so the
|
||||
compiled libsodium is the one these keys were made with), BIP-39's English vectors
|
||||
(trezor/python-mnemonic's `vectors.json`, MIT), the word list's SHA-256, round trips,
|
||||
and every refusal.
|
||||
(trezor/python-mnemonic's `vectors.json`, MIT), round trips, and every refusal; the
|
||||
word list's SHA-256 is checked in halkyon_core.
|
||||
|
||||
## Licence
|
||||
|
||||
GNU Affero General Public License, version 3 or any later version (`LICENSE`). The
|
||||
English word list is BIP-39's, under the MIT License (`BIP39-LICENSE`).
|
||||
English word list is BIP-39's, in halkyon_core, under the MIT License (its
|
||||
`BIP39-LICENSE`).
|
||||
|
|
|
|||
Loading…
Reference in a new issue