A high-performance vanity PGP key miner written in Rust using Sequoia-PGP. This tool generates PGP keys until it finds one with a fingerprint matching specified patterns.
For Ubuntu 24.04+:
sudo apt-get install build-essential pkg-config clang nettle-dev libgmp-dev libpcsclite-dev libclang-dev
Build the optimized version:
make release
Basic usage:
# Default: generate 2 million keys
make mine name="Your Name" email="[email protected]"
# Custom total: generate 1 million keys
make mine name="Your Name" email="[email protected]" total=1000000
The program will create a gpg_export
directory containing:
public_key_N.asc
: Public keys for matches foundfound_keys.txt
: Log of all matches with patterns
The miner searches for keys matching these patterns:
DEADBEEF
: Classic hexspeakCAFEBABE
: Java magic numberDEADC0DE
: Dead codeFEEDFACE
: Feed face
Build with native optimizations (already included in Makefile):
RUSTFLAGS="-C target-cpu=native" cargo build --release
MIT License - see LICENSE file for details