Decryption failed: No secret key found (Please help !)
Steve Butler
sbutler at fchn.com
Thu Aug 18 15:54:09 CEST 2016
-----Original Message-----
From: Gnupg-users [mailto:gnupg-users-bounces at gnupg.org] On Behalf Of Hariharan Shweta
Thanks for the response. We have provided them our public key.
The key 31743B64 is not our public key. I'm confused as our vendor is able to decrypt our message but we are not able to do it.
Any advise is appreciated.
From: Gnupg-users [mailto:gnupg-users-bounces at gnupg.org] On Behalf Of Ben McGinnes
Sent: Thursday, August 18, 2016 2:40 PM
>
> We have setup the entire GnuPG software along with the keys in our
> Linux server. We are able to encrypt our message and send it to our
> vendor. even our vendor is able to decrypt it at their end. But we are
> not able to decrypt the message sent by the vendor to us.
Let's say that you public key has an ID of PKA and your vendor has public key ID of PKB.
When you encrypt your message to the vendor you encrypt with their PKB key ID. If you also want to decrypt that same message later for yourself you need to also encrypt it to PKA (encrypt to both key IDs).
When your vendor sends a message to you they need to encrypt to your public key ID of PKA. It looks like they encrypted the message to two public keys. However, neither one is yours. You need to contact the vendor and ensure they encrypt messages to you with your PKA key ID. [Substitute actual fingerprint values as needed.]
Give them the key IDs to which they did encrypt the message as that will help them figure out what they did wrong on their end.
On a couple of occasions I've had vendors send me their private key along with the public key. [Holding head in hands!] You may need to hold their hands to get this working right for you.
--Steve
--
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
More information about the Gnupg-users
mailing list