/asc-key-to-qr-code-gif

Convert ASCII-armored PGP keys to animated QR code

Primary LanguageShell

asc-key-to-qr-code-gif

A simple script to convert ASCII-armored PGP keys to animated QR code (GIF).

Dependencies

This script depends on the following libraries.

  1. libqrencode: We use it to generate QR codes.
  2. zbar: We use it to read QR codes and test them. You don't need it if you do not want to test (comment out the "Check png" section in the script).

Usage

Export you keys first, then use the script.

gpg --export -a "Key ID" > public.asc
gpg --export-secret-keys -a "Key ID" > private.asc
./asc-to-gif.sh public.asc public.gif
./asc-to-gif.sh private.asc private.gif