Bug#1119981: kmail: Email encryption no longer works in KMail on Debian 13 - Trixie
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
On Monday, November 3, 2025 1:12:02 PM Central European Standard Time Tom
wrote:
> Package: kmail
> Version: 4:24.12.3-1
> Severity: important
> X-Debbugs-Cc: unheard_laziness402@simplelogin.com
>
> 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
>
>
> -- System Information:
> Debian Release: 13.1
> APT prefers stable-updates
> APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
> 'stable') Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 6.12.48+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
> LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages kmail depends on:
> ii akonadi-server
> 4:24.12.3-1 ii kdepim-runtime
> 4:24.12.3-1 ii kio6
> 6.13.0-6 ii libakonadisearch-bin
> 4:24.12.3-1 ii libakonadisearch-plugins
> 4:24.12.3-1 ii libc6
> 2.41-12 ii libgcc-s1
> 14.2.0-19 ii libgpg-error0
> 1.51-4 ii libgpgmepp6t64
> 1.24.2-3 ii libgrantleetheme-plugins
> 24.12.3-1 ii libkf6bookmarks6
> 6.13.0-1 ii libkf6calendarcore6
> 6.13.0-1 ii libkf6codecs6
> 6.13.0-1 ii libkf6colorscheme6
> 6.13.0-1 ii libkf6completion6
> 6.13.0-1 ii libkf6configcore6
> 6.13.0-2 ii libkf6configgui6
> 6.13.0-2 ii libkf6configwidgets6
> 6.13.0-1 ii libkf6contacts6
> 6.13.0-1 ii libkf6coreaddons6
> 6.13.0-1 ii libkf6crash6
> 6.13.0-1 ii libkf6dbusaddons6
> 6.13.0-1 ii libkf6guiaddons6
> 6.13.0-1 ii libkf6i18n6
> 6.13.0-1 ii libkf6iconthemes6
> 6.13.0-2 ii libkf6iconwidgets6
> 6.13.0-2 ii libkf6itemmodels6
> 6.13.0-1 ii libkf6itemviews6
> 6.13.0-1 ii libkf6jobwidgets6
> 6.13.0-1 ii libkf6kcmutils6
> 6.13.0-2 ii libkf6kcmutilscore6
> 6.13.0-2 ii libkf6kiocore6
> 6.13.0-6 ii libkf6kiofilewidgets6
> 6.13.0-6 ii libkf6kiogui6
> 6.13.0-6 ii libkf6kiowidgets6
> 6.13.0-6 ii libkf6notifications6
> 6.13.0-1 ii libkf6notifyconfig6
> 6.13.0-1 ii libkf6parts6
> 6.13.0-1 ii libkf6service-bin
> 6.13.0-1 ii libkf6service6
> 6.13.0-1 ii libkf6sonnetui6
> 6.13.0-1 ii libkf6statusnotifieritem6
> 6.13.0-1 ii libkf6textautocorrectioncore1
> 1.5.4-4 ii libkf6textautocorrectionwidgets1
> 1.5.4-4 ii libkf6textcustomeditor1
> 1.5.4-4 ii libkf6textutils1
> 1.5.4-4 ii libkf6userfeedbackcore6
> 6.13.0-1 ii libkf6userfeedbackwidgets6
> 6.13.0-1 ii libkf6widgetsaddons6
> 6.13.0-1 ii libkf6windowsystem6
> 6.13.0-2 ii libkf6xmlgui6
> 6.13.0-1 ii libkpim6akonadiagentbase6
> [libkpim6akonadiagentbase6-24.12] 4:24.12.3-1 ii
> libkpim6akonadicontactcore6 [libkpim6akonadicontactcore6-24.1 4:24.12.3-1
> 2]
> ii libkpim6akonadicontactwidgets6 [libkpim6akonadicontactwidgets
> 4:24.12.3-1 6-24.12]
> ii libkpim6akonadicore6 [libkpim6akonadicore6-24.12]
> 4:24.12.3-1 ii libkpim6akonadimime6 [libkpim6akonadimime6-24.12]
> 4:24.12.3-1 ii libkpim6akonadisearchdebug6
> [libkpim6akonadisearchdebug6-24.1 4:24.12.3-1 2]
> ii libkpim6akonadisearchpim6 [libkpim6akonadisearchpim6-24.12]
> 4:24.12.3-1 ii libkpim6akonadiwidgets6 [libkpim6akonadiwidgets6-24.12]
> 4:24.12.3-1 ii libkpim6calendarutils6 [libkpim6calendarutils6-24.12]
> 4:24.12.3-1 ii libkpim6gravatar6 [libkpim6gravatar6-24.12]
> 4:24.12.3-1 ii libkpim6identitymanagementcore6
> [libkpim6identitymanagementco 24.12.3-1 re6-24.12]
> ii libkpim6identitymanagementwidgets6 [libkpim6identitymanagemen 24.12.3-1
> twidgets6-24.12]
> ii libkpim6kontactinterface6 [libkpim6kontactinterface6-24.12] 24.12.3-1
> ii libkpim6ksievecore6 [libkpim6ksievecore6-24.12]
> 4:24.12.3-1 ii libkpim6ksieveui6 [libkpim6ksieveui6-24.12]
> 4:24.12.3-1 ii libkpim6ldapcore6 [libkpim6ldapcore6-24.12]
> 24.12.3-1 ii libkpim6ldapwidgets6 [libkpim6ldapwidgets6-24.12]
> 24.12.3-1 ii libkpim6libkdepim6 [libkpim6libkdepim6-24.12]
> 4:24.12.3-1 ii libkpim6libkleo6 [libkpim6libkleo6-24.12]
> 4:24.12.3-3 ii libkpim6mailcommon6 [libkpim6mailcommon6-24.12]
> 4:24.12.3-1 ii libkpim6mailtransport6
> [libkpim6mailtransport6-24.12] 24.12.3-1 ii
> libkpim6messagecomposer6 [libkpim6messagecomposer6-24.12] 4:24.12.3-4
> ii libkpim6messagecore6 [libkpim6messagecore6-24.12]
> 4:24.12.3-4 ii libkpim6messagelist6 [libkpim6messagelist6-24.12]
> 4:24.12.3-4 ii libkpim6messageviewer6 [libkpim6messageviewer6-24.12]
> 4:24.12.3-4 ii libkpim6mime6 [libkpim6mime6-24.12]
> 24.12.3-1 ii libkpim6mimetreeparser6
> [libkpim6mimetreeparser6-24.12] 4:24.12.3-4 ii libkpim6pimcommon6
> [libkpim6pimcommon6-24.12] 4:24.12.3-1 ii
> libkpim6pimcommonakonadi6 [libkpim6pimcommonakonadi6-24.12] 4:24.12.3-1
> ii libkpim6templateparser6 [libkpim6templateparser6-24.12]
> 4:24.12.3-4 ii libkpim6textedit6 [libkpim6textedit6-24.12]
> 24.12.3-1 ii libkpim6tnef6 [libkpim6tnef6-24.12]
> 4:24.12.3-1 ii libkpim6webengineviewer6
> [libkpim6webengineviewer6-24.12] 4:24.12.3-4 ii libqgpgmeqt6-15
> 1.24.2-3 ii libqt6core6t64
> 6.8.2+dfsg-9 ii libqt6dbus6
> 6.8.2+dfsg-9 ii libqt6gui6
> 6.8.2+dfsg-9 ii
> libqt6keychain1 0.15.0-1 ii
> libqt6network6 6.8.2+dfsg-9
> ii libqt6webenginecore6
> 6.8.2+dfsg-4 ii libqt6webenginecore6-bin
> 6.8.2+dfsg-4 ii libqt6widgets6
> 6.8.2+dfsg-9 ii libqt6xml6
> 6.8.2+dfsg-9 ii libstdc++6
> 14.2.0-19
>
> Versions of packages kmail recommends:
> ii accountwizard 4:24.12.3-1
> ii gnupg 2.4.7-21
> ii kdepim-addons 24.12.3-1
> ii kdepim-themeeditors 4:24.12.3-1
> ii mbox-importer 4:24.12.3-1
> ii pim-data-exporter 4:24.12.3-1
> ii pim-sieve-editor 4:24.12.3-1
> ii pinentry-gnome3 [pinentry-x11] 1.3.1-2
>
> Versions of packages kmail suggests:
> pn clamav <none>
> ii kaddressbook 4:24.12.3-1
> ii kleopatra 4:24.12.3-1
> pn procmail <none>
> pn spamassassin | bogofilter | spambayes | bsfilter | crm114 <none>
>
> -- no debconf information
--
I didn’t stop pretending when I became an adult, it’s just that when I was a
kid I was pretending that I fit into the rules and structures of this world.
And now that I’m an adult, I pretend that those rules and structures exist.
- zefrank
Reply to: