[kmail2] [Bug 392804] Kmail 5.7.3 does not import joined gpg key

Arusekk bugzilla_noreply at kde.org
Mon May 15 10:25:49 BST 2023


https://bugs.kde.org/show_bug.cgi?id=392804

Arusekk <arek_koz at o2.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
             Status|RESOLVED                    |REOPENED

--- Comment #3 from Arusekk <arek_koz at o2.pl> ---
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 at 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 are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list