age-hier helps you generate Age keys based on a BIP-39 seed.
It features a straightforward and well-specified design, and two CLI implementations,
Read here.
Build either .#age-hier-go
or .#age-hier-rust
.
Run go install github.com/bbjubjub2494/age-hier/go/cmd/...@latest
Run cargo install --git https://github.com/bbjubjub2494/age-hier
Run age-hier-derive
and enter a mnemonic and optional passphrase as prompted.
The program will deterministically produce an Age private key and write it to the standard output.
More than one private key can be derived from the same seed.
Use the -i
option to access keys other than the zeroth one.
Note that while everything should be relatively straightforward, neither the design nor either implementation have been studied by anyone holding a master's degree.
Generating random mnemonic phrases is out-of-scope for this tool.
nix flake check
will ensure that
both implementations
behave as expected
against the test vector.