Skip to content

Hierarchical Deterministic Key Generation For Age, with mnemonic phrase support

License

Notifications You must be signed in to change notification settings

bbjubjub2494/age-hier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hierarchical Deterministic Key Generation For Age

built with Nix

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,

Specification

Read here.

Installation

Nix

Build either .#age-hier-go or .#age-hier-rust.

Go

Run go install github.com/bbjubjub2494/age-hier/go/cmd/...@latest

Cargo

Run cargo install --git https://github.com/bbjubjub2494/age-hier

Usage

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.

Checking

nix flake check will ensure that both implementations behave as expected against the test vector.

About

Hierarchical Deterministic Key Generation For Age, with mnemonic phrase support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published