Unable to encrypt file with private/public key
Dhiraj.Haritwal at ap.sony.com
Fri Dec 19 11:36:02 CET 2014
Thanks for the clarification, Chris. I got confused with recipient switch. In general (Exchange), Recipient is the one to whom we are sending the data or who will receive data. In our case we are sending the data to partner hence I was using partner's public key to encrypt the file. After I used my private key, the warning has gone & the file is encrypted in .asc format.
One more query, partner is saying they are unable to decrypt this file with my private key which they have trusted & asking to encrypt this file with my private key & their public key (already trusted on my server). when I am suing both the key identifier's, giving some syntax error. Kindly suggest how can I do this.
From: Gnupg-users [mailto:gnupg-users-bounces at gnupg.org] On Behalf Of gnupgpacker
Sent: 19 December 2014 15:32
To: gnupg-users at gnupg.org
Subject: Unable to encrypt file with private/public key
-----BEGIN PGP SIGNED MESSAGE-----
You encrypt a message with recipient's public key, no password is required.
(Password is only known by recipient.)
You sign a message with your own private key, you must admit your private key's password.
> What I have
> learned so far from these threads is Signing always require a
> passphrase whereas encryption can be done without Passphrase & it requires a Key.
> Correct me if my understand is not correct.
> I was doing a mistake. I
> was trying to encrypt the file with Partner Key hence it was showing
> the warning. While sending the file to partner I have to use my own
> key which I have share with them to decrypt it.
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
Gnupg-users mailing list
Gnupg-users at gnupg.org
This email is confidential and intended only for the use of the individual or entity named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message. - This mail is sent via Sony Asia Pacific Mail Gateway..
More information about the Gnupg-users