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
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
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
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
>
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