Add age-seed-keygen CLI tool

Generates and recovers age X25519 identity keys from a BIP39 24-word
mnemonic. Uses 256 bits of entropy mapped directly to an X25519 private
key, encoded in the standard age identity file format (AGE-SECRET-KEY-1…).

Commands:
  generate  — create a new age identity and print the 24-word mnemonic
  recover   — reconstruct the exact same identity from the mnemonic

Dependencies: bech32, cryptography, mnemonic. Setup via setup.sh.
This commit is contained in:
2026-05-20 15:55:53 +02:00
commit 1f1889629f
4 changed files with 252 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
bech32>=1.2.0
cryptography>=42.0
mnemonic>=0.21