multiple recipients encryption and decryption in gpgsm

2019-11-28 Thread Yves T via Gnupg-users
Dear Werner, Thank you for your prompt reaction. I did a test an despite the error I see indeed the file is correctly decrypted. So the conclusion is that when a file is encrypted with two recipients - when the file is received by the second recipient it is sufficient that he has the correspond

Re: multiple recipients encryption and decryption in gpgsm

2019-11-28 Thread Werner Koch via Gnupg-users
On Thu, 28 Nov 2019 10:57, Yves T said: > 1. is B able to decrypt the file if he has not the secret key from A Yes. As long as the secret key (aka private key) is available Quick test: $ fortune | gpgsm -ev -r 0xE297583E -r 0xCA89261C >/tmp/testenc The first -r ist for s/n 1A02 and the

multiple recipients encryption and decryption in gpgsm

2019-11-28 Thread Yves T via Gnupg-users
Sender A: To recapitulate : sender A uses gpgsm with 2 recipients: gpgsm --recipient --recipient --encrypt file.txt > encryptedfile.gpg Receiver B: The receiving end B has his own correct secret key available but not the secret key from B and gets an error when decrypting the file: gpgsm: DB

Re: multiple recipients encryption and decryption in gpgsm

2019-11-27 Thread Ángel
On 2019-11-26 at 17:51 +, Yves T via Gnupg-users wrote: > Dears, > > A client uses gpgsm with multiple recipient options. The first option > refers to his own certificate, the second option to the recipients > certificate. > The receiving end has trouble decrypting the file. Output mentions >

multiple recipients encryption and decryption in gpgsm

2019-11-26 Thread Yves T via Gnupg-users
Dears, A client uses gpgsm with multiple recipient options. The first option refers to his own certificate, the second option to the recipients certificate. The receiving end has trouble decrypting the file. Output mentions gpgsm: error decrypting session key: No secret key gpgsm: decrypting sess

Re: Multiple recipients encryption

2007-10-29 Thread Sven Radde
Hi! Noiano schrieb: > I was wondering about how gnupg works when I encrypt a message for > multiple recipients. As long as I know public-key encryption works as > described in this image > http://upload.wikimedia.org/wikipedia/commons/f/f9/Public_key_encryption.svg. This image is a simplified vie

Re: Multiple recipients encryption

2007-10-26 Thread Doug Barton
On Fri, 26 Oct 2007, Noiano wrote: > Hello everybody > I was wondering about how gnupg works when I encrypt a message for > multiple recipients. Imagine that "the encryption" of your message is a giant fence built around it. In the fence is a gate, and the gate is secured by a chain. If you enc

Re: Multiple recipients encryption

2007-10-26 Thread Adam Schreiber
On 10/26/07, Noiano <[EMAIL PROTECTED]> wrote: > I was wondering about how gnupg works when I encrypt a message for > multiple recipients. As long as I know public-key encryption works as > described in this image > http://upload.wikimedia.org/wikipedia/commons/f/f9/Public_key_encryption.svg. > But

Multiple recipients encryption

2007-10-26 Thread Noiano
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello everybody I was wondering about how gnupg works when I encrypt a message for multiple recipients. As long as I know public-key encryption works as described in this image http://upload.wikimedia.org/wikipedia/commons/f/f9/Public_key_encryption.