[Kde-pim] GpgME++ crashes on signature creation

Diego Casella ([Po]lentino) polentino911 at gmail.com
Fri Jul 23 09:04:20 BST 2010


Hi guys,
in my GSoC project I'm trying to create a detached, ascii armored signature
of a file using gpgme++. So I've done the following steps:
* subclassed PassphraseProvider in order to show a dialog to enter the
password, and assigned to the context with setPassphraseProvider();
* called startKeyListing, and loop for the desired secret key;
* save the key, then call endKeyListing;
* add the key with addSigningKey() function;
* call startSigning().
These steps appear reasonable to me, however I must be wrong somewhere
because the app keep crashing on startSigning() , and the backtrace
complains on line 85 of callbacks.cpp (when free'ing the passphrase).
Does anybody know what I'm missing, and point me in the right direction?
Cheers

Diego.

-- 
H: Who is Watson without Sherlock Holmes?
G: Watson was a genius in his own right.
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list