Hi,

I am using gpg (GnuPG) 1.4.7 & trying to encrypt a file with private key whose 
public key I have shared to the partner who have to decrypt this file. I tried 
with --armour -symmetric switches which requires a passphrase to encrypt but I 
have requirement to encrypt it through private/public key. If I am using 
-encrypt --hidden-recipient option showing below error. I am able to see the 
public key while running -list-keys option. I am running it on AIX 6.1 under 
root user.

gpg: --try-all-secrets: skipped: public key not found
gpg: /tmp/test/INSONY01122014001.CSV: encryption failed: public key not found

Kindly suggest what could be the problem & how to resolve it.

Regards,
Dhiraj


________________________________

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..
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to