Discover and explore top open-source AI tools and projects—updated daily.
CLI tool for Ed25519 SSH key backup/restore using seed phrases
Top 49.7% on SourcePulse
Melt provides a command-line tool for backing up and restoring Ed25519 SSH private keys using human-readable seed phrases. It targets developers and system administrators who need a secure and memorable way to manage their SSH keys, offering a robust alternative to storing sensitive key files directly.
How It Works
Melt leverages the Ed25519 key generation process, which starts with a 32-byte random seed. It extracts this seed from an existing SSH private key. The seed is then used as entropy for the BIP39 mnemonic algorithm, converting it into a sequence of words. To restore, the seed phrase is converted back into the original entropy (seed), which is then used to regenerate the Ed25519 key pair. This approach ensures that the restored key is cryptographically identical to the original.
Quick Start & Requirements
go install github.com/charmbracelet/melt/cmd/melt@latest
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
Currently, only Ed25519 keys are supported. Public key memos (e.g., user@host comments) are not preserved during the backup and must be manually re-added using ssh-keygen -c
. Some internal bytes of the private key might differ due to the random block, but the key remains functionally the same.
2 days ago
1 week