gpg --list-only argument
Patrick Brunschwig
patrick at mozilla-enigmail.org
Mon Apr 25 11:58:00 CEST 2005
harry_b at mm.st wrote:
> Hi everybody,
>
> sorry for the wrong subject before - I repost my message with the proper
> subject this time.
>
> I am trying to get around the lacking feature of gpgme to tell me for
> which keys a message has been encrypted for.
>
> I am running gpg 1.4.0 on Debian unstable.
>
> I thought, that 'gpg --list-only filename' should give me all keys, a
> message was encrypted for. Unfortunately, this seems not to include my
> own keys.
>
> If a message is encrypted for several recipients, it lists all except my
> own keys. If its encrypted for myself only, it doesn't list anything at
> all.
>
> Do I miss something here? Can I somehow get ALL keys?
"gpg --status-fd 1 --list-only filename" will do it -- and it even does
it in an easily parseable way.
-Patrick
More information about the Gnupg-users
mailing list