Problems with an imported private key

Hello,

we have created a pair of keys Thunderbird/Enigmail.

The private key has been imported into the Ciphermail gateway on the client side, the public key into our Cipermail gateway.
When sending an email to the address the keys have been created for, our gateways sends a notification about a successful encryption.
But the gateway on the other side isn't able to decrypt the message:

03 Sep 2014 10:22:14 | INFO incoming; MailID: 4feb793b-7f4d-4599-87bb-db6545814423; Recipients: [input(a)xxxx-und-partner.de]; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Subject: Test e; Message-ID: <zarafa.5406cfad.4b43.1434fa223d3bc646(a)zarafaserver.in-put.de>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]
03 Sep 2014 10:22:14 | INFO Subject filter is disabled for the sender; MailID: 4feb793b-7f4d-4599-87bb-db6545814423; Recipients: [input(a)xxxx-und-partner.de] (mitm.application.djigzo.james.mailets.Default) [Spool Thread #1]
03 Sep 2014 10:22:14 | INFO To internal recipient(s); MailID: 4feb793b-7f4d-4599-87bb-db6545814423; Recipients: [input(a)xxxx-und-partner.de] (mitm.application.djigzo.james.mailets.Default) [Spool Thread #1]
03 Sep 2014 10:22:14 | DEBUG next PGP object. level: 0, Type: class org.bouncycastle.openpgp.PGPEncryptedDataList (mitm.common.security.openpgp.PGPHandler) [Spool Thread #1]
03 Sep 2014 10:22:14 | DEBUG PGPPublicKeyEncryptedData with key id 4909844165066620525 (mitm.common.security.openpgp.PGPHandler) [Spool Thread #1]
03 Sep 2014 10:22:14 | WARN PGP decryption key not found; Recipient Key IDs: [442345413151FE6D]; Message-ID: <zarafa.5406cfad.4b43.1434fa223d3bc646(a)zarafaserver.in-put.de> (mitm.common.security.openpgp.PGPMIMEHandler) [Spool Thread #1]
03 Sep 2014 10:22:14 | INFO Message handling is finished. Sending to final recipient(s); MailID: 4feb793b-7f4d-4599-87bb-db6545814423; Recipients: [input(a)xxxx-und-partner.de]; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Subject: Test e; Message-ID: <zarafa.5406cfad.4b43.1434fa223d3bc646(a)zarafaserver.in-put.de>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]

To test our configuration we created another pair of keys, this time on the Ciphermail gateway of the client, with identical settings for the user, except for the email address. With this account it is possible to decrypt an email.

Therefore we assume, that there is a problem with the handling of the imported private key.

Thanks for any hints and suggestions,

Stefan

details_public_key.png

details_private_key.png

The warning message says:

"WARN PGP decryption key not found; Recipient Key IDs: [442345413151FE6D];"

so a PGP key with private key with key id of 442345413151FE6D cannot be
found on the receiving gateway. The picture from your email named
"details_private_key.png" shows that there is no private key:

"Private key Available: false"

I'm note sure whether the image "details_private_key.png" is a
screenshot of the receiving server but if so it seems the private key
was not imported only the public key. Now it could be that there was
some error on import but it might also be that only the public key ring
was exported from Thunderbird and not the private key ring.

Kind regards,

Martijn Brinkers

ยทยทยท

On 09/03/2014 04:29 PM, Stefan Michael Guenther wrote:

Hello,

we have created a pair of keys Thunderbird/Enigmail.

The private key has been imported into the Ciphermail gateway on the client side, the public key into our Cipermail gateway.
When sending an email to the address the keys have been created for, our gateways sends a notification about a successful encryption.
But the gateway on the other side isn't able to decrypt the message:

03 Sep 2014 10:22:14 | INFO incoming; MailID: 4feb793b-7f4d-4599-87bb-db6545814423; Recipients: [input(a)xxxx-und-partner.de]; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Subject: Test e; Message-ID: <zarafa.5406cfad.4b43.1434fa223d3bc646(a)zarafaserver.in-put.de>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]
03 Sep 2014 10:22:14 | INFO Subject filter is disabled for the sender; MailID: 4feb793b-7f4d-4599-87bb-db6545814423; Recipients: [input(a)xxxx-und-partner.de] (mitm.application.djigzo.james.mailets.Default) [Spool Thread #1]
03 Sep 2014 10:22:14 | INFO To internal recipient(s); MailID: 4feb793b-7f4d-4599-87bb-db6545814423; Recipients: [input(a)xxxx-und-partner.de] (mitm.application.djigzo.james.mailets.Default) [Spool Thread #1]
03 Sep 2014 10:22:14 | DEBUG next PGP object. level: 0, Type: class org.bouncycastle.openpgp.PGPEncryptedDataList (mitm.common.security.openpgp.PGPHandler) [Spool Thread #1]
03 Sep 2014 10:22:14 | DEBUG PGPPublicKeyEncryptedData with key id 4909844165066620525 (mitm.common.security.openpgp.PGPHandler) [Spool Thread #1]
03 Sep 2014 10:22:14 | WARN PGP decryption key not found; Recipient Key IDs: [442345413151FE6D]; Message-ID: <zarafa.5406cfad.4b43.1434fa223d3bc646(a)zarafaserver.in-put.de> (mitm.common.security.openpgp.PGPMIMEHandler) [Spool Thread #1]
03 Sep 2014 10:22:14 | INFO Message handling is finished. Sending to final recipient(s); MailID: 4feb793b-7f4d-4599-87bb-db6545814423; Recipients: [input(a)xxxx-und-partner.de]; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Subject: Test e; Message-ID: <zarafa.5406cfad.4b43.1434fa223d3bc646(a)zarafaserver.in-put.de>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]

To test our configuration we created another pair of keys, this time on the Ciphermail gateway of the client, with identical settings for the user, except for the email address. With this account it is possible to decrypt an email.

Therefore we assume, that there is a problem with the handling of the imported private key.

--
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

Twitter: http://twitter.com/CipherMail