List the recipients of a message
Pedro Diaz Jimenez
pdiaz88@terra.es
Thu Jun 14 19:09:01 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks all,
I've just wondering if there was a way of knowing the recipients without
having to decrypt the (possibly very large) encrypted file
I've been using gpg -d file > /dev/null
but david's solution works faster of course (although it list keys twice,
huh?)
Cheers
Pedro
On Thursday 14 June 2001 15:56, David Shaw wrote:
> On Thu, Jun 14, 2001 at 04:23:05PM +0100, John Arundel wrote:
> > On Thu, Jun 14, 2001 at 04:03:14PM +0000, Pedro Diaz Jimenez wrote:
> > > Does anybody know how to list the recipients of an encrypted message?.
> > > I've looked the gpg help and the online guide at gnupg.org but I'm
> > > still without any clue
> >
> > Well, if you're one of the recipients, gpg will tell you what other keys
> > it was encrypted with when you decrypt it. If you're not, I don't see
> > that it's any of your business who the recipients are ;)
>
> A somewhat hackish way to do it is:
>
> gpg --no-default-keyring --secret-keyring /dev/null the-encrypted-file.gpg
>
> David
- ----------------------------------------
Content-Type: application/pgp-signature; charset="us-ascii";
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description:
- ----------------------------------------
- --
/*
* Pedro Diaz Jimenez
* pdiaz88@terra.es
* pdiaz@acm.asoc.fi.upm.es
*
* Wanna see how 100000! looks like?:
* http://acm.asoc.fi.upm.es/~pdiaz/fact_100.000
*
* La sabiduria me persigue, pero yo soy mas rapido
*
* "Las artes marciales son parte de una filosofía,
* no deben ser consideradas un arma. Y por eso,
* recuerda: No hay nada como un buen revolver"
* Les Luthiers, Iniciacion a las Artes Marciales
*
*/
Random quote:
- -------------
You are dishonest, but never to the point of hurting a friend.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7KQsdnu53feEYxlERAvB8AKCG6vDyjmk81dvDUUmt9CIKd5rDRQCg7EQ6
sAB91hqgB23TBRs/jjlZ10U=
=EEn9
-----END PGP SIGNATURE-----