--list-packets not entirely passive
David Shaw
dshaw at jabberwocky.com
Thu Apr 18 21:36:01 CEST 2002
On Tue, Apr 16, 2002 at 01:12:00PM -0700, Anonymous wrote:
> The gpg man page says:
> > --list-packets
> > List only the sequence of packets. This is
> > mainly useful for debugging.
>
> However, if run on an encrypted ASCII armored file,
> it asks for a passphrase and seems to decrypt
> what it finds and reports the packets inside the
> decryption.
>
> It would be more natural (and consistent with
> the documentation) if it only listed the sequence
> of the packets it finds without actually doing anything.
Unfortunately, it can't. There is no way to list the packets inside
an encrypted packet without decrypting. If you want --list-packets to
just list what it can see without decrypting, try:
gpg --batch --list-packets
David
--
David Shaw | dshaw at jabberwocky.com | WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson
More information about the Gnupg-devel
mailing list