port GPG code to GnuPG2

The GnuPG code assumes GPG1. It also parses unstable output. It should be moved to support GnuPG 2.x.

Enrico suggests that we look at the nm.debian.org code for handling OpenPGP to fix it.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information