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
|
|
@ -14,6 +14,9 @@ environment:
|
|||
dependencies:
|
||||
# SHA-256, which BIP-39's checksum is made with.
|
||||
crypto: ^3.0.7
|
||||
# BIP-39's English list, which the recovery phrase's words are of.
|
||||
halkyon_core:
|
||||
path: ../halkyon_core
|
||||
# libsodium's API (Argon2id, X25519, Ed25519, XChaCha20-Poly1305, sealed
|
||||
# boxes, the KDF), pinned exactly: what keys an account's data must never
|
||||
# move by accident. Its build hook compiles libsodium 1.0.22 from the source
|
||||
|
|
|
|||
Loading…
Reference in a new issue