🪞 A simple tool for generating vanity SSH keys based on fingerprint regex matching.
  • Rust 74%
  • Nix 26%
Find a file
2025-04-22 19:31:43 -05:00
src Implement vanity SSH key generator 2025-04-20 17:37:14 -05:00
.envrc Implement vanity SSH key generator 2025-04-20 17:37:14 -05:00
.gitignore Implement vanity SSH key generator 2025-04-20 17:37:14 -05:00
Cargo.lock Implement vanity SSH key generator 2025-04-20 17:37:14 -05:00
Cargo.toml Implement vanity SSH key generator 2025-04-20 17:37:14 -05:00
flake.lock Implement vanity SSH key generator 2025-04-20 17:37:14 -05:00
flake.nix Implement vanity SSH key generator 2025-04-20 17:37:14 -05:00
LICENSE.md Implement vanity SSH key generator 2025-04-20 17:37:14 -05:00
README.md Add emoji to readme header 2025-04-22 19:31:43 -05:00

🪞 mrr

Pronounced "mirror". This is a simple Rust cli for generating vanity SSH keys. Specifically, it generates SSH keys whose SHA-256 fingerprint matches a given regex. For example:

$ mrr '^avery'
Found: SHA256:avery1FYMMQQsL00uBtkTn1yLej4kZ+M7cdttNchWeQ. Private key written to id_ed25519, public key written to id_ed25519.pub.

Note: There is no validation or warning if the regex cannot match a fingerprint. If this happens, the program will run indefinitely. Please ensure your regex can match a valid SSH fingerprint (base64). The above 5 character prefix took ~7 hours on my laptop at a rate of ~320K/s. Each additional character will add a factor of ~64 to the expected time, so don't expect to have prefixes much longer than ~7-8 characters complete in a reasonable amount of time.