Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42081 - kmail S/MIME plugin doesn't work with default gpgme version (0.3.14)
Summary: kmail S/MIME plugin doesn't work with default gpgme version (0.3.14)
Status: RESOLVED DUPLICATE of bug 62041
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 63873 (view as bug list)
Depends on: 57193
Blocks:
  Show dependency tree
 
Reported: 2004-02-18 15:37 UTC by Primoz
Modified: 2005-07-17 13:06 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Primoz 2004-02-18 15:37:39 UTC
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:
Comment 1 Primoz 2004-02-21 05:09:26 UTC
KDE 3.2
Kmail 1.6
Comment 2 Dominik Stadler (RETIRED) gentoo-dev 2004-02-21 05:50:53 UTC
Can this bug be closed, version 0.4.0 of gpgme is available now?
Comment 3 Jens Lohmann-Hansen 2004-02-21 08:30:04 UTC
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.
Comment 4 Primoz 2004-02-21 10:18:19 UTC
Works with gpgme 0.3.16


ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-0.3.16.tar.gz

Comment 5 Greg Bolshaw 2004-02-22 08:58:37 UTC
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.
********************************************************
Comment 6 Primoz 2004-02-22 09:02:54 UTC
Try reemerging cryptplug 0.3.15 or upgrading cryptplug to 0.3.16
Comment 7 Greg Bolshaw 2004-02-22 10:19:40 UTC
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.
Comment 8 Jens Lohmann-Hansen 2004-02-28 01:47:44 UTC
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!
Comment 9 Greg Bolshaw 2004-02-28 03:00:08 UTC
That's exactly what I did - KMail recognises the upgrade, but still gives the error on startup.
Comment 10 Malte S. Stretz 2004-05-10 15:03:58 UTC
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 
Comment 11 Malte S. Stretz 2004-05-10 15:03:58 UTC
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.
Comment 12 Caleb Tennis (RETIRED) gentoo-dev 2004-05-18 16:50:25 UTC
so, what should we do from a Gentoo standpoint?
Comment 13 Malte S. Stretz 2004-05-19 09:37:22 UTC
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
Comment 14 Malte S. Stretz 2004-06-13 06:23:29 UTC
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
Comment 15 Jörg Schulz 2004-07-29 05:05:52 UTC
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.
Comment 16 Daniel Black (RETIRED) gentoo-dev 2004-08-08 13:34:31 UTC
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.
Comment 17 SpanKY gentoo-dev 2004-08-14 20:39:07 UTC
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 :)
Comment 18 Daniel Black (RETIRED) gentoo-dev 2004-09-03 02:33:57 UTC

*** This bug has been marked as a duplicate of 62041 ***
Comment 19 Caleb Tennis (RETIRED) gentoo-dev 2004-09-13 05:48:14 UTC
*** Bug 63873 has been marked as a duplicate of this bug. ***
Comment 20 Prakash Punnoor 2004-10-07 04:42:04 UTC
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...
Comment 21 Daniel Black (RETIRED) gentoo-dev 2004-10-07 08:13:14 UTC
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
Comment 22 Prakash Punnoor 2004-10-13 07:08:03 UTC
Just updated to kdepim 3.3.1, but kmail still isn't able to decrypt inline-pgp messages...