kmail pgp problem

Howard Coles Jr. dhcolesj at
Sat Dec 10 16:12:07 UTC 2005

On Saturday 10 December 2005 02:44, dave s wrote:
> Hello,
> I have been experimenting with Kgpg since It would be usefull if I could
> email sensitive information to work knowing it is secure.
> I have set up kgpg & can encrypt & decrypt AOK, I have configured kmail
> with keys for two accounts.
> When I try to send from one account to the other, I get the option to
> encrypt (good so far) I go for encryption.
> When I receive the email on the other account I get
> Encrypted message (decryption not possible)
> Reason: Crypto plug-in "openpgp" could not decrypt the data.
> Error: Bad passphrase
> I have tried reversing the order, sending from the other account, same
> problem. Any idea what am I missing ?

You didn't specify, and for others' sake I'll ask, have you exported your 
public keys and sent them to the other account?  You must have the public 
keys at the destination end for the email client to decrypt the message.

I'm sure you know how this works, but for others who may be watching it goes 
something like this:

1.  You create a key pair, a private key, and a public key.
2.  You export the public key, and send that to the other person who will 
receive encrypted email.
3.  The other person imports your public key into their email client setup.
4.  You create a message and encrypt it with your private key.
5.  They receive the message and decrypt the message with your public key.

This is very much a simplification, but that's basically how I understand it.  
Note, there are variations depending on what encryption system is in use, 
etc.  YMMV.  

However, I'm taking it that you did all that from the part about having setup 
the keys for the two accounts.  


See Ya'
Howard Coles Jr.
John 3:16!

Christian Books On-Line

More information about the kubuntu-users mailing list