Simply Display all Encryption Keys on a File?

Naftuli Tzvi Kay rfkrocktk at
Mon Jul 4 23:52:56 CEST 2016

Is there a way to take a GnuPG 2 encrypted file and simply display the key
ids that it was encrypted to? Obviously this probably won't work for
--hidden-encrypt-to, but is there a shorthand way of doing this? I've tried
using gpg2 --list-packets, but this attempts to decrypt the file first.

 - Naftuli Tzvi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20160704/6d554fe8/attachment.html>

More information about the Gnupg-devel mailing list