How know who is a file encrypted for ?
vedaal at hush.com
vedaal at hush.com
Tue Feb 26 15:55:22 CET 2008
>Date: Tue, 26 Feb 2008 08:48:57 +0100
>From: "Dirk Traulsen" <dirk.traulsen at lypso.de>
>Subject: Re: How know who is a file encrypted for ?
>1. If there are several recipients, test the given passphrase
>automatically for all secret keys in your keyring, so that you
>don't
>have to give for example 9 times a wrong one if you are recipient
>number four, which you even don't know beforehand.
it isn't necessary to enter the passphrase at all
just press <enter> repeatedly until you reach the recipient you want
(you'll still need 9 'enter's for your example ;-)
but hardly such a tedious task)
>2. A command which lists the recipients of an encrypted file.
or maybe an upgrade of gpg list packets, to include the recipient
listing the way pgpdump does
pgpdump immediately lists all the keyid's a message is encrypted to,
and does so in the same order of recipients, as gnupg uses to ask
for the passphrase
here is a sample message encrypted to multiple keys:
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: encrypted to 5 recipients
hQEMA33EJ0r5AVSWAQf/VLQ6Olu6blS14quefUC14MFPkNhBrtrb9BjZZhlf7UPQ
n4KAbfCOMjyKsmQMidraUGbLVfvzOh74blBOvy56MmqI9nAwc6abA+pHx6NUPxL+
HCu4s8NAxkebJkdNDwKLUG3NEUFLkh1Z31ItzpePQl8rpE7/BTkffr2HwRid5AZg
r5OPcbky5r6WFdlcg/wzR8v593TaEkR5XcCMUuR3wBbXVeTuMVhJkxOF46G4aJ7+
Jcf9PUWMD2rGuUPrThpa608ueje0wsq4LLDeFPLS1905vq2IuTvY7djaANLHay8T
fUUENU+Dr75P/SlaKJ26bX2hhD/GnojdKIVY80A564UBDAOjBsN7SVyhWwEH/RNu
QBpgqjIToFJPTRB8ZWo+V5KKQUrR9sNK0gR16TRnAhovpUVmlPPfW/VsSO86Crz4
RQ9elc330hwdW6sgcyAoVxFO57rcvnr7gyXIki/20r2cZHKEytA0j4NlIS1iERpo
vPoPQmuWuKujmM975goLKXp0/4FuqnD9W3WzjHxRtMq/+/MkEUIW1q8WWzlPoFIq
nuuDS/b1MsdsrTDiQLGqzJoDijtAZ2OCot5LB5jYlhiAAG12InCD2y7s56huj95c
+4HRpB7xwA7QIiA0LtIgMTaGO7C8B6joZWe8rt0HlqQVjdXic9zcUhAFNXDrqShz
nqwSFcVrbht/kUIcATCFAQ4D2RmnrvDnSUgQA/0a7o1am71UgJu22opIrz1x9Iag
94hBct+j8iR7H8EuMctwdfFxVVH+Dn3cOvYDkbjOLIY8zU1wyjdW6AqvVoRQ4aws
NPdAqp811stDM41PNa4Uo5hCX/Pf3426eepjYTWLqOMQBSQAU9S1KtIAdKq8TfFg
ABvSTPINkTDcR7Q83AQA6MYMmlK5JvbspAkRQnpygIe43d2Wxx9E7zejVkYRNvai
iIDO4g4YG48x+AS2JHsuwm+XOY28SCqpJihHlnsZCP1F9+eFH1KGfMsGPZKZijpf
yOIUCliXVWsoi2eKQAhRUp76LR94pN2pGF+K2WrOM7hbSTBr+zVhdjagYRhu4MGF
AQwDndLzwHVskd4BB/4qMQ7ClUo6YS6J7aiC50VK9HR5voik4PznLYhrrHpaow0R
85/Gprwr1RS0muk9upFZFX6SDZw/PB72rjgQV2Lb7AV0htuuivmn3Q6vnxWNMd1e
jhk/bMfxtRIR+AVezMbGzLbslBOyW9lmT9z6n7JcIP47ZYLiZ3/jdm/4/DbUhSIj
N3D/E9EHpkHo/OnCHE+HpPqbC8jWQGNmN2aUURlPpfVgpChDB1XUeOu8t0UkNOxK
6M3auZM6GA7a5lDiGxMVxtYmvCrAwyj98zknhRB6lGigl+jmHBi67CJei+85v2Ee
SpQxdsFLgTyiz7RWC8HIKp/MFbPQOCVLFtQRKvAi0loB/GI8tmITfTYRHyZEp0vZ
IKnWsKyerAefPBwqZcmDHOUOboayfxbnc0TYElxyzWbL8tsVfJPT5utQG+15W+CF
aJoLiVGt3JnWgch44ePEkqo+y1n9f4CKNzs=
=Md62
-----END PGP MESSAGE-----
here is the pgpdump web interface:
http://www.pgpdump.net/
and here is the pgpdump home site and links for sourcecode:
http://www.mew.org/~kazu/proj/pgpdump/
vedaal
any ads or links below this message are added by hushmail without
my endorsement or awareness of the nature of the link
--
Save hundreds on getting a Web Design Degree. Click here.
http://tagline.hushmail.com/fc/Ioyw6h4fMueeWAGklrZP73ctJCCuFleiu0xJwUnBcDXi24RgBh6I4f/
More information about the Gnupg-users
mailing list