Bug 2441760

Summary: possible regression in 1.12.0 - causes gnupg failures
Product: [Fedora] Fedora Reporter: Fabio Valentini <decathorpe>
Component: libgcryptAssignee: Jakub Jelen <jjelen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: crypto-team, jjelen, neal, tm
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libgcrypt-1.12.1-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-03-11 00:15:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabio Valentini 2026-02-22 15:12:02 UTC
It appears that libgcrypt 1.12.0 contains bugs / issues that break some GnuPG operations.

For example, the sequoia-git test suite started to fail since the update to libgcrypt 1.12.0 with errors like

gpg: key D89307BF217283E5/0CADEFD4111E53BB: error sending to agent: Bad secret key
gpg: error reading '[stdin]': Bad secret key
gpg: import from '[stdin]' failed: Bad secret key

There's also a very similar report against Alpine Linux which also updated to 1.12.0 recently:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/17973


Reproducible: Always

Comment 1 neal 2026-02-22 15:24:05 UTC
Note: downgrading libgcrypt to 1.11.2 fixes the issue on Alpine, as I just added to that issue.

Comment 2 Jakub Jelen 2026-02-23 08:46:36 UTC
I clicked through the bugs to the upstream tracker and sounds like this should be fixed with the libgcrypt 1.12.1 (bug #2435259) so updating to that.

Comment 3 Fedora Update System 2026-02-23 09:41:32 UTC
FEDORA-2026-cf49c531e3 (libgcrypt-1.12.1-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-cf49c531e3

Comment 4 Fedora Update System 2026-02-24 01:15:04 UTC
FEDORA-2026-cf49c531e3 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-cf49c531e3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-cf49c531e3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-03-11 00:15:17 UTC
FEDORA-2026-cf49c531e3 (libgcrypt-1.12.1-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.