Hello, I am able to encrypt my messages using GPG, but i am not able to decrypt them. I have only 1 secret key in my keyring. I also tried passing the keyid with the decrypt command. It still says it cant find my secret key. What am I doing wrong?
/tmp$ gpg -K /home/prash/.gnupg/secring.gpg ------------------------------ sec 1024D/E4B6F212 2005-07-01 uid Prashanth Mohan <[EMAIL PROTECTED]> uid Prashanth Mohan <[EMAIL PROTECTED]> uid Prashanth Mohan <[EMAIL PROTECTED]> /tmp$ cat > abc << EOF > Hello... This is a test for decrypting encrypted text using GPG > EOF /tmp$ gpg -ev abc You did not specify a user ID. (you may use "-r") Current recipients: Enter the user ID. End with an empty line: Prashanth gpg: using classic trust model gpg: using subkey 219D771B instead of primary key E4B6F212 gpg: This key belongs to us Current recipients: 2048g/219D771B 2006-02-02 "Prashanth Mohan <[EMAIL PROTECTED]>" Enter the user ID. End with an empty line: gpg: reading from `abc' gpg: writing to `abc.gpg' gpg: ELG-E/AES256 encrypted for: "219D771B Prashanth Mohan <[EMAIL PROTECTED]>" /tmp$ gpg -vd abc.gpg gpg: public key is 219D771B gpg: using subkey 219D771B instead of primary key E4B6F212 gpg: encrypted with 2048-bit ELG-E key, ID 219D771B, created 2006-02-02 "Prashanth Mohan <[EMAIL PROTECTED]>" gpg: decryption failed: secret key not available Thank You, -- Prashanth Mohan http://prashblog.com _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users