Add GPG support

This commit integrates code from compete/yamlgpg to allow GPG decryption
of keys.