On 10/25/2016 04:24 PM, Jeroen Ooms wrote:
> Is there a way to let gpgme read/parse a (set of) keys in memory, without
> actually importing it in the keyring? So suppose I have a file with an
> armored set of keys like this:
>>http://pgp.mit.edu/pks/lookup?op=get&search=jeroen+ooms>> Can I parse this file in gpgme to print the name/email/fingerprints of the
> pubkeys without actually importing into my keyring?
>
you can always use a temporary keyring, but some import is likely
necessary in order to perform validation of the various packets, in the
general case you also need to ensure the keyblock validity to begin with
through trustdb calculation
--
----------------------------
Kristian Fiskerstrand
Blog: https://blog.sumptuouscapital.com
Twitter: @krifisk
----------------------------
Public OpenPGP keyblock at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
----------------------------
Divide et impera
Divide and govern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20161025/0c0c42b2/attachment-0001.sig>