How do I list all recipient of a message (including myself)?
Jerome Baum
jerome at jeromebaum.com
Thu May 12 06:11:14 CEST 2011
On Thu, May 12, 2011 at 04:49, lists at mgreg.com <lists at mgreg.com> wrote:
>
> I am writing application in which I need to know if a GnuPG encrypted
> message was sent to me. It seems that whenever you list the recipients of a
> message it will list every recipient but you -- even if you're one of them.
> Surely there's a way to reveal whether or not you're one of those
> recipients...?
>
There doesn't seem to be a with-colons version of this, but it's a start:
$ gpg -vv --list-only cron.log.gpg
> :pubkey enc packet: version 3, algo 1, keyid 0000000000000000
> data: [2048 bits]
> gpg: public key is 00000000
> :encrypted data packet:
> length: unknown
> mdc_method: 2
Normally, the key IDs would be in there of course, I just always throw them.
--
Jerome Baum
tel +49-1578-8434336
email jerome at jeromebaum.com
--
PGP: A0E4 B2D4 94E6 20EE 85BA E45B 63E4 2BD8 C58C 753A
PGP: 2C23 EBFF DF1A 840D 2351 F5F5 F25B A03F 2152 36DA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20110512/eac8827f/attachment.htm>
More information about the Gnupg-users
mailing list