Erlang - Importing GPG Public Key
问题 I'm trying to do some public-key-related things in Erlang, and they require me to track public keys. According to this page, I should be able to import PEM format keys by using file:read_file/1 and public_key:decode_pem/1 . The thing is, when I try to import a GPG public key, I don't get a result. I've got a file called inaimathi.pubkey with the following content: -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.11 (GNU/Linux)