How to decrypt a message only with a specific recipient?

MFPA expires2011 at ymail.com
Sat Aug 20 12:52:54 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi


On Friday 19 August 2011 at 2:24:44 PM, in
<mid:32295220.post at talk.nabble.com>, Acristal wrote:


> A small example: I have 2 secret key: Toto (toto)
> toto at toto.toto and Titi (titi) titi at titi.titi. Imagine
> they have the same passphrase.

> If someone encrypt a message using Toto public key,
> Titi will be able to decrypt the message because he has
> the same passphrase,

If "Titi" and "Toto" are both yourself. why is this an issue?

If "Titi" and "Toto" are not the same person but are sharing a secret
keyring, they should both change their passphrase and (ideally) stop
sharing a secret keyring.



> and gpg think that Titi is Toto.

GPG makes no guess at who is there, it only knows if the correct
passphrase was entered for the key it wants to use.



> I tried to use the option --recipient Titi,
> --local-user Titi, but it doesn't work. In all cases,
> Titi can decrypt Toto message.  I made some searchs,
> but i only found this 2 options.

- --local-user defines which key to sign with.
- --recipient specifies which key to encrypt to.


- --
Best regards

MFPA                    mailto:expires2011 at ymail.com

Raining cats and dogs is better than hailing taxis.
-----BEGIN PGP SIGNATURE-----

iQE7BAEBCgClBQJOT5ITnhSAAAAAAEAAVXNpZ25pbmdfa2V5X0lEIHNpZ25pbmdf
a2V5X0ZpbmdlcnByaW50IEAgIE1hc3Rlcl9rZXlfRmluZ2VycHJpbnQgQThBOTBC
OEVBRDBDNkU2OSBCQTIzOUI0NjgxRjFFRjk1MThFNkJENDY0NDdFQ0EwMyBAIEJB
MjM5QjQ2ODFGMUVGOTUxOEU2QkQ0NjQ0N0VDQTAzAAoJEKipC46tDG5ptO4D+QED
AhwXmnWlIVrhTH1PFKJ/ipAQozkMQgYsbsjRt187keDNui8QWdMhmXpoE7CaAvej
fEFC4Af1z3ecf8xK3Qx3BXUK/kua5l0utxHsQrTToPXC+PRgc3KIsLuISnT2CBte
CIETFC3fMPmGKXrrLcLBU/hnCgd33AUcnxbvzdFX
=Sjmf
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list