Summary: | Kmail 5.7.3 does not import joined gpg key | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | yves.caniou |
Component: | crypto | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arek_koz, kloecker |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
yves.caniou
2018-04-06 15:40:46 UTC
The bug is still present in kmail 5.10.1 using early-2019 KDE stack from mageia I cannot reproduce this. I get the message "The key has been successfully imported" after clicking on "Import key". Even for an encrypted message with attached OpenPGP key I get this message although the actual import fails (see bug 469383). Since your report says that "clicking on it does nothing", I assume that your problem has been fixed because in the current version the import is at least attempted and the result is reported. If the problem still persists for you with the latest version of KMail (currently 5.23.0 in KDE Gear release 23.04.0), then please run KMail with GpgME debugging like this `GPGME_DEBUG=8 kmail` in Konsole. Reproduced with latest KMail 5.23.0 (23.04.0). Upon clicking the 'Import key' link, the following line appears in the logs: org.kde.pim.kmail: Can't handle URL: QUrl("x-kmail:/bodypart/1/1.2/pgpkey?action=import") All GPGME logs appear before the message gets rendered, so I think it is not the cause. I also found that this only happens if the key is attached inside an encrypted (and signed) envelope, not as a flat top-level attachment (then it fails later as you said Ingo). Steps to reproduce: Export any key as .asc: $ gpg2 --export -a your@email.example > some-pubkey.asc Send an encrypted & signed e-mail to yourself, e.g.: $ kmail --attach some-pubkey.asc Open the received message in KMail. Hover and then click on 'Import key'. First a target URL appears, then nothing happens except the log message, respectively. You may be missing a plugin. Make sure that all kdepim addons are installed. Verified again in KMail 5.23.3 (23.04.3) and it works now, probably because of the fix for bug 469383. Thank you a lot! |