I am currently having a problem importing a signed key. One of my friends have
sent me my key signed by him so I need to import it to my keyring.
When I first received the email from him, the email showed that it had an attachment.
And since the email itself was encrypted with my PGP key, I thought that KMail should popup a message asking me to enter the passphrase to decrypt the mail (just like when sending) but this didn't happen. However, I got this message in the email body
Code:
Encrypted message (decryption not possible)
Reason: Crypto plug-in "openpgp" could not decrypt the data.
Error: Bad passphrase
Encrypted data not shown.
End of encrypted message
I tried saving the email itself as a normal file (right click on the email and save as), and used the command (in shell) 'gpg --decrypt filename' which seemed to work, asking me for the passphrase, entering it revealed the email contents.
My friend was telling me (in the email's plaintext) that my signed key is attached (encrypted as well), so I had to decrypt it first before importing it.
Code:
Content-Type: multipart/mixed; boundary="ZoaI/ZTpAVc4A5k6"
Content-Disposition: inline
--ZoaI/ZTpAVc4A5k6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Email's plaintext
--ZoaI/ZTpAVc4A5k6
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="assem.key.gpg"
Content-Transfer-Encoding: base64
wiCd01FzD8w+m5IDoCu5E2NmQjNceVNP4OJeF5Dcsq0zlFVWmwjGkxei3NiOe1Px6sMHt0mz
.....etc
--ZoaI/ZTpAVc4A5k6--
gpg: Signature made Wed 15 Dec 2004 08:01:11 PM CET using DSA key ID ****
gpg: Good signature from ****
The point is that I don't what to do now. Is my signed key that ciphertext *only*, and if so, should I save to a file or what? I tried saving the ciphertext as the filename assem.key.gpg and doing
Code:
onemanarmy@spark:~$ gpg --decrypt assem.key.gpg
gpg: no valid OpenPGP data found.
gpg: decrypt_message failed: eof
Any help would be highly appreciated.
Thanx