Add SSH key generator with BIP39 mnemonic backup

Generates Ed25519 SSH keys and encodes the private key seed as 24 BIP39
words for safe offline storage. Keys can be fully recovered from the
mnemonic alone.
This commit is contained in:
2026-05-20 11:31:36 +02:00
commit b857aa3afb
3 changed files with 204 additions and 0 deletions
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# One-time setup: creates a venv and installs dependencies
set -e
python3 -m venv .venv
.venv/bin/pip install -q -r requirements.txt
echo "Setup complete. Run with: .venv/bin/python keygen.py <command>"