Bug 155404 - Kleopatra: Creating S/MIME Signature raises GPGME error
Summary: Kleopatra: Creating S/MIME Signature raises GPGME error
Status: VERIFIED WORKSFORME
Alias: None
Product: kleopatra
Classification: Applications
Component: Assuan UI Server (show other bugs)
Version: outdated (old bug dump)
Platform: Compiled Sources Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Frank Osterfeld
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-10 16:11 UTC by Jan-Oliver Wagner
Modified: 2008-10-23 17:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
logfile for Klepopatra crash when doing a smime signature on WinXP (80.92 KB, text/plain)
2008-01-23 22:17 UTC, Jan-Oliver Wagner
Details

Note You need to log in before you can comment on or make changes to this bug.
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.