Created
January 8, 2015 15:03
-
-
Save stepahn/da2911de9c11cdd78885 to your computer and use it in GitHub Desktop.
qr key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gpg --export-secret-key KEY_ID | paperkey --output-type raw | base64 | tr -d '\n\r' | fold -w 80 | split -l 4; | |
for i in x*; do cat $i | qrencode -l H -v 3 -s 10 -d 300 -o $i.png; done | |
zbarimg --quiet --raw *.png | grep -e '^$' -v | tr -d '\n\r' | base64 -D | paperkey --pubring ~/.gnupg/pubring.gpg | gpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment