#1119981 kmail: Email encryption no longer works in KMail on Debian 13 - Trixie

Package:
kmail
Source:
kmail
Description:
full featured graphical email client
Submitter:
Tom
Date:
2025-11-12 18:11:00 UTC
Severity:
normal
#1119981#5
Date:
2025-11-03 12:12:02 UTC
From:
To:
Dear Maintainer,

With gpg and kleopatra installed, when I go to:
Settings > Configure Kmail > Security > Encryption > GnuPG Settings ...

I receive the following error:
KPluginFactory could not create a KCModule instance from /usr/lib/x86_64-linux-
gnu/qt6/plugins/pim6/kcms/kleopatra/kleopatra_config_gnupgsystem.so

At first I thought a component might be missing, then did sudo apt install kde-
full, however, the error persists. I now wonder if it could be related with the
transition from Plasma- and QT v.5 to v.6?

NB. encryption worked flawlessly on Debian 12.

Best wishes and thanks,
Tom

#1119981#10
Date:
2025-11-04 09:45:31 UTC
From:
To:
Hi

Summary: You are correct. Use Kleopatra directly instead.

It seems it is correct that loading the GnuPG settings module in KMail doesn't
work.

But please note that the GnuPG settings module is just a component from
Kleopatra, so all the same settings can be reached using Kleopatra (and they
all configure the same GnuPG on your system).

It also seems like it is an upstream bug that has been fixed in later upstream
versions (by doing stuff quite much differently in the 25.04 and later series)

Sorry for the inconvenience.

/Sune

#1119981#15
Date:
2025-11-06 10:28:09 UTC
From:
To:
On Thursday, November 6, 2025 10:51:57 AM Central European Standard Time unheard_laziness402@simplelogin.com wrote:

It should be perfectly possible. It is at least not greyed out for me. And I
have sent and received encrypted emails

The upstream bugfix is more of a rewrite, so that's unlikely.

/Sune

#1119981#20
Date:
2025-11-06 09:51:57 UTC
From:
To:
Hello,

thank you for the reply.

Two questions if I may:

1)  Does this mean that email encryption from within KMail will not be
possible ( New mail > Encrypt is greyed out... )

2)  Will the upstream bugfix eventually arrive in Debian 13 Trixie?

Thank you.

#1119981#25
Date:
2025-11-11 12:38:59 UTC
From:
To:
Ah, I think I understand. The error I reported does not impact
functionality, it's basically cosmetic.

The reason I am unable to encrypt must then lay elsewhere. It's odd, I
can see my key in KMail but not assign KMail to use it.
Identities > Cryptography > S/MIME signing [and] encryption certificate
only show, "No key"

Could you point me to a good up-to-date guide on configuring Kleopatra
and KMail? Those I have found are outdated, and search engines point me
to GMail guides rather than KMail - wonderfully frustrating.

Best wishes and thanks,
Tom

#1119981#30
Date:
2025-11-12 18:02:33 UTC
From:
To:
Kindly disregard the last mail.

Inexplicably encrypt & sign suddenly works.

Cheers,
Tom