Bug 155404

Summary: Kleopatra: Creating S/MIME Signature raises GPGME error
Product: [Applications] kleopatra Reporter: Jan-Oliver Wagner <jan-oliver.wagner>
Component: Assuan UI ServerAssignee: Frank Osterfeld <osterfeld>
Status: VERIFIED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: outdated (old bug dump)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: logfile for Klepopatra crash when doing a smime signature on WinXP

Description Jan-Oliver Wagner 2008-01-10 16:11:40 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                MS Windows

Creating a S/MIME signed E-Mail via GpgOL
make Kleopatra raise a GPGME error
after all other user interaction is completed.

Message #0
  GPGME: Can't start sign job: Allgemeiner Fehler (117440513)

In fact a signed email is even sent, but the error
message might hint at some additional problems
or is at least confusing.

However, the sent email is broken anyway and looks like this:

This is a multi-part message in MIME format.

--=-=BOKWkaPapadFoa=-=
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

test

--=-=BOKWkaPapadFoa=-=
Content-Transfer-Encoding: 7bit
Content-Type: application/pkcs7-signature



--=-=BOKWkaPapadFoa=-=--

As you can see, the signature itself is missing.


Also, the copy of the email in the sent-folder
is totally broken. Maybe this is a follow-up
of the gpgme error?
Comment 1 Jan-Oliver Wagner 2008-01-14 22:43:52 UTC
Since 20080111 the error changed to this beaviour:

After confirming the signing certificate
an error dialog appears "Unterschrifterstellungsfehler (Unknown system error)".

At this point, Kleopatra passed away already, so I can not provide
the log output in its corresponding DOS Box.

Now, nothing is sent anymore.
Comment 2 Marc Mutz 2008-01-22 17:02:43 UTC
Unknown System Error might be a problem with GNUPGHOME being invalid. I just got one one these.
Comment 3 Frank Osterfeld 2008-01-23 17:42:47 UTC
"Kleopatra passed away already"?

Does that mean it crashes? Can you try with KLEOPATRA_LOGDIR set and provide $KLEOPATRA_LOGDIR/kleo-log (delete it and then perform only this single operation to avoid noise).
Comment 4 Jan-Oliver Wagner 2008-01-23 22:15:40 UTC
Easier said than done ;-)

You can not delete the file as long as kleopatra wants to
add to it.

I made a copy of the file, performed the crashing smime signing
operation and removed the part of the copy from the then current
logfile.

Will attach it to this bug report.
Comment 5 Jan-Oliver Wagner 2008-01-23 22:17:04 UTC
Created attachment 23230 [details]
logfile for Klepopatra crash when doing a smime signature on WinXP
Comment 6 Frank Osterfeld 2008-02-07 16:21:10 UTC
Is this identical with i08?
Comment 7 Jan-Oliver Wagner 2008-02-14 12:37:25 UTC
With latest releases I can confirm I can create SMIME signatures.
Thus resolving this issue.