You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.6 KiB

9 years ago
Trolling the Web of Trust
9 years ago
This repository is the home of scripts related to my OHM2013 talk.
To get started, clone the repo and submodules:
9 years ago
git clone
cd trollwot
git submodule init
git submodule update
Install the gnupg build dependencies. On a Debian-based distro you do this:
sudo apt-get build-dep gnupg
Build the modified gnupg.
cd lib/gnupg
ASCII sign a PGP key
-------------------- is a script that takes a filename and a target key id as input. It downloads the target key, then generates a new PGP for each line in the file. It signs the target key with the new keys and pushes everything to the key server. Essentially, it lets you sign any key with ASCII art.
For example, check out my key:
ASCII sign a key like this:
If you're ASCII signing a key with multiple user IDs, you'll have to press "y" to verify you want to sign all user IDs for each line.
9 years ago
Brute force PGP key ID (inefficiently)
The script that brute forces key IDs uses a modified version of gnupg that removes all the entropy from key generation, which makes it very quick and very insecure. To run it on your computer, making it a very high priority process:
nice -20 ./
9 years ago
Although it actually turns out that this is an inefficient way to brute force key IDs.