multiple recipients encryption and decryption in gpgsm
angel at pgp.16bits.net
Thu Nov 28 01:29:39 CET 2019
On 2019-11-26 at 17:51 +0000, Yves T via Gnupg-users wrote:
> A client uses gpgsm with multiple recipient options. The first option
> refers to his own certificate, the second option to the recipients
> The receiving end has trouble decrypting the file. Output mentions
> gpgsm: error decrypting session key: No secret key
> gpgsm: decrypting session key failed: No secret key
> The solution which was mentioned to us was to use local-user option
> but this does not seem to work.
> Is it possible in gpgsm to encrypt for different recipients and how
> can they decrypt. Can you please complete with an example?
> Thank you.
Sorry for the obvious but, does the receiving part have the private part
of the certificate that the sender thinks belong to them?
What you report seems like a perfect message with the receiver not
having their own keys imported.
More information about the Gnupg-users