Bug 99722 - KMail sometimes does a wrong encryption
Summary: KMail sometimes does a wrong encryption
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-18 17:54 UTC by rother_s
Modified: 2009-09-29 18:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rother_s 2005-02-18 17:54:28 UTC
Version:            (using KDE KDE 3.3.2)
Installed from:    Compiled From Sources
Compiler:          gcc-2.95.3 
OS:                Linux

Sometimes KMail/GnuPG encrypts a mail so well neither me or the <TO> could decrypt it.
If the receiver then wants to read the mail, he gets a message that 'the crypto module "openpgp"' couldn't decrypt the message
(in german: Verschlüsselte Nachricht (keine Entschlüsselung möglich)
Grund: Das Krypto-Modul "openpgp" konnte die Daten nicht entschlüsseln.
Fehler: Decryption failed
Nicht entschlüsselbare Daten nicht angezeigt.).
Those garbled mails don't seem to be signed, even if I say KMail to sign them.


The last time this happend, there were these error messages on the console:
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KLauncher): ERROR: SlavePool: No communication with slave.
QGpgME::QByteArrayDataProvider::read( 0x845bad0, 4096 )
QGpgME::QByteArrayDataProvider::read( 0x845bad0, 4096 )
QGpgME::QByteArrayDataProvider::write( 0xbfffddbc, 189 )
QGpgME::QByteArrayDataProvider::release()
QGpgME::QByteArrayDataProvider::release()
QGpgME::QByteArrayDataProvider::read( 0x845bad0, 4096 )
QGpgME::QByteArrayDataProvider::read( 0x845bad0, 4096 )
QGpgME::QByteArrayDataProvider::write( 0xbfffdedc, 2570 )
QGpgME::QByteArrayDataProvider::release()
QGpgME::QByteArrayDataProvider::release()

gpgme_op_decrypt_verify() returned this error code:  152

appending message to ~/dead.letter.tmp


Dunno whether all of this belongs to this failure or not.
A workaround seems to be to send it to the outbox first instead of sending it directly. IIRC that always worked (and if it goes wrong, you can get aware of it before sending a garbled mail).

This encryption failure isn't reproducable. The next mail I sent (even with the same text and subject) is encrypted correctly.

I'm using KMail 1.7.2, KDE 3.3.2, gpg 1.2.3 (I know that I should get a newer version), and a 2.4 kernel w/ gcc 2.95.3. My standard encryption method is 'inline OpenPGP'.
Comment 1 rother_s 2005-02-18 17:56:43 UTC
Sorry, this was my old (now invalid) mail address. New address is
Starkiller (at) gmx (dot) de
Comment 2 Jonas Vejlin 2009-04-04 10:13:44 UTC
do you still have the problem with recent version?
Comment 3 Martin Koller 2009-09-29 18:54:21 UTC
no response. Let's close it.