Skip to content

nicolasleander/rust-vanity-gpg-miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanity PGP Key Miner

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.

Linux Dependencies

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

Usage

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 found
  • found_keys.txt: Log of all matches with patterns

Pattern Examples

The miner searches for keys matching these patterns:

  • DEADBEEF: Classic hexspeak
  • CAFEBABE: Java magic number
  • DEADC0DE: Dead code
  • FEEDFACE: Feed face

Performance Tips

Build with native optimizations (already included in Makefile):

RUSTFLAGS="-C target-cpu=native" cargo build --release

License

MIT License - see LICENSE file for details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published