Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800689 - kde-apps/kmail: error in cryptographic signatures affixed
Summary: kde-apps/kmail: error in cryptographic signatures affixed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard: fixed in 21.12.3
Keywords: UPSTREAM
Depends on: kde-gear-21.12.3-stable
Blocks:
  Show dependency tree
 
Reported: 2021-07-05 20:34 UTC by David C. Bryant
Modified: 2022-04-10 05:50 UTC (History)
3 users (show)

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


Attachments
Raw email message composed under Manjaro (Manjaro.mbox,7.61 KB, application/mbox)
2021-07-05 20:55 UTC, David C. Bryant
Details
Raw email composed under KDE Neon (KDE Neon.mbox,5.91 KB, application/mbox)
2021-07-05 20:55 UTC, David C. Bryant
Details
Raw email message composed under Tumbleweed (Tumbleweed.mbox,6.62 KB, application/mbox)
2021-07-05 20:57 UTC, David C. Bryant
Details
Raw email message composed under Gentoo (KMail 5.17.3) (Gentoo A.mbox,7.94 KB, application/mbox)
2021-07-05 20:58 UTC, David C. Bryant
Details
Raw email message composed under Gentoo (KMail 5.17.4 alpha) (Gentoo B.mbox,1.91 KB, application/mbox)
2021-07-05 21:01 UTC, David C. Bryant
Details
Message via Gentoo, both signed and encrypted. (kmailgentooa.png,82.50 KB, image/png)
2021-07-06 12:31 UTC, David C. Bryant
Details
Message sent via KMail under GEntoo, both signed and encrypted. (kmailgentoob.png,122.50 KB, image/png)
2021-07-06 12:42 UTC, David C. Bryant
Details
picture from freshly-compiled KMail from KDE sources. (kmailgentooc.png,25.46 KB, image/png)
2021-07-16 17:09 UTC, David C. Bryant
Details
Raw email message composed under freshly-compiled version of KMail (1626453727840.R855.localhost:2,S,6.92 KB, text/plain)
2021-07-16 17:13 UTC, David C. Bryant
Details
Message from D. Bryant to Sandro Knauss (kmailgentood.png,190.53 KB, image/png)
2021-07-16 23:12 UTC, David C. Bryant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David C. Bryant 2021-07-05 20:34:06 UTC
This problem first showed up on November 26, 2020. I have many saved copies of signed email messages -- good signatures on Nov 25 and prior, bad ones on Nov 26 and after. 

I filed a bug report upstream at KDE, about four or five months ago. They told me it had already been patched, and that I should just wait for the patch to show up in Gentoo. I'm tired of waiting.

The bug was associated with "protected headers":
Content-Type: text/plain; charset="us-ascii"; protected-headers="v1"

The last bit of that header record added by KMail's composer was not being included in the big ball of wax fed into the cryptographic signature algorithm -- that's what the guys at KDE told me, anyway. Or something like that.

I have tested this on several different Linux distros.

Manjaro (KMail 5.17.4) Not a problem
KDE Neon (KMail 5.17.4) Not a problem
openSUSE Tumbleweed (KMail 5.17.2) Not a problem
Gentoo (KMail 5.17.3) It's a bug!

I have even started to learn about using "kdesrc-build", to build KMail from the KDE "Gitlab" repo. I have built KMail 5.17.40 alpha (main branch) on three distros.

Manjaro Not a problem
Tummbleweed Not a problem
Gentoo It's still a bug!

This really puzzles me. I compiled 106 KDE modules (KMail and all its KDE dependencies) on all three systems. I even tried enabling re-compilation of about half-a-dozen "Qt5" programs on GEntoo, but with no luck. All I can think of is that the linker must be pulling in some non-KDE piece from the Gentoo system (/usr/bin or /usr/lib64) -- either that, or the KDE dependencies aren't working wuite right.

I have attached screenshots of several email messages to illustrate what I'm talking about. Thank you for looking at this. I'll be glad to share log files or anything else that you might find useful.
Comment 1 David C. Bryant 2021-07-05 20:55:09 UTC
Created attachment 722122 [details]
Raw email message composed under Manjaro
Comment 2 David C. Bryant 2021-07-05 20:55:59 UTC
Created attachment 722125 [details]
Raw email composed under KDE Neon
Comment 3 David C. Bryant 2021-07-05 20:57:14 UTC
Created attachment 722128 [details]
Raw email message composed under Tumbleweed
Comment 4 David C. Bryant 2021-07-05 20:58:50 UTC
Created attachment 722131 [details]
Raw email message composed under Gentoo (KMail 5.17.3)
Comment 5 David C. Bryant 2021-07-05 21:01:06 UTC
Created attachment 722134 [details]
Raw email message composed under Gentoo (KMail 5.17.4 alpha)

This message was composed with a version of KMail compiled from KDE repos.
Comment 6 David C. Bryant 2021-07-06 12:25:21 UTC
Oh, yeah. I always forget this bit. Sorry. (I have two versions of Gentoo. Running systemd right now ... I also have initrc, which is the one I use most of the time. The other version has more compilers ... I'll post that info later.)

david@localhost ~ $ emerge --info
Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.3.0, glibc-2.33, 5.10.27-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-9700_CPU_@_3.00GHz-with-glibc2.33
KiB Mem:    16087740 total,  13376848 free
KiB Swap:    7999484 total,   7999484 free
Timestamp of repository gentoo: Mon, 05 Jul 2021 00:45:01 +0000
Head commit of repository gentoo: afe67a9ba8860dba7ba0bd547b6b27a450164b3a
Timestamp of repository kde: Tue, 29 Jun 2021 06:23:23 +0000
Head commit of repository kde: c44fe2e9febbfbd82f2147c7e053103d19be24f0

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p10::gentoo, 3.9.5_p2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="rsync://rsync.gtlib.gatech.edu/gentoo http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ http://gentoo.cs.utah.edu/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 7 David C. Bryant 2021-07-06 12:29:21 UTC
Also, I should mention that if I both sign and encrypt an email with KMail running under Gentoo, the signature is fine. I'll try uploading a picture of that. Maybe a picture will upload OK today. (I don't think an encrypted raw email message would be useful.)
Comment 8 David C. Bryant 2021-07-06 12:31:20 UTC
Created attachment 722356 [details]
Message via Gentoo, both signed and encrypted.
Comment 9 David C. Bryant 2021-07-06 12:32:53 UTC
Comment on attachment 722356 [details]
Message via Gentoo, both signed and encrypted.

Oops. Wrong picture.
Comment 10 David C. Bryant 2021-07-06 12:42:46 UTC
Created attachment 722359 [details]
Message sent via KMail under GEntoo, both signed and encrypted.

I got the right picture this time.  :-)
Comment 11 David C. Bryant 2021-07-06 14:37:40 UTC
Here is the "emerge --info" output from my primary Gentoo instance (the one that uses initrc).

david@localhost ~ $ emerge --info
Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33-r1, 5.10.27-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-9700_CPU_@_3.00GHz-with-glibc2.33
KiB Mem:    16087792 total,  14108832 free
KiB Swap:    7999484 total,   7999484 free
Timestamp of repository gentoo: Tue, 06 Jul 2021 00:45:01 +0000
Head commit of repository gentoo: 07af4dbac1f28f222b9a7627f6486f78eccbc97e
Timestamp of repository kde: Sun, 04 Jul 2021 21:06:33 +0000
Head commit of repository kde: 9ccadef742a9c24eca4e4c9ee20466b1e1b8ec99

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p10::gentoo, 3.8.10_p2::gentoo, 3.9.5_p2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 0
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ ftp://mirrors.rit.edu/gentoo/ https://mirror.sjc02.svwh.net/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kdesu kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf pdfimport phonon plasma png policykit ppds qml qt5 readline scanner sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks uefi unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i915 nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 12 David C. Bryant 2021-07-08 19:14:46 UTC
The cryptographic signature no longer works correctly in openSUSE Tumbleweed. The only change I can find in the zypper history file that might be related is this.

2021-07-04 14:52:10|install|kmailtransport|21.04.2-1.1|x86_64||openSUSE-20210701-0|f0d927fd6080317cdbcab2612590413fe6f2c26945e291314ce3535850499698|
(from the original installation via USB stick)

2021-07-06 15:01:44|install|kmailtransport-lang|21.04.2-1.2|noarch||repo-oss|c73c68c13055e69d8a9a74c205036b6687f82daf49e1e2432e4933c18280e69b|
(from an update in the online Tumbleweed repos)

The bug does not affect openSUSE LEAP 15.3. Nor has it yet crept into Manjaro Linux.
Comment 13 David C. Bryant 2021-07-09 12:02:37 UTC
I have nstalled and run kmail 21.04.2 (5.17.2) on my systemdd instance of Gentoo Linux. This bug persists in that test version of kmail. I'll try 21.04.3 in a little while.
Comment 14 Andreas Sturmlechner gentoo-dev 2021-07-16 13:38:34 UTC
Please report this upstream and post the link to it here* so we can track the issue, especially since you have been reproducing this in other distributions anyway and we will want to stabilise 21.04.3 soon.

* since you already filed one, why not already paste the link?
Comment 15 Andreas Sturmlechner gentoo-dev 2021-07-16 13:43:24 UTC
(In reply to David C. Bryant from comment #0)
> Manjaro (KMail 5.17.4) Not a problem
> KDE Neon (KMail 5.17.4) Not a problem
Version 5.17.3 is synonymous with 21.04.3 which is the latest release. So I'm really wondering what they are packaging for you there.

In case you haven't yet, please try with KDE Frameworks 5.84.
Comment 16 David C. Bryant 2021-07-16 17:09:18 UTC
Created attachment 724387 [details]
picture from freshly-compiled KMail from KDE sources.

Picture of a help screen, showing release level 5.18.40 (beta).
Comment 17 David C. Bryant 2021-07-16 17:13:40 UTC
Created attachment 724390 [details]
Raw email message composed under freshly-compiled version of KMail

Bug persists when KMail is compiled under Gentoo from KDE sources.
Comment 18 David C. Bryant 2021-07-16 17:15:19 UTC
I will report this bug upstream once again. I'm hesitant to do that, because I got a scolding of sorts the first time i reported it. But I would like to get this fixed.
Comment 19 Andreas Sturmlechner gentoo-dev 2021-07-16 17:28:09 UTC
(In reply to David C. Bryant from comment #18)
> I will report this bug upstream once again. I'm hesitant to do that, because
> I got a scolding of sorts the first time i reported it.
Where is the link to that bug then?
Comment 20 David C. Bryant 2021-07-16 22:18:57 UTC
https://bugs.kde.org/show_bug.cgi?id=439958

Bug report filed upstream. I re-installed Tubleweed, and now it also fails to create a valid signature.I'll let you know if that gets patched (5.17.2 worked OK; 5.17.3 fails).
Comment 21 Andreas Sturmlechner gentoo-dev 2021-07-16 22:19:38 UTC
Where is the old report?
Comment 22 David C. Bryant 2021-07-16 22:55:01 UTC
(In reply to Andreas Sturmlechner from comment #21)
> Where is the old report?

I can't find it. It wasn't a bug report ... I asked a question on "gitlab". I've looked around to find it, but so far no luck. I should have saved the email message ... I think it's in the kde-pim message thread somewhere. I'll hunt for it tomorrow.

Whoever maintains Tumbleweed may patch this soon ... it was working correctly in 5.17.2, but Tumbleweed recently pushed 5.17.3, and the bug re-appeared. It also re-appeared in KDE Neon, when they went from 5.17.2 to 5.17.3. I'm not sure where to look for their commitss, but I'll try to figure it out.
Comment 23 David C. Bryant 2021-07-16 23:12:08 UTC
Created attachment 724420 [details]
Message from D. Bryant to Sandro Knauss

I guess I did file a bug report. Sandro closed it as unconfirmed. I'll try to find it.
Comment 24 David C. Bryant 2021-07-16 23:20:41 UTC
I think this is the bug report I was thinking of. I didn't file it, but I did read it a few months ago.

https://bugs.kde.org/show_bug.cgi?id=427091
Comment 25 Andreas Sturmlechner gentoo-dev 2021-07-16 23:26:13 UTC
The supposed fix in that bug was added in 5.16.1, which would have been 20.12.1.
Comment 26 Andreas Sturmlechner gentoo-dev 2021-07-17 00:16:40 UTC
So, to recap: You didn't file the bug where I didn't read a scolding of sorts.

Gentoo provides you with the latest available upstream versions of KDE PIM and its dependencies. If the error is reproducible there, and you already established it is happening in other distributions too, then the place to get your issue solved is upstream. As the one who can reproduce the bug, you are the person best suited to follow-up on it with them, and as a Gentoo user you can easily test any patch they might send your way by means of epatch_user.
Comment 27 Andreas Sturmlechner gentoo-dev 2021-07-17 00:18:14 UTC
(In reply to Andreas Sturmlechner from comment #14)
> we will want to stabilise 21.04.3 soon.
No blocker for stabilisation as it was already present pre-21.04.
Comment 28 Andreas Sturmlechner gentoo-dev 2021-07-17 08:09:25 UTC
KDE Gear 21.08 beta (and with it KDE PIM) ebuilds are now available in kde overlay for your consumption: https://wiki.gentoo.org/wiki/KDE#Available_versions_2

We do not need further screenshots of the same content, unless something relevant changes. Please keep the list of attachments tidy with as much information as possible, but no unnecessary redundancy, same here as upstream.
Comment 29 Larry the Git Cow gentoo-dev 2022-03-03 14:54:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65b3b8162df72940be0b92e22aedac74df4cb40a

commit 65b3b8162df72940be0b92e22aedac74df4cb40a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-03-03 11:30:47 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-03-03 14:53:15 +0000

    kde-apps/kmail: 21.12.3 version bump
    
    Bug: https://bugs.gentoo.org/800689
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kmail/Manifest                            |   1 +
 .../files/kmail-21.12.3-speech-optional.patch      |  69 ++++++++++++
 kde-apps/kmail/kmail-21.12.3.ebuild                | 116 +++++++++++++++++++++
 kde-apps/kmail/metadata.xml                        |   3 +
 4 files changed, 189 insertions(+)