Kmail S/MIME plugin (/usr/lib/crypto/gpgme-smime.so) doesn't work with default gpgme (0.3.14) an upgrade to (0.3.15) is required. Reproducible: Always Steps to Reproduce: 1.Launch kmail 2.Settigns -> Configure Kmail -> Security -> Crypto Plugins 3.Add /usr/lib/crypto/gpgme-smime.so 4.Restart kmail Actual Results: Kmail complains about the plugin being outdated Expected Results:
KDE 3.2 Kmail 1.6
Can this bug be closed, version 0.4.0 of gpgme is available now?
According to http://kmail.kde.org/kmail-pgpmime-howto.html, gpgme versions (>= 0.3.15; < 0.4.0) can be used; alas, 0.4.0 is not adequate.
Works with gpgme 0.3.16 ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-0.3.16.tar.gz
Doesn't work with 0.3.16 here... ******************************************************** Error: Plug-in "gpgme-smime.so" initialization unsuccessful. library: /usr/lib/cryptplug/gpgme-smime.so version: 0.3.16 Plug-in is out-dated or not installed properly. ********************************************************
Try reemerging cryptplug 0.3.15 or upgrading cryptplug to 0.3.16
Running 0.3.16 of both: * app-crypt/cryptplug Latest version available: 0.3.16 Latest version installed: 0.3.16 * app-crypt/gpgme Latest version available: 0.4.0 Latest version installed: 0.3.16 Still get the previously posted message when starting KMail.
Incredible :-) I plunged in, copied the the 0.3.14.ebuild to a 0.3.16.ebuild, made a digest file, and emerged. KMail doesn't seem to complain!
That's exactly what I did - KMail recognises the upgrade, but still gives the error on startup.
The iformation on http://kmail.kde.org/kmail-pgpmime-howto.html seems to be outdated. http://www.gnupg.org/aegypten/development.en.html says instead: Note: The KDE 3.1 series requires GpgME 0.3 generation. GpgME >= 0.4.0 will not form a working
The iformation on http://kmail.kde.org/kmail-pgpmime-howto.html seems to be outdated. http://www.gnupg.org/aegypten/development.en.html says instead: Note: The KDE 3.1 series requires GpgME 0.3 generation. GpgME >= 0.4.0 will not form a working Ägypten in conjunction with KDE 3.1. However, KDE 3.2 will require the GpgME 0.4 generation. I'll ping the KMail devs and ask them to update the former docu.
so, what should we do from a Gentoo standpoint?
I didn't receive any repsonse to my mail to the KMail mailinglist. It seems like the guys are pretty busy currently. https://mail.kde.org/pipermail/kmail-devel/2004-May/005424.html
The configure script for KDEPIM 3.3 checks for a GpgME >= 0.4.5 (it was updated from 0.4.4 a few days a go, see [1]). If that one's not present, a local copy is compiled in statically. [1] http://article.gmane.org/gmane.comp.kde.cvs/188784
This is for kdepim-3.3 Even if you have GpgME >= 0.4.5 installed it uses the local copy. Thats because configure checks "gpgme-config", and with Gentoo this is a 0.3.x Version. The 0.4.x versions use gpgme4-config. To work around this I added export GPGME_CONFIG=/usr/bin/gpgme4-config in the src_compile() section, so the configure-script now finds the correct gpgme version.
Danger. in bug #57193 I'm aiming to remove all gpgme bug 0.3.14-r1 for legacy stuff and 0.9.0-r1. On the plus side gpgme-0.9.0 will install in the standard locations rather than the currents hacks that are done for gpgme-0.4. gpg-0.3.14-r1 now has the hacks since its the legacy one. From a gentoo standpoint. Aiming on making 0.9.0 stable as soon as dependancies are know to work with it. Please try 0.9.0.
everything works with latest unstable in portage again i know because it was broken in my kmail for the longest time, but working with pfeifer and dragonheart and everything is good now :)
*** This bug has been marked as a duplicate of 62041 ***
*** Bug 63873 has been marked as a duplicate of this bug. ***
I wonder whether decrypting *inline* PGP messages works in kmail. I managed to get OpenPGP/MIME working, encrypting and decrypting, but for decrypting inline stuff, it seems OpenPGP plugin isn't used, but kmail internal routines? It will always ask for my password but in the end just show the encrypted mail. With OpenPGP/MIME pinentry asks me one time and then will en/decrypt automatically until max pasword caching time is reached, so it works as expected. I haven't tried SMIME though. I am using latest unstable GnuPG 1.9.10 and gpgme 1.00-r1 and kdepim-3.3.0-r1. Should I open a seperate bug? Another reported this and it was considered as duplicate...
I'm getting kmail crashing with gnupg-1.9 bug #66190 - gpgme-1.0 problems In the welcome to Kmail 1.7 (click on local folders) - Plugin support is discontinued I'm a little out of time till late next week
Just updated to kdepim 3.3.1, but kmail still isn't able to decrypt inline-pgp messages...