From wk at gnupg.org Thu Jul 2 15:49:49 2026
From: wk at gnupg.org (Werner Koch)
Date: Thu, 02 Jul 2026 15:49:49 +0200
Subject: [Announce] GnuPG 2.5.21 released
Message-ID: <8733y11oxu.fsf@jacob.g10code.de>
Hello!
We are pleased to announce the availability of a new GnuPG release:
Version 2.5.21. This release adds a few new features and fixes some
bugs.
The main features in the 2.5 series are improvements for 64 bit Windows
and the introduction of Kyber (aka ML-KEM or FIPS-203) as PQC encryption
algorithm. Other than PQC support the 2.6 series will not differ a lot
from 2.4 because the majority of changes are internal to make use of
newer features from the supporting libraries.
Note that the old 2.4 series has reached end-of-life. Thus expect no
more updates for 2.4. As always with GnuPG, new versions are fully
compatible with previous versions.
What is GnuPG
=============
The GNU Privacy Guard (GnuPG, GPG) is a complete and free implementation
of the OpenPGP and S/MIME standards.
GnuPG allows to encrypt and sign data and communication, features a
versatile key management system as well as access modules for public key
directories. GnuPG itself is a command line tool with features for easy
integration with other applications. The separate library GPGME provides
a uniform API to use the GnuPG engine by software written in common
programming languages. A wealth of frontend applications and libraries
making use of GnuPG are available. As an universal crypto engine GnuPG
provides support for S/MIME and Secure Shell in addition to OpenPGP.
GnuPG is Free Software (meaning that it respects your freedom). It can
be freely used, modified and distributed under the terms of the GNU
General Public License.
Noteworthy changes in version 2.5.21 (2026-07-02)
=================================================
[compared to version 2.5.20]
* New and extended features:
- gpg, gpgsm: Use partial file on decryption, remove on failure.
Disable with "--compatibility-flags=no-partial-file-guard".
[T7873]
- gpg: Use the INT_RCP_FPR subpacket in revocation signatures.
[T8252]
- Create a pkgversioninfo.txt file when building using the speedo
build system.
* Bug fixes:
- gpg: Fix potential use-after-free in batch key generation when
handling the keyserver URL option. [T8277]
- gpgsm: Fix regression in gpgsm_verify with expired certificates.
[T8188]
- gpgsm: Require a minimum tag length for GCM decryption.
[rG4c7e68cf3d, CVE-2026-34182]
- scd: Limit the size of returned APDU objects from faulty cards.
[T8281]
- scd: Fix condition to retrieve ATR. [rGca25a7a61b]
- scd:openpgp: Fix regression in CHV1 retry counter byte index.
[rG245330ebea]
- agent: Make batch import of Kyber keys work. [T8029]
- dirmngr: Add a validation check in get_dns_cert_standard.
[T8303]
- gpgconf: Raise an error on certain parse errors. [T8261]
- Fix use of usleep in file remove function on Windows. Regression
since 2.5.13. [rGab9ce5f5e7]
Release-info: https://dev.gnupg.org/T8262
Getting the Software
====================
Please follow the instructions found at or
read on:
GnuPG may be downloaded from one of the GnuPG mirror sites or direct
from its primary file server. The list of mirrors can be found at
. Note that GnuPG is not
available at ftp.gnu.org.
The GnuPG source code compressed using BZIP2 and its OpenPGP signature
are available here:
https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.5.21.tar.bz2 (8156k)
https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.5.21.tar.bz2.sig
An installer for Windows without any graphical frontend except for a
very minimal Pinentry tool is available here:
https://gnupg.org/ftp/gcrypt/binary/gnupg-w32-2.5.21_20260702.exe (5636k)
https://gnupg.org/ftp/gcrypt/binary/gnupg-w32-2.5.21_20260702.exe.sig
The source used to build this installer for 64-bit Windows is available as
https://gnupg.org/ftp/gcrypt/gnupg/gnupg-w32-2.5.21_20260702.tar.xz (15M)
https://gnupg.org/ftp/gcrypt/gnupg/gnupg-w32-2.5.21_20260702.tar.xz.sig
This source tarball may also be used to download all required libraries
at once to build a Unix version on any modern system. See the included
README.
Debian Packages
===============
We also provide Debian style packages for a couple of Debian variants.
See https://repos.gnupg.org/deb/gnupg/trixie/ or use the menu to switch
to other distros/releases. If you encounter packaging problems please
report them to the gnupg-devel mailing list. It may however take a few
days until they are available.
Windows Installer
=================
A new version of Gpg4win is in planning. For those who are affected by
one of the now fixed bugs, it is possible to install the simple Windows
installer mentioned above on top of Gpg4win 5.0.2.
Checking the Integrity
======================
In order to check that the version of GnuPG which you are going to
install is an original and unmodified one, you can do it in one of
the following ways:
* If you already have a version of GnuPG installed, you can simply
verify the supplied signature. For example to verify the signature
of the file gnupg-2.5.21.tar.bz2 you would use this command:
gpg --verify gnupg-2.5.21.tar.bz2.sig gnupg-2.5.21.tar.bz2
This checks whether the signature file matches the source file.
You should see a message indicating that the signature is good and
made by one or more of the release signing keys. Make sure that
this is a valid key, either by matching the shown fingerprint
against a trustworthy list of valid release signing keys or by
checking that the key has been signed by trustworthy other keys.
See the end of this mail for information on the signing keys.
* If you are not able to use an existing version of GnuPG, you have
to verify the SHA-1 checksum. On Unix systems the command to do
this is either "sha1sum" or "shasum". Assuming you downloaded the
file gnupg-2.5.21.tar.bz2, you run the command like this:
sha1sum gnupg-2.5.21.tar.bz2
and check that the output matches the next line:
51fae4f4d902787624eb7047f6d3e7c263ad7690 gnupg-2.5.21.tar.bz2
2e6712f413e47bb23fb4ba5b07f9b0a6aaa266e7 gnupg-w32-2.5.21_20260702.tar.xz
65e7528baf8ec1bf83d3df56e6e9e377620f2de6 gnupg-w32-2.5.21_20260702.exe
Internationalization
====================
This version of GnuPG has support for 26 languages with Chinese, Czech,
Dutch, French, Georgian, German, Italian, Japanese, Norwegian, Polish,
Portuguese, Russian, Turkish, and Ukrainian being almost completely
translated.
Documentation and Support
=========================
The file gnupg.info has the complete reference manual of the system.
Separate man pages are included as well but they miss some of the
details available only in the manual. The manual is also available
online at
https://gnupg.org/documentation/manuals/gnupg/
or can be downloaded as PDF at
https://gnupg.org/documentation/manuals/gnupg.pdf
You may also want to search the GnuPG mailing list archives or ask on
the gnupg-users mailing list for advise on how to solve problems. Most
of the new features are around for several years and thus enough public
experience is available. https://wiki.gnupg.org has user contributed
information around GnuPG and relate software.
If you are using cleartext signatures in your application please read
https://gnupg.org/blog/20251226-cleartext-signatures.html and maybe
https://gnupg.com/20260122-39C3_reply_gpg_fail.html
In case of build problems specific to this release please first check
https://dev.gnupg.org/T8262 for updated information. We are sorry that
due to ongoing DoS on this service, you may end up at a "is under
maintenance page". Static copies of the ticket pages are provided in
any case.
Please consult the archive of the gnupg-users mailing list before
reporting a bug: https://gnupg.org/documentation/mailing-lists.html.
We suggest to send bug reports for a new release to this list in favor
of filing a bug at https://bugs.gnupg.org. If you need commercial
support go to https://gnupg.com or https://gnupg.org/service.html.
If you are a developer and you need a certain feature for your project,
please do not hesitate to bring it to the gnupg-devel mailing list for
discussion.
Thanks
======
Since 2001 maintenance and development of GnuPG is done by g10 Code GmbH
and has mostly been financed by donations. A team of full-time employed
developers and contractors are working exclusively on GnuPG and related
software like Libgcrypt, GPGME, Kleopatra, Okular, and Gpg4win.
Fortunately, and this is still not common with free software, we have
established a way of financing the development while keeping all our
software free and freely available for everyone. Our model is similar
to the way RedHat manages RHEL and Fedora: Except for the actual binary
of the MSI installer for Windows and client specific configuration
files, all the software is available under the GNU GPL and other Open
Source licenses. Thus customers may even build and distribute their own
version of the software as long as they do not use our trademarks
GnuPG Desktop? or GnuPG VS-Desktop?.
We like to thank all the nice people who are helping the GnuPG project,
be it testing, coding, translating, suggesting, auditing, administering
the servers, spreading the word, answering questions on the mailing
lists, or helped with donations.
*Thank you all*
Your GnuPG hackers
p.s.
This is an announcement only mailing list. Please send replies only to
the gnupg-users at gnupg.org mailing list.
* Debian Package Signing Key:
The new Debian style packages are signed using this key:
ed25519 2025-07-08 [SC] [expires: 2035-07-14]
3209 7B71 9B37 45D6 E61D DA1B 85C4 5AE3 E1A2 B355
GnuPG.org Package Signing Key
See the package website (https://repos.gnupg.org/deb/gnupg) for a list
of supported distributions and a download link for the key.
* List of Release Signing Keys:
To guarantee that a downloaded version has not been tampered by
malicious entities we provide signature files for all tarballs and
binary versions. The keys are also signed by the long term keys of
their respective owners. Current releases are signed by one or more
of these five keys:
ed25519 2020-08-24 [SC] [expires: 2030-06-30]
6DAA 6E64 A76D 2840 571B 4902 5288 97B8 2640 3ADA
Werner Koch (dist signing 2020)
ed25519 2021-05-19 [SC] [expires: 2027-04-04]
AC8E 115B F73E 2D8D 47FA 9908 E98E 9B2D 19C6 C8BD
Niibe Yutaka (GnuPG Release Key)
rsa3072 2025-05-09 [SC] [expires: 2033-03-03]
3B76 1AE4 E63B F351 9CE7 D63B ECB6 64CB E133 2EEF
Alexander Kulbartsch (GnuPG Release Key)
brainpoolP256r1 2021-10-15 [SC] [expires: 2029-12-31]
02F3 8DFF 731F F97C B039 A1DA 549E 695E 905B A208
GnuPG.com (Release Signing Key 2021)
brainpoolP384r1 2026-02-23 [SC] [expires: 2034-02-23]
1493 269D E61F 124A A69A 316E 3ADF 34EB DBB2 00A4
GnuPG.com (Release Signing Key 2026)
The keys are available at https://gnupg.org/signature_key.html and in
any recently released GnuPG tarball in the file g10/distsigkey.gpg .
Note that this mail has been signed by a different key.
* Debian Package Signing Key:
The new Debian style packages are signed using this key:
ed25519 2025-07-08 [SC] [expires: 2035-07-14]
3209 7B71 9B37 45D6 E61D DA1B 85C4 5AE3 E1A2 B355
GnuPG.org Package Signing Key
See the package website (https://repos.gnupg.org/deb/gnupg) for a list
of supported distributions and a download link for the key.
--
Arguing that you don't care about the right to privacy because you have
nothing to hide is no different from saying you don't care about free
speech because you have nothing to say. - Edward Snowden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL:
-------------- next part --------------
_______________________________________________
Gnupg-announce mailing list
Gnupg-announce at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-announce
From opna2608 at protonmail.com Tue Jul 14 16:14:57 2026
From: opna2608 at protonmail.com (C. Neidahl)
Date: Tue, 14 Jul 2026 14:14:57 +0000
Subject: libgpg-error 1.61: t-printf failure on powerpc64-linux
Message-ID:
Greetings,
I am trying to build libgpg-errpr version 1.61 for big-endian
powerpc64-linux with GCC 15.2.0 and run the test suite.
The t-printf test is failing:
t-printf: format "%.100Lf" with LDBL_MAX unexpectly did not fail
FAIL: t-printf
Applying bfdf7b0b7b62 (tests: Skip a test when !HAVE_LONG_DOUBLE_WIDER)
does not help with this, as LDBL_MAX > DBL_MAX:
checking for long double with more range or precision than double... yes
long double on this platform defaults to a sum of two double values (IBM
double-double), which is not an IEEE-754 compliant implementation, so
LDBL_* are possibly going to be different than what you're expecting.
You can check last year's changes to gnulib's lib/float.h.in and
tests/test-float-h.c, and the mailing list messages from the same time,
for details on this format and changes that GCC 15 & C23 brought to
these definitions.
Let me know if you need any more details.
Have a nice day.
Cosima Neidahl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - opna2608 at protonmail.com - 0xC802C863.asc
Type: application/pgp-keys
Size: 1753 bytes
Desc: not available
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 583 bytes
Desc: OpenPGP digital signature
URL:
From gniibe at fsij.org Wed Jul 15 10:16:30 2026
From: gniibe at fsij.org (NIIBE Yutaka)
Date: Wed, 15 Jul 2026 17:16:30 +0900
Subject: libgpg-error 1.61: t-printf failure on powerpc64-linux
In-Reply-To:
References:
Message-ID: <87o6g8wtup.fsf@haruna.fsij.org>
Hello,
Thank you for your report.
"C. Neidahl wrote:
> I am trying to build libgpg-errpr version 1.61 for big-endian
> powerpc64-linux with GCC 15.2.0 and run the test suite.
>
> The t-printf test is failing:
>
> t-printf: format "%.100Lf" with LDBL_MAX unexpectly did not fail
> FAIL: t-printf
It's also in little-endian, I suppose. How about like this?
==========================
diff --git a/tests/t-printf.c b/tests/t-printf.c
index b0a3f3f..31d52a5 100644
--- a/tests/t-printf.c
+++ b/tests/t-printf.c
@@ -469,12 +469,15 @@ check_large_float (void)
show ("format \"%%.100Lf\" with DBL_MAX: ->%s<-\n", buf);
gpgrt_free (buf);
-# ifdef HAVE_LONG_DOUBLE_WIDER
+# ifdef __powerpc64__
+ if (verbose)
+ show ("IBM double-double - skipping LDBL_MAX test\n");
+# elif defined(HAVE_LONG_DOUBLE_WIDER)
ld = LDBL_MAX;
buf = gpgrt_bsprintf ("%.100Lf\n", ld);
if (buf)
{
- fail ("format \"%%.100Lf\" with LDBL_MAX unexpectly did not fail\n");
+ fail ("format \"%%.100Lf\" with LDBL_MAX unexpectedly did not fail\n");
}
else if (verbose)
show ("format \"%%.100Lf\" with LDBL_MAX failed as expected\n");
==========================
"IBM double-double" reminds me Matcha Azuki-Azuki in a shop of our
neighborhood. It's Japanese shaved ice dessert (double amount of sweet
bean paste) in summer [0].
[0] https://en.wikipedia.org/wiki/Kakig%C5%8Dri
--
From jscott at posteo.net Wed Jul 15 22:07:19 2026
From: jscott at posteo.net (John Scott)
Date: Wed, 15 Jul 2026 20:07:19 +0000
Subject: libgpg-error 1.61: t-printf failure on powerpc64-linux
In-Reply-To: <87o6g8wtup.fsf@haruna.fsij.org>
References:
<87o6g8wtup.fsf@haruna.fsij.org>
Message-ID: <2f02e6735fb6f518c3dea9a11755aa4cde304338.camel@posteo.net>
I have a question. However, I spent longer writing this than I meant to, appending things as I figured them out, and haven't had the chance yet to test changes. I hope this will be helpful as-is.
> t-printf: format "%.100Lf" with LDBL_MAX unexpectly [sic] did not fail
> FAIL: t-printf
I see that this message comes from here: https://repo.or.cz/libgpg-error.mirror.git/blob/HEAD:/tests/t-printf.c#l477
It appears that it's trying to ensure that gpgrt_bsprintf("%.100Lf\n", (long double)LDBL_MAX) fails.
We're expecting gpgrt_bsprintf() to fail, and calling it an error that it succeeds. I see at https://repo.or.cz/libgpg-error.mirror.git/blob/HEAD:/src/estream-printf.c#l1134 (inside a static helper function named 'pr_float()') there is mention of a static buffer sized just barely big enough so gpgrt_bsprintf("%.100f", DBL_MAX) will succeed. If this limit is pushed by trying to print a larger string, it is intended that an error should be returned to the caller. Perhaps the test is trying to see that this gets caught.
With IBM "double-double" arithmetic, the number of bits for the exponent is still the same, and only the significand becomes effectively larger. So despite 'long double' being "bigger" than double (with HAVE_LONG_DOUBLE_WIDER defined correctly as per [1]), it needs no more decimal digits than double does to represent its LDBL_MAX. So it seems the error is the following assumption in the test: long double being "bigger" than double means printf("%Lf", LDBL_MAX) requires a bigger buffer than printf("%f", DBL_MAX) would (this is mistaken), and since the static buffer has been sized to be exactly right for the latter, it should be too small for the former. The test is surprised that printf("%Lf", LDBL_MAX) is able to make do with the small buffer, and so the test fails.
With emphasis added by me, the autoconf manual says
> If the C compiler supports a working long double type with more range **or** precision than the double type, define HAVE_LONG_DOUBLE_WIDER.
We have attained more precision, but not more range, but gpgrt assumes we have more range indeed.
A condition would be sufficient for this to be, I think, is to see that LDBL_MAX_10_EXP is strictly greater than DBL_MAX_10_EXP (these constants being from float.h).
[1] https://www.gnu.org/software/autoconf/manual/html_node/Particular-Types.html#index-AC_005fTYPE_005fLONG_005fDOUBLE_005fWIDER-1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 411 bytes
Desc: This is a digitally signed message part
URL:
From opna2608 at protonmail.com Wed Jul 15 12:54:02 2026
From: opna2608 at protonmail.com (C. Neidahl)
Date: Wed, 15 Jul 2026 10:54:02 +0000
Subject: libgpg-error 1.61: t-printf failure on powerpc64-linux
In-Reply-To: <87o6g8wtup.fsf@haruna.fsij.org>
References:
<87o6g8wtup.fsf@haruna.fsij.org>
Message-ID:
> It's also in little-endian, I suppose.
Well, yes and no.
If usage of the VSX extension is enabled, then an IEEE-compliant 128-bit
floating-point type is made available [0]. Glibc can be configured to
use that type for long double, and i.e. Fedora has made that switch for
its powerpc64le-linux target [1].
powerpc64-linux should be available on systems that predate the VSX
extension though, so the default for those is generally still the IBM
double-double. For example, the machine that I'm testing things on is an
Apple Power Mac G5 from 2005, which lacks both VSX and the option to
switch to little-endian mode without bricking the system. As a result of
that, powerpc64le-linux is not something that I can test in any way, but
I'm still *somewhat* aware of it.
> +# ifdef __powerpc64__
> + if (verbose)
> + show ("IBM double-double - skipping LDBL_MAX test\n");
I suppose the most exact check for this situation would have to inspect
some more LDBL_*
defines, otherwise 128-bit IEEE-backed long double
would end up not getting checked.
The GCC on my machine, after importing with C23 enabled, defines:
#define __LDBL_IS_IEC_60559__ 0
#define LDBL_IS_IEC_60559 __LDBL_IS_IEC_60559__
#define __LONG_DOUBLE_IBM128__ 1
LDBL_IS_IEC_60559 of 0 indicates that the long double type does not
match an IEC 60559 format (1: format, but not operation; 2: format and
operation) [2]. The rest of the floating-point types have their
corresponding defines at 1 on my system.
By comparison, a powerpc64le-linux GCC cross toolchain on my main system
gives:
#define __LDBL_IS_IEC_60559__ 1
#define LDBL_IS_IEC_60559 __LDBL_IS_IEC_60559__
#define __LONG_DOUBLE_IEEE128__ 1
Doesn't seem like Clang itself implements LDBL_IS_IEC_60559, but you use
gnulib, which handles that. It sets LDBL_IS_IEC_60559 to 0 with
x86_64-linux Clang due to the 80-bit floating-point type, while
x86_64-linux GCC sets it to 1 with the same type,
so there's some
discrepancies on other platforms though... So maybe:
diff --git a/tests/t-printf.c b/tests/t-printf.c
index b0a3f3f..79f6470 100644
--- a/tests/t-printf.c
+++ b/tests/t-printf.c
@@ -469,7 +469,13 @@ check_large_float (void)
show ("format \"%%.100Lf\" with DBL_MAX: ->%s<-\n", buf);
gpgrt_free (buf);
-# ifdef HAVE_LONG_DOUBLE_WIDER
+# if defined(__powerpc64__) && !LDBL_IS_IEC_60559
+ if (verbose)
+ show ("IBM double-double - skipping LDBL_MAX test\n");
+# elif !defined(HAVE_LONG_DOUBLE_WIDER)
+ if (verbose)
+ show ("LDBL_MAX == DBL_MAX - skipping LDBL_MAX test\n");
+# else
ld = LDBL_MAX;
buf = gpgrt_bsprintf ("%.100Lf\n", ld);
if (buf)
@@ -479,9 +485,6 @@ check_large_float (void)
else if (verbose)
show ("format \"%%.100Lf\" with LDBL_MAX failed as expected\n");
gpgrt_free (buf);
-# else
- if (verbose)
- show ("LDBL_MAX == DBL_MAX - skipping LDBL_MAX test\n");
# endif
#endif /*HAVE_LO
NG_DOUBLE*/
[0]: https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html
[1]:
https://fedoraproject.org/wiki/Releases/36/ChangeSet#New_128-bit_IEEE_long_double_ABI_for_IBM_64-bit_POWER_LE
[2]:
https://github.com/gcc-mirror/gcc/blob/b77cf8f055cce3e42f09410cbbf1e4f1e196b25d/gcc/c-family/c-cppbuiltin.cc#L321-L323
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - opna2608 at protonmail.com - 0xC802C863.asc
Type: application/pgp-keys
Size: 1753 bytes
Desc: not available
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 583 bytes
Desc: OpenPGP digital signature
URL:
From gnupg-users at city17.xyz Tue Jul 21 12:21:34 2026
From: gnupg-users at city17.xyz (jman)
Date: Tue, 21 Jul 2026 12:21:34 +0200
Subject: GnuPG doesn't see available Yubikey
Message-ID: <87y0f4ve1d.fsf@nyarlathotep>
Hello,
I have a recurrent problem when my laptop resumes from sleep: the Yubikey (NFC 5) is available but
GnuPG doesn't "see" it.
$ gpg --debug ipc --card-status
gpg: reading options from '$HOME/.local/share/gnupg/gpg.conf'
gpg: reading options from '[cmdline]'
gpg: enabled debug flags: ipc
gpg: enabled compatibility flags:
gpg: DBG: chan_3 <- OK Pleased to meet you, process 3813
gpg: DBG: connection to the gpg-agent established
gpg: DBG: chan_3 -> RESET
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION ttyname=/dev/pts/2
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION ttytype=xterm-kitty
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION putenv=WAYLAND_DISPLAY=wayland-1
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION putenv=XDG_SESSION_TYPE=wayland
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION putenv=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION pinentry-user-data=gnome3
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION lc-ctype=en_US.UTF-8
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION lc-messages=en_US.UTF-8
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> GETINFO version
gpg: DBG: chan_3 <- D 2.4.9
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION allow-pinentry-notify
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION agent-awareness=2.1.0
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SCD GETINFO version
gpg: DBG: chan_3 <- D 2.4.9
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SCD SERIALNO
gpg: DBG: chan_3 <- ERR 100663297 General error
gpg: selecting card failed: General error
gpg: OpenPGP card not available: General error
gpg: secmem usage: 0/65536 bytes in 0 blocks
$ lsusb -v
...
Bus 003 Device 046: ID 1050:0407 Yubico.com Yubikey 4/5 OTP+U2F+CCID
Negotiated speed: Full Speed (12Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1050 Yubico.com
idProduct 0x0407 Yubikey 4/5 OTP+U2F+CCID
bcdDevice 5.74
iManufacturer 1 Yubico
iProduct 2 YubiKey OTP+FIDO+CCID
Using Debian/testing (forky):
$ dpkg -l | grep "gnupg\|scdaemon"
ii gnupg 2.4.9-7
ii gnupg-agent 2.4.9-7
ii gnupg-l10n 2.4.9-7
ii gnupg-utils 2.4.9-7
ii scdaemon 2.4.9-7
I asked a similar question years ago:
https://lists.gnupg.org/pipermail/gnupg-users/2020-December/064520.html
but these tricks (send SCD commands, restart the scdaemon, ... ) don't seem to work
reliably. Sometimes even re-inserting the Yubikey does not work and I have to logout.
Why is the Yubikey not "seen" by GnuPG? What is /exactly/ the problem and how can I solve it once
and for all?
Thanks
From wk at gnupg.org Tue Jul 21 18:31:30 2026
From: wk at gnupg.org (Werner Koch)
Date: Tue, 21 Jul 2026 18:31:30 +0200
Subject: GnuPG doesn't see available Yubikey
In-Reply-To: <87y0f4ve1d.fsf@nyarlathotep> (jman via Gnupg-users's message of
"Tue, 21 Jul 2026 12:21:34 +0200")
References: <87y0f4ve1d.fsf@nyarlathotep>
Message-ID: <875x28b8yl.fsf@jacob.g10code.de>
On Tue, 21 Jul 2026 12:21, jman said:
> I have a recurrent problem when my laptop resumes from sleep: the
> Yubikey (NFC 5) is available but GnuPG doesn't "see" it.
Enable logging for the scdaemon. Put the following into
~/.gnupg/scdaemon.log
--8<---------------cut here---------------start------------->8---
log-file /foo/bar/scd.log
verbose
debug ipc,cardio
--8<---------------cut here---------------end--------------->8---
Restart and have a look at the log.
> gpg: DBG: chan_3 <- D 2.4.9
This reched end-of-life so you better update to a current version. See
repos.gnupg.org for Debian style packages.
Salam-Shalom,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL:
From gnupg-users at city17.xyz Tue Jul 21 23:42:09 2026
From: gnupg-users at city17.xyz (jman)
Date: Tue, 21 Jul 2026 23:42:09 +0200
Subject: GnuPG doesn't see available Yubikey
In-Reply-To: <875x28b8yl.fsf@jacob.g10code.de> (Werner Koch's message of "Tue,
21 Jul 2026 18:31:30 +0200")
References: <87y0f4ve1d.fsf@nyarlathotep> <875x28b8yl.fsf@jacob.g10code.de>
Message-ID: <878q74rpe6.fsf@nyarlathotep>
<#secure method=pgpmime mode=sign>
Werner Koch writes:
> Enable logging for the scdaemon. Put the following into
> ~/.gnupg/scdaemon.log
(I assume you mean "scdaemon.conf")
>> gpg: DBG: chan_3 <- D 2.4.9
>
> This reched end-of-life so you better update to a current version. See
> repos.gnupg.org for Debian style packages.
What does it mean "end-of-life"? Debian is using 2.4.x everywhere
https://tracker.debian.org/pkg/gnupg2
I searched for a source about 2.4.x being EOL and found this blog post (August 2025)
https://gnupg.org/blog/20250827-new-repository.html
> The stable 2.4.x series will reach its End of Life in about 11 months. The next stable release
> will be version 2.6, followed by a development branch with version number 2.7.x.
Unless I am mistaken, I don't see any 2.6.x in your releases, I see 2.5.x: are odd releases stable
or is 2.5.x a development version?
Could this be the reason why Debian sticks to 2.4.x and doesn't upgrade to 2.5.x?
From wk at gnupg.org Wed Jul 22 09:09:53 2026
From: wk at gnupg.org (Werner Koch)
Date: Wed, 22 Jul 2026 09:09:53 +0200
Subject: GnuPG doesn't see available Yubikey
In-Reply-To: <878q74rpe6.fsf@nyarlathotep> (jman via Gnupg-users's message of
"Tue, 21 Jul 2026 23:42:09 +0200")
References: <87y0f4ve1d.fsf@nyarlathotep> <875x28b8yl.fsf@jacob.g10code.de>
<878q74rpe6.fsf@nyarlathotep>
Message-ID: <871pcvbiv2.fsf@jacob.g10code.de>
On Tue, 21 Jul 2026 23:42, jman said:
> What does it mean "end-of-life"? Debian is using 2.4.x everywhere
No more support after that date whatsoever.
> I searched for a source about 2.4.x being EOL and found this blog post
Don't search but go to the website.
https://gnupg.org/download/index.html
has the current versions and down on the page the end-of-life
statements.
Shalom-Salam,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL:
From niveditharao.kulkarni at gmail.com Wed Jul 22 20:19:24 2026
From: niveditharao.kulkarni at gmail.com (niveditharao.kulkarni at gmail.com)
Date: Wed, 22 Jul 2026 23:49:24 +0530
Subject: GnuPG 2.4.8 / Kleopatra Hanging - gpg --list-keys and keyboxd
Unresponsive on Windows Server
Message-ID:
Dear GnuPG Support Team,
We are experiencing an issue with GnuPG/Kleopatra in our production
environment and would appreciate your guidance.
Environment
- *GnuPG Version:* 2.4.8
- *Operating System:* Windows Server (please let us know if you need the
exact version)
- *Application:* SQL Server executes GPG commands using xp_cmdshell
- *Purpose:* Encrypting CSV files before uploading them to Amazon S3.
Background
The setup has been working successfully for approximately *8 months*
without any issues. About *4 days ago*, encryption suddenly stopped
working. No GnuPG/Gpg4win upgrade was performed during this period.
Observed Symptoms
1. CSV files are generated successfully.
2. Encryption never starts, so no encrypted (.gpg) file is created.
3. Kleopatra opens but remains indefinitely at *"Loading
certificates..."*.
4.
The command:
gpg --version
returns immediately and reports *GnuPG 2.4.8*.
5.
The command:
gpg --list-keys
hangs indefinitely.
6.
The command:
gpgconf --launch keyboxd
also hangs indefinitely.
7. While the above command is running, *keyboxd.exe* appears in Task
Manager but remains at *0% CPU usage* and never becomes responsive.
8. Earlier, multiple *gpg.exe* processes accumulated in Task Manager. We
terminated the hung processes, but the issue persists.
Additional Information
- The GnuPG home directory structure appears normal.
- The public-keys.d, private-keys-v1.d, trustdb.gpg, and other standard
folders/files are present.
- We have not modified or recreated any keys.
- No GnuPG configuration changes have been made.
- We have compared the folder structure with another working environment
and did not notice any obvious differences.
Questions
1. What could cause keyboxd to start but remain unresponsive?
2. Are there any known issues in GnuPG 2.4.8 that produce these
symptoms?
3. Are there any diagnostic commands or debug logging options you
recommend to identify where keyboxd is hanging?
4. Is there anything specific we should verify regarding the key
database (public-keys.d) or GnuPG configuration?
This is a production issue, so we would appreciate any guidance on how to
diagnose the root cause without risking the existing key material.
Thank you for your assistance.
Kind regards,
Niveditha.
7022567479
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From alexander.kulbartsch at gnupg.com Fri Jul 24 15:04:52 2026
From: alexander.kulbartsch at gnupg.com (Alexander Kulbartsch)
Date: Fri, 24 Jul 2026 15:04:52 +0200
Subject: GnuPG 2.4.8 / Kleopatra Hanging - gpg --list-keys and keyboxd
Unresponsive on Windows Server
In-Reply-To:
References:
Message-ID: <20260724150452.638f6c19@idea26>
Hello Niveditha!
From what you wrote in your detailed description I assume you
installed Gpg4win 4.4.1. But for automation you use the gpg CLI
tool.
Since that version a few fixes to the keyboxd were made. So I
recommend that you install a recent version. The current release
is 5.0.2.
(Don't mind the major release number change, the crypto is
fully compatible with the previous versions.)
If you are still on Windows Server 16, Gpg4win 4.4.1 was the
latest supported version, because of a QT bug for old Windows
versions. But you can use the recent CLI gpg version.
Another idea:
In case you started gpg with another user than usual one, the
socket files might have wrong rights. Try to delete them here:
%LOCALAPPDATA%\gnupg\S.*
Hope that helps!
Best regards
Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 878 bytes
Desc: OpenPGP digital signature
URL:
From rjh at sixdemonbag.org Sat Jul 25 10:22:47 2026
From: rjh at sixdemonbag.org (Robert J. Hansen)
Date: Sat, 25 Jul 2026 04:22:47 -0400
Subject: QuickerHash
Message-ID: <4c3b8a52-934c-41c9-b826-3ae2d2a9d3d5@sixdemonbag.org>
This isn't GnuPG-related, but it *is* Free Software and about digital
security education. Following long-standing custom here we get a little
leeway to go off-topic.
A friend of mine contributes to online security by training journalists,
human rights workers, political organizers, and more in effective
digital security. A couple of weeks ago he lamented to me the moment he
tries to teach people how to use hash algorithms to verify downloads,
half the people get scared because they're unaccustomed to working with
terminals and they're afraid of breaking things.
On the GUI front things are also pretty bad. There are ways built into
each OS to do hashes, but it usually involves right-clicks, large
context menus, and other such. His students need something simpler.
So, what the heck: I put together a tool that met his needs.
QuickerHash is a crossplatform tool that aims for a pleasant-looking UI
that's laser-focused on digital security education and being a
specialized tool for nontechnical users. The UI is provided by FlatLAF,
so it should look and feel pretty much like JetBrains' IDEs (which use
their own customized fork of FlatLAF).
https://github.com/rjhansen/quickerhash/releases will get you the 1.0.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL:
From scuffbox at proton.me Sun Jul 26 01:07:47 2026
From: scuffbox at proton.me (scuffbox)
Date: Sat, 25 Jul 2026 23:07:47 +0000
Subject: Cipher Preferences Ignored for Kyber keys?
Message-ID:
Hello,
I hope this is the appropriate place to mention this. I do not normally post to mailing lists, but cannot register for the bug tracker.
On upgrading to 2.5.x (2.5.20 and 2.5.21) recently to test Kyber keys, I have noticed that any preferences relating to cipher choice are being ignored.
AES256 appears to be used for encryption to Kyber subkeys regardless of the contents of the public key's cipher preferences and the local config's personal-cipher-preferences. Both could have a first option of any other cipher, and it would not be used. AES256 can even be removed entirely from both and still be chosen.
Using `--disable-cipher AES256` results in:
gpg: Ohhhh jeeee: there is a bug at seskey.c:50:make_session_key
Am I missing something about Kyber keys? I can manually choose any other cipher for the encryption using `--cipher`, so I'm thinking this is a bug when selecting the cipher for encrypting to Kyber keys specifically. Encrypting to a non-Kyber subkey results in the preferences being honored as expected.
--
Scuff
From dgouttegattat at incenp.org Sun Jul 26 16:35:20 2026
From: dgouttegattat at incenp.org (Damien Goutte-Gattat)
Date: Sun, 26 Jul 2026 15:35:20 +0100
Subject: Cipher Preferences Ignored for Kyber keys?
In-Reply-To:
References:
Message-ID:
On Sun Jul 26, 2026 at 12:07 AM BST, scuffbox via Gnupg-users wrote:
> On upgrading to 2.5.x (2.5.20 and 2.5.21) recently to test Kyber keys,
> I have noticed that any preferences relating to cipher choice are
> being ignored.
>
> AES256 appears to be used for encryption to Kyber subkeys regardless
> of the contents of the public key's cipher preferences and the local
> config's personal-cipher-preferences.
Indeed. This is a deliberate behaviour, see the discussion on issue
https://dev.gnupg.org/T7472.
When all the keys we are encrypting to are Kyber keys, then AES-256 is
forcefully used regardless of the preferences.
You can still force the use of any other supported encryption algorithm
with the `--cipher-algo` option.
- Damien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 265 bytes
Desc: not available
URL:
From scuffbox at proton.me Sun Jul 26 17:33:38 2026
From: scuffbox at proton.me (scuffbox)
Date: Sun, 26 Jul 2026 15:33:38 +0000
Subject: Cipher Preferences Ignored for Kyber keys?
In-Reply-To:
References:
Message-ID:
On Sunday, 26 July 2026 at 15:35, Damien Goutte-Gattat wrote:
> On Sun Jul 26, 2026 at 12:07 AM BST, scuffbox via Gnupg-users wrote:
> > On upgrading to 2.5.x (2.5.20 and 2.5.21) recently to test Kyber keys,
> > I have noticed that any preferences relating to cipher choice are
> > being ignored.
> >
> > AES256 appears to be used for encryption to Kyber subkeys regardless
> > of the contents of the public key's cipher preferences and the local
> > config's personal-cipher-preferences.
>
> Indeed. This is a deliberate behaviour, see the discussion on issue
> https://dev.gnupg.org/T7472.
>
> When all the keys we are encrypting to are Kyber keys, then AES-256 is
> forcefully used regardless of the preferences.
Thanks for the reply and link to discussion (I did have a look before posting,
but obviously not hard enough).
I had wondered if the issue may have something to do with expected key size,
which appears to be the case. It would still be nice for preferences to be
honored where ciphers use a suitable key size though. GnuPG supports at least
two other ciphers with 256bit keys, TWOFISH and CAMELLIA256, which may be
used instead of AES256 if all recipients support/prefer them.
Perhaps the current approach could be re-visited at some point to cater for
suitable recipient/personal preferences?
--
Scuff
From wk at gnupg.org Mon Jul 27 11:06:15 2026
From: wk at gnupg.org (Werner Koch)
Date: Mon, 27 Jul 2026 11:06:15 +0200
Subject: Cipher Preferences Ignored for Kyber keys?
In-Reply-To:
(scuffbox via Gnupg-users's message of "Sun, 26 Jul 2026 15:33:38
+0000")
References:
Message-ID: <87qzko94zc.fsf@jacob.g10code.de>
On Sun, 26 Jul 2026 15:33, scuffbox said:
> honored where ciphers use a suitable key size though. GnuPG supports at least
> two other ciphers with 256bit keys, TWOFISH and CAMELLIA256, which may be
> used instead of AES256 if all recipients support/prefer them.
We already have way to many algorithms thus if there is an option to
limit them we should take this opportunity. AES256 is the cipher
algorithm everyone use and it has hardware support.
Twofish was an AES candidate which did not make it. Camellia was
included for pure political reasons. Frankly, I am glad that we have
not seen a demand for other national cipher algorithms in the last 20
years (Despite that there are at least a Russian and a Chinese set of
algorithms).
RFC-9980 (the alternative PQC for OpenPGP) actually allows AES-128 with
ML-KEM but uses some wishy-washy language to justify it.
Salam-Shalom,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL:
From rjh at sixdemonbag.org Mon Jul 27 18:59:47 2026
From: rjh at sixdemonbag.org (Robert J. Hansen)
Date: Mon, 27 Jul 2026 12:59:47 -0400
Subject: Cipher Preferences Ignored for Kyber keys?
In-Reply-To: <87qzko94zc.fsf@jacob.g10code.de>
References:
<87qzko94zc.fsf@jacob.g10code.de>
Message-ID:
> Twofish was an AES candidate which did not make it. Camellia was
> included for pure political reasons.
For others who wonder:
IDEA was included for PGP 2.6 support. In 1993 IDEA was a pretty good
option for civilian cryptography. It hasn't really been a defensible
choice for anything since '98 or so. We still support it.
3DES was included because back in the mid-'90s during PGP 5 development
there was some concern over the IDEA algorithm being patented and PRZ
wanting an emergency last-ditch fallback.
CAST5 was included because PGP 5 used it as a default instead of the
patented IDEA. There's been no real cause for it since '99.
BLOWFISH was included because ... ? Nobody's ever explained that to me
except to vaguely say "patents". It was there in GnuPG 1.0 and PGP 7,
both dating from '99-'00, and has never really been needed.
TWOFISH came about because in '99 some PGP financial backers were really
getting nervous over how PGP 5 was dependent on patented algorithms. PRZ
was under a lot of pressure to add a patent-free modern cipher,
preferably with government backing, to PGP. The AES competition was
underway and TWOFISH was a front-runner. PRZ gambled TWOFISH would
become AES, and put it into PGP 7. Almost as soon as he did this
Rijndael was selected to become AES, but the press releases saying
TWOFISH was being introduced to PGP 7 had already been drafted.
DSA signatures and Elgamal encryption keys were added because PGP 5 was
still trying to get away from the RSA patent. PGP 5 misnamed them as
"Diffie-Hellman" because of some business deal with the company pushing
DSA/Elg as an RSA alternative, or so I heard.
Elgamal signatures were added because ... I am unaware of the case for
including these. It was widely regarded as a mistake.
RIPEMD160 was included because some people objected intensely to PGP 5
using SHA-1 as a hash algorithm, on the grounds SHA-1 was designed at NSA.
The cipher zoo is real. It's not an embarrassment, but ... it really is
a legacy of the software patents of the late '90s. Even today, thirty
years later, we're still seeing the consequences.
> not seen a demand for other national cipher algorithms in the last 20
> years (Despite that there are at least a Russian and a Chinese set of
> algorithms).
And Ukrainian. DSTU-7456.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL:
From rjh at sixdemonbag.org Mon Jul 27 19:56:25 2026
From: rjh at sixdemonbag.org (Robert J. Hansen)
Date: Mon, 27 Jul 2026 13:56:25 -0400
Subject: Cipher Preferences Ignored for Kyber keys?
In-Reply-To:
References:
<87qzko94zc.fsf@jacob.g10code.de>
Message-ID:
> Elgamal signatures were added because ... I am unaware of the case for
> including these. It was widely regarded as a mistake.
Patent claims and fear of NSA-designed algorithms, that was the drive
for Elgamal signatures, now I remember. Sorry for the oversight.
> And Ukrainian. DSTU-7456.
DSTU-7564, sorry. Commonly called Kupyna/?????? outside of government
service, I think.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL:
From waltman at pobox.com Tue Jul 28 02:36:31 2026
From: waltman at pobox.com (Walt Mankowski)
Date: Mon, 27 Jul 2026 20:36:31 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
Message-ID:
Hi,
I'm trying to understand some odd behavior I'm seeing in gpg. I've had
my key since 1999 and I've got dozens of signatures on it. But when I
run
gpg --list-sigs
I only see my own self-signatures. However, if I add the
--with-colons flag:
gpg --list-sigs --with-colons
then I see what I expected to see, namely dozens of signatures
scrolling for several hundred lines of text. You can see the full
output at
https://gist.github.com/waltman/682b890a8db9244c6cbcb9867f6e8435
I don't see anything in the manpage that suggests that the
--with-colons flag would cause such a radical difference in the
length of the output, only in the formatting.
Does anyone know what might be going on here?
Thanks.
Walt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
From rjh at sixdemonbag.org Tue Jul 28 03:44:01 2026
From: rjh at sixdemonbag.org (Robert J. Hansen)
Date: Mon, 27 Jul 2026 21:44:01 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To:
References:
Message-ID:
> I'm trying to understand some odd behavior I'm seeing in gpg. I've had
> my key since 1999 and I've got dozens of signatures on it. But when I
> run
A partial answer:
-----
sig:?::1:9710B89BCA57AD7C:1104308002:1105517602:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1105474213:1106683813:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1106640560:1107850160:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1107807915:1109017515:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1108780465:1109990065:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1110013668:1111223268:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1111310073:1112519673:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1112519896:1113729496:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1113726620:1114936220:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1113769839:1114979439:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1114978523:1116188123:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1116146221:1117355821:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1116146221:1117355821:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1116319455:1117529055:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1117485606:1118695206:::[User ID not
found]:10x:::::2:
sig:?::1:9710B89BCA57AD7C:1117571920:1118781520:::[User ID not
found]:10x:::::2:
-----
See all those signatures coming from the same certificate? GnuPG treats
only the most recent signature from a certificate as being the
definitive one. For instance, a revoked certificate will have a self
signature and a revocation signature: the revsig is newer, so it governs.
The human-friendly interface suppresses a lot of data that isn't
relevant (such as, e.g., signatures that aren't being considered). The
--with-colons interface is meant for machines to process and reveals a
lot more data.
This doesn't account for everything you're seeing (I don't think), but
it does account for a lot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL:
From niveditharao.kulkarni at gmail.com Mon Jul 27 06:19:50 2026
From: niveditharao.kulkarni at gmail.com (niveditharao.kulkarni at gmail.com)
Date: Mon, 27 Jul 2026 09:49:50 +0530
Subject: GnuPG 2.4.8 / Kleopatra Hanging - gpg --list-keys and keyboxd
Unresponsive on Windows Server
In-Reply-To: <20260724150452.638f6c19@idea26>
References:
<20260724150452.638f6c19@idea26>
Message-ID:
Hi,
Thank you Alexander, for the response and helpful reply.
Your second suggestion was exactly the cause. We found that the socket
files in the GnuPG home dir were stale. S.keboxd in particular had a
last modified timestamp frozen on the day the failure began and was never
updated after that. We stopped all GnuPG processes and renamed those socket
files to .bak, which forced GnuPG to regenerate them on the next run.
Encryption started working immediately.
Thank you
Best regards
Nivedta
On Fri, Jul 24, 2026 at 6:35?PM Alexander Kulbartsch <
alexander.kulbartsch at gnupg.com> wrote:
> Hello Niveditha!
>
> From what you wrote in your detailed description I assume you
> installed Gpg4win 4.4.1. But for automation you use the gpg CLI
> tool.
>
> Since that version a few fixes to the keyboxd were made. So I
> recommend that you install a recent version. The current release
> is 5.0.2.
> (Don't mind the major release number change, the crypto is
> fully compatible with the previous versions.)
>
> If you are still on Windows Server 16, Gpg4win 4.4.1 was the
> latest supported version, because of a QT bug for old Windows
> versions. But you can use the recent CLI gpg version.
>
> Another idea:
> In case you started gpg with another user than usual one, the
> socket files might have wrong rights. Try to delete them here:
> %LOCALAPPDATA%\gnupg\S.*
>
> Hope that helps!
>
> Best regards
> Alexander
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jb-gnumlists at wisemo.com Tue Jul 28 13:27:00 2026
From: jb-gnumlists at wisemo.com (Jakob Bohm)
Date: Tue, 28 Jul 2026 13:27:00 +0200
Subject: QuickerHash
In-Reply-To: <4c3b8a52-934c-41c9-b826-3ae2d2a9d3d5@sixdemonbag.org>
References: <4c3b8a52-934c-41c9-b826-3ae2d2a9d3d5@sixdemonbag.org>
Message-ID: <16c82245-9676-312b-e005-263f7c7104fe@wisemo.com>
On 25/07/2026 10:22, Robert J. Hansen via Gnupg-users wrote:
> This isn't GnuPG-related, but it *is* Free Software and about digital
> security education. Following long-standing custom here we get a little
> leeway to go off-topic.
>
> A friend of mine contributes to online security by training journalists,
> human rights workers, political organizers, and more in effective
> digital security. A couple of weeks ago he lamented to me the moment he
> tries to teach people how to use hash algorithms to verify downloads,
> half the people get scared because they're unaccustomed to working with
> terminals and they're afraid of breaking things.
>
> On the GUI front things are also pretty bad. There are ways built into
> each OS to do hashes, but it usually involves right-clicks, large
> context menus, and other such. His students need something simpler.
>
> So, what the heck: I put together a tool that met his needs.
>
> QuickerHash is a crossplatform tool that aims for a pleasant-looking UI
> that's laser-focused on digital security education and being a
> specialized tool for nontechnical users. The UI is provided by FlatLAF,
> so it should look and feel pretty much like JetBrains' IDEs (which use
> their own customized fork of FlatLAF).
>
> https://github.com/rjhansen/quickerhash/releases will get you the 1.0.
>
Another easy to use tool is to use a browser extension that improves
the download user interface.? Many of these extensions helpfully display
the common hashes as a tooltip for each downloaded file or offers it on a
short right click menu in the improved UI.
Figuring out which extension to recognize is left as an exercise for the
teacher or textbook author.
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 S?borg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
From jb-gnumlists at wisemo.com Tue Jul 28 13:37:45 2026
From: jb-gnumlists at wisemo.com (Jakob Bohm)
Date: Tue, 28 Jul 2026 13:37:45 +0200
Subject: Cipher Preferences Ignored for Kyber keys?
In-Reply-To:
References:
<87qzko94zc.fsf@jacob.g10code.de>
Message-ID: <37b3c496-1e31-9977-0ff3-a2a60b008e4c@wisemo.com>
On 27/07/2026 19:56, Robert J. Hansen via Gnupg-users wrote:
>> Elgamal signatures were added because ... I am unaware of the case for
>> including these. It was widely regarded as a mistake.
> Patent claims and fear of NSA-designed algorithms, that was the drive
> for Elgamal signatures, now I remember. Sorry for the oversight.
Also, El Gamal's DH-based signature algorithm was an independently
designed predecessor of DSA,specifically because: 1. The DSA
simplification to reduce some fields to the hash size (notnecessarily
160 bits!) was a later optimization of ElGamal by NSA.? 2. The RSA
security conjecture had not yet accumulated enough evidence to be
trusted, specifically there was no hard evidencethat breaking an RSA
key was as NP-hard as the discrete logarithm problem.
>> And Ukrainian. DSTU-7456.
> DSTU-7564, sorry. Commonly called Kupyna/?????? outside of government
> service, I think.
>
For long term security, having at least two sets of up to date algorithms
is considered good practice because attacks always get stronger, never
weaker (except of cause the cost of hardware, which is now increasing).
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 S?borg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
From waltman at pobox.com Tue Jul 28 13:46:49 2026
From: waltman at pobox.com (Walt Mankowski)
Date: Tue, 28 Jul 2026 07:46:49 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To:
References:
Message-ID:
On Mon, Jul 27, 2026 at 09:44:01PM -0400, Robert J. Hansen via Gnupg-users wrote:
> > I'm trying to understand some odd behavior I'm seeing in gpg. I've had
> > my key since 1999 and I've got dozens of signatures on it. But when I
> > run
>
> A partial answer:
>
> -----
> sig:?::1:9710B89BCA57AD7C:1104308002:1105517602:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1105474213:1106683813:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1106640560:1107850160:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1107807915:1109017515:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1108780465:1109990065:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1110013668:1111223268:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1111310073:1112519673:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1112519896:1113729496:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1113726620:1114936220:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1113769839:1114979439:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1114978523:1116188123:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1116146221:1117355821:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1116146221:1117355821:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1116319455:1117529055:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1117485606:1118695206:::[User ID not
> found]:10x:::::2:
> sig:?::1:9710B89BCA57AD7C:1117571920:1118781520:::[User ID not
> found]:10x:::::2:
> -----
>
> See all those signatures coming from the same certificate? GnuPG treats
> only the most recent signature from a certificate as being the
> definitive one. For instance, a revoked certificate will have a self
> signature and a revocation signature: the revsig is newer, so it governs.
>
> The human-friendly interface suppresses a lot of data that isn't
> relevant (such as, e.g., signatures that aren't being considered). The
> --with-colons interface is meant for machines to process and reveals a
> lot more data.
>
> This doesn't account for everything you're seeing (I don't think), but
> it does account for a lot.
Thanks, this gives me something to look into. I also can see some of
that, in an abbreviated format, by running `--list-sigs --verbose`.
One of the things I'm finding confusing is that while I've revoked
some UIDs because they're for old email addresses I no longer have
access to, I've never revoked the original key that dates back to
1999. Most of those dozens of signatures I have were from back in the
2000s when my local LUG used to have keysigning parties at our monthly
meetings.
But since that original key was dsa1024, in the past few years I've
added subkeys with stronger encryption. My latest signing key is
rsa4096. Do I need to get people to sign the new subkey as well?
Walt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
From deceroadiez at gmx.es Tue Jul 28 13:57:32 2026
From: deceroadiez at gmx.es (deceroadiez at gmx.es)
Date: Tue, 28 Jul 2026 13:57:32 +0200
Subject: QuickerHash
In-Reply-To: <16c82245-9676-312b-e005-263f7c7104fe@wisemo.com>
References: <4c3b8a52-934c-41c9-b826-3ae2d2a9d3d5@sixdemonbag.org>
<16c82245-9676-312b-e005-263f7c7104fe@wisemo.com>
Message-ID: <36ef5e730264fad7e91df7d89251edf99e3e494b.camel@gmx.es>
El mar, 28-07-2026 a las 13:27 +0200, Jakob Bohm via Gnupg-users
escribi?:
> On 25/07/2026 10:22, Robert J. Hansen via Gnupg-users wrote:
> > This isn't GnuPG-related, but it *is* Free Software and about
> > digital
> > security education. Following long-standing custom here we get a
> > little
> > leeway to go off-topic.
> >
> > A friend of mine contributes to online security by training
> > journalists,
> > human rights workers, political organizers, and more in effective
> > digital security. A couple of weeks ago he lamented to me the moment
> > he
> > tries to teach people how to use hash algorithms to verify
> > downloads,
> > half the people get scared because they're unaccustomed to working
> > with
> > terminals and they're afraid of breaking things.
> >
> > On the GUI front things are also pretty bad. There are ways built
> > into
> > each OS to do hashes, but it usually involves right-clicks, large
> > context menus, and other such. His students need something simpler.
> >
> > So, what the heck: I put together a tool that met his needs.
> >
> > QuickerHash is a crossplatform tool that aims for a pleasant-looking
> > UI
> > that's laser-focused on digital security education and being a
> > specialized tool for nontechnical users. The UI is provided by
> > FlatLAF,
> > so it should look and feel pretty much like JetBrains' IDEs (which
> > use
> > their own customized fork of FlatLAF).
> >
> > https://github.com/rjhansen/quickerhash/releases?will get you the
> > 1.0.
> >
> Another easy to use tool is to use a browser extension that improves
> the download user interface.? Many of these extensions helpfully
> display
> the common hashes as a tooltip for each downloaded file or offers it
> on a
> short right click menu in the improved UI.
>
> Figuring out which extension to recognize is left as an exercise for
> the
> teacher or textbook author.
>
> Enjoy
>
> Jakob
Hello.
I'm a Linux user and I have installed GTKHash and is enough for me.
Regards
--
OpenPGP fingerprint
-------------------
CBA7 480A 5FBC DB67 857F 54D3 434C 945C 1278 2FD7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL:
From rjh at sixdemonbag.org Tue Jul 28 14:48:54 2026
From: rjh at sixdemonbag.org (Robert J. Hansen)
Date: Tue, 28 Jul 2026 08:48:54 -0400
Subject: Cipher Preferences Ignored for Kyber keys?
In-Reply-To: <37b3c496-1e31-9977-0ff3-a2a60b008e4c@wisemo.com>
References:
<87qzko94zc.fsf@jacob.g10code.de>
<37b3c496-1e31-9977-0ff3-a2a60b008e4c@wisemo.com>
Message-ID:
> 160 bits!) was a later optimization of ElGamal by NSA.? 2. The RSA
> security conjecture had not yet accumulated enough evidence to be
> trusted, specifically there was no hard evidencethat breaking an RSA
> key was as NP-hard as the discrete logarithm problem.
Neither RSAP nor DLP are believed to be NP-Hard.
From jb-gnumlists at wisemo.com Tue Jul 28 17:33:56 2026
From: jb-gnumlists at wisemo.com (Jakob Bohm)
Date: Tue, 28 Jul 2026 17:33:56 +0200
Subject: QuickerHash
In-Reply-To: <36ef5e730264fad7e91df7d89251edf99e3e494b.camel@gmx.es>
References: <4c3b8a52-934c-41c9-b826-3ae2d2a9d3d5@sixdemonbag.org>
<16c82245-9676-312b-e005-263f7c7104fe@wisemo.com>
<36ef5e730264fad7e91df7d89251edf99e3e494b.camel@gmx.es>
Message-ID: <319aad44-b4b7-2037-d4b8-15373e382a8d@wisemo.com>
On 28/07/2026 13:57, D0A10 via Gnupg-users wrote:
> El mar, 28-07-2026 a las 13:27 +0200, Jakob Bohm via Gnupg-users
> escribi?:
>> On 25/07/2026 10:22, Robert J. Hansen via Gnupg-users wrote:
>>> This isn't GnuPG-related, but it *is* Free Software and about
>>> digital
>>> security education. Following long-standing custom here we get a
>>> little
>>> leeway to go off-topic.
>>>
>>> A friend of mine contributes to online security by training
>>> journalists,
>>> human rights workers, political organizers, and more in effective
>>> digital security. A couple of weeks ago he lamented to me the moment
>>> he
>>> tries to teach people how to use hash algorithms to verify
>>> downloads,
>>> half the people get scared because they're unaccustomed to working
>>> with
>>> terminals and they're afraid of breaking things.
>>>
>>> On the GUI front things are also pretty bad. There are ways built
>>> into
>>> each OS to do hashes, but it usually involves right-clicks, large
>>> context menus, and other such. His students need something simpler.
>>>
>>> So, what the heck: I put together a tool that met his needs.
>>>
>>> QuickerHash is a crossplatform tool that aims for a pleasant-looking
>>> UI
>>> that's laser-focused on digital security education and being a
>>> specialized tool for nontechnical users. The UI is provided by
>>> FlatLAF,
>>> so it should look and feel pretty much like JetBrains' IDEs (which
>>> use
>>> their own customized fork of FlatLAF).
>>>
>>> https://github.com/rjhansen/quickerhash/releases?will get you the
>>> 1.0.
>>>
>> Another easy to use tool is to use a browser extension that improves
>> the download user interface.? Many of these extensions helpfully
>> display
>> the common hashes as a tooltip for each downloaded file or offers it
>> on a
>> short right click menu in the improved UI.
>>
>> Figuring out which extension to recognize is left as an exercise for
>> the
>> teacher or textbook author.
>>
>> Enjoy
>>
>> Jakob
> Hello.
> I'm a Linux user and I have installed GTKHash and is enough for me.
>
Just to clarify: My suggestion was for something ultra-easy for
journalists etc., not a GNOME-only standalone GUI tool.
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 S?borg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
From wk at gnupg.org Tue Jul 28 17:39:20 2026
From: wk at gnupg.org (Werner Koch)
Date: Tue, 28 Jul 2026 17:39:20 +0200
Subject: Cipher Preferences Ignored for Kyber keys?
In-Reply-To: (Robert
J. Hansen via Gnupg-users's message of "Mon, 27 Jul 2026 12:59:47
-0400")
References:
<87qzko94zc.fsf@jacob.g10code.de>
Message-ID: <878q6v86on.fsf@jacob.g10code.de>
On Mon, 27 Jul 2026 12:59, Robert J. Hansen said:
> Elgamal signatures were added because ... I am unaware of the case for
> including these. It was widely regarded as a mistake.
I used Elgamal for signing in the first GnuPG version because at that
time (1997/1998) it was not clear whether DSA could be used with out
patent infringement. According to the NSA they would defend patent
claims for use in the US. We (me and some other folks) were not sure
whether this would also be held up for non-US implementations/users.
Remember that even the RSA patent expiration date was only December
2000. Though in fall 2000 the patent holders released it to the public
3 months earlier and we could remove the need for the external RSA
plugin (which was served from a server in Denmark becuase the IDEA
plugin was not patented in Denmark).
> a legacy of the software patents of the late '90s. Even today, thirty
> years later, we're still seeing the consequences.
Right. That trouble countinued ~15 more years in respect to ECC.
> And Ukrainian. DSTU-7456.
Didn't know, it is not in Libgcrypt.
Salam-Shalom,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL:
From wk at gnupg.org Tue Jul 28 17:45:48 2026
From: wk at gnupg.org (Werner Koch)
Date: Tue, 28 Jul 2026 17:45:48 +0200
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To: (Robert
J. Hansen via Gnupg-users's message of "Mon, 27 Jul 2026 21:44:01
-0400")
References:
Message-ID: <874ihj86dv.fsf@jacob.g10code.de>
On Mon, 27 Jul 2026 21:44, Robert J. Hansen said:
> -----
> sig:?::1:9710B89BCA57AD7C:1104308002:1105517602:::[User ID not
> found]:10x:::::2:
You should use --checks-igs instead of --list-sig to actually check the
signatures. You may try
--list-options show-unusable-sigs
to also include signature which are not shown due to their use of SHA-1.
From 2.2.18:
* gpg: Prepare against chosen-prefix SHA-1 collisions in key
signatures. This change removes all SHA-1 based key signature
from the web-of-trust. Note that this includes all key signature
created with dsa1024 keys. (Version 2.2.18 limits this to key
signatures newer than 2019-01-19.) The new option
--allow-weak-key-signatues can be used to override the new and
safer behaviour. [#4755,CVE-2019-14855]
Shalom-Salam,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL:
From waltman at pobox.com Tue Jul 28 19:12:00 2026
From: waltman at pobox.com (Walt Mankowski)
Date: Tue, 28 Jul 2026 13:12:00 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To: <874ihj86dv.fsf@jacob.g10code.de>
References:
<874ihj86dv.fsf@jacob.g10code.de>
Message-ID:
On Tue, Jul 28, 2026 at 05:45:48PM +0200, Werner Koch via Gnupg-users wrote:
> You should use --checks-igs instead of --list-sig to actually check the
> signatures. You may try
>
> --list-options show-unusable-sigs
>
> to also include signature which are not shown due to their use of SHA-1.
gpg --check-sigs --list-options show-unusable-sigs waltman
pub dsa1024 1999-10-20 [SC]
77D4D81DC47D68FA9E9E6A7C5DF19E2B67A7B584
uid [ultimate] Walter C. Mankowski
sig!3 5DF19E2B67A7B584 2001-07-05 [self-signature]
sig!3 5DF19E2B67A7B584 2004-02-09 [self-signature]
gpg: Note: third-party key signatures using the SHA1 algorithm are rejected
gpg: (use option "--allow-weak-key-signatures" to override)
sig%2 0393622EE1021E7E 2004-06-22 [Invalid digest algorithm]
sig!3 16BF8C4C0D1DAE4B 2003-01-10 Jeff Abrahamson (PhD student at Drexel University, roughly 2002 - 2007.)
sig% 1ADE8C07B1B29E59 2009-07-16 [Invalid digest algorithm]
sig! 3FEFE6DA8501AFEA 2003-01-09 LeRoy D. Cressy (ldc)
sig!3 49820C1CEA59038E 2002-11-07 Stephen Gran
sig! 63DEA2E21E4CD1E8 2001-11-21 Eric J. Roode
sig!3 C7C4DA125477A8C3 2004-03-08 Jon Moore
sig! D106E9E1B3D9BDEB 2008-01-04 Michael Greb
sig! DAC1A9BD742B67FE 2002-04-19 Eric Allan Lucas
sig! F5E85A700CF9091A 2001-08-08 gabriel rosenkoetter
uid [ultimate] Walter C. Mankowski
sig!3 5DF19E2B67A7B584 2005-01-29 [self-signature]
sig% 1ADE8C07B1B29E59 2009-07-16 [Invalid digest algorithm]
sig!3 3FEFE6DA8501AFEA 2005-02-06 LeRoy D. Cressy (ldc)
sig! D106E9E1B3D9BDEB 2008-01-04 Michael Greb
uid [ultimate] Walter C. Mankowski
sig!3 5DF19E2B67A7B584 2025-06-20 [self-signature]
sub elg1024 1999-10-20 [E]
sig! 5DF19E2B67A7B584 1999-10-20 [self-signature]
sub rsa4096 2025-06-20 [S]
sig! 5DF19E2B67A7B584 2025-06-20 [self-signature]
gpg: 16 good signatures
gpg: 99 signatures not checked due to missing keys
gpg: 3 signatures not checked due to errors
Thanks, this explains what's going on. First, I need to use
--check-sigs instead of --list-sigs. Those signatures listed as valid
are all old dsa1024 sigs, but they appear to still be valid.
The second issue is that I'm missing most of my signatures. That makes
sense. My keychain was getting unweildy so I'd decided when I moved to
a new box that I'd download keys as I needed them.
Walt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 870 bytes
Desc: not available
URL:
From wk at gnupg.org Wed Jul 29 08:53:30 2026
From: wk at gnupg.org (Werner Koch)
Date: Wed, 29 Jul 2026 08:53:30 +0200
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To: (Walt Mankowski via Gnupg-users's
message of "Tue, 28 Jul 2026 13:12:00 -0400")
References:
<874ihj86dv.fsf@jacob.g10code.de>
Message-ID: <87zeza70d1.fsf@jacob.g10code.de>
On Tue, 28 Jul 2026 13:12, Walt Mankowski said:
> --check-sigs instead of --list-sigs. Those signatures listed as valid
> are all old dsa1024 sigs, but they appear to still be valid.
Probably you mean that this are signature on your dsa1024 key. The
removal of SHA-1 signatures affects only 3rd party signatures and not
your self-signatures.
Salam-Shalom,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL:
From gniibe at fsij.org Wed Jul 29 09:11:02 2026
From: gniibe at fsij.org (NIIBE Yutaka)
Date: Wed, 29 Jul 2026 16:11:02 +0900
Subject: libgpg-error 1.61: t-printf failure on powerpc64-linux
In-Reply-To:
References:
<87o6g8wtup.fsf@haruna.fsij.org>
Message-ID: <875x1yjmnt.fsf@haruna.fsij.org>
Hello,
"C. Neidahl" wrote:
> I suppose the most exact check for this situation would have to inspect
> some more LDBL_*
> defines, otherwise 128-bit IEEE-backed long double
> would end up not getting checked.
I see the situation.
In gnulib, to detect "double double" situation, it checks:
LDBL_MANT_DIG == 106
I wonder if it works better than use of LDBL_IS_IEC_60559 macro.
When we use the macro LDBL_IS_IEC_60559 (new for C23), if there is an
environment (of PowerPC 64 architecture) where LDBL_IS_IEC_60559 is not
defined (say, compiler is older) but actually uses standard floating
point, I'm afraid it skips the test.
--
From rjh at sixdemonbag.org Wed Jul 29 15:09:34 2026
From: rjh at sixdemonbag.org (Robert J. Hansen)
Date: Wed, 29 Jul 2026 09:09:34 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To:
References:
<874ihj86dv.fsf@jacob.g10code.de>
<87zeza70d1.fsf@jacob.g10code.de>
Message-ID: <64db2d3e-77e7-4267-a5f2-ad80c826882a@sixdemonbag.org>
> Thanks for the clarification. Are dsa1024 signatures also SHA-1
> signatures?
The short answer is "not necessarily, but very much usually".
DSA involves doing some complicated math on a 160-bit value. There's no
hard requirement the value be generated by SHA-1, and GnuPG/PGP 5+
provides RIPEMD160 as an alternative, but in reality hardly anyone uses
RIPEMD160.
This should not be confused with DSS, the Digital Signature *Standard*,
which specifies DSA with SHA-1 (and only SHA-1).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL:
From rjh at sixdemonbag.org Wed Jul 29 15:36:18 2026
From: rjh at sixdemonbag.org (Robert J. Hansen)
Date: Wed, 29 Jul 2026 09:36:18 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To: <64db2d3e-77e7-4267-a5f2-ad80c826882a@sixdemonbag.org>
References:
<874ihj86dv.fsf@jacob.g10code.de>
<87zeza70d1.fsf@jacob.g10code.de>
<64db2d3e-77e7-4267-a5f2-ad80c826882a@sixdemonbag.org>
Message-ID:
I should also say --
> DSA involves doing some complicated math on a 160-bit value. There's no
> hard requirement the value be generated by SHA-1, and GnuPG/PGP 5+
> provides RIPEMD160 as an alternative, but in reality hardly anyone uses
> RIPEMD160.
>
> This should not be confused with DSS, the Digital Signature *Standard*,
> which specifies DSA with SHA-1 (and only SHA-1).
(This is the longer answer I alluded to in the preceding message)
DSA has been around for more than thirty years and in those decades has
undergone several rounds of change. The answer I gave there, while
correct, is only correct for *one specific early version* of DSA -- the
version GnuPG and PGP implemented at the time you first created your DSA
certificate.
The final version of DSA that used the conventional discrete logarithm
problem as a basis for security allowed up to 3072-bit keys using
256-bit hashes. However, this has since been declared obsolete by FIPS,
and the latest versions of the standard use DSA defined on an Edwards
curve, I believe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL:
From waltman at pobox.com Wed Jul 29 15:02:51 2026
From: waltman at pobox.com (Walt Mankowski)
Date: Wed, 29 Jul 2026 09:02:51 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To: <87zeza70d1.fsf@jacob.g10code.de>
References:
<874ihj86dv.fsf@jacob.g10code.de>
<87zeza70d1.fsf@jacob.g10code.de>
Message-ID:
On Wed, Jul 29, 2026 at 08:53:30AM +0200, Werner Koch via Gnupg-users wrote:
> On Tue, 28 Jul 2026 13:12, Walt Mankowski said:
>
> > --check-sigs instead of --list-sigs. Those signatures listed as valid
> > are all old dsa1024 sigs, but they appear to still be valid.
>
> Probably you mean that this are signature on your dsa1024 key. The
> removal of SHA-1 signatures affects only 3rd party signatures and not
> your self-signatures.
Thanks for the clarification. Are dsa1024 signatures also SHA-1
signatures?
Walt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
From waltman at pobox.com Wed Jul 29 16:06:01 2026
From: waltman at pobox.com (Walt Mankowski)
Date: Wed, 29 Jul 2026 10:06:01 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To: <64db2d3e-77e7-4267-a5f2-ad80c826882a@sixdemonbag.org>
References:
<874ihj86dv.fsf@jacob.g10code.de>
<87zeza70d1.fsf@jacob.g10code.de>
<64db2d3e-77e7-4267-a5f2-ad80c826882a@sixdemonbag.org>
Message-ID:
On Wed, Jul 29, 2026 at 09:09:34AM -0400, Robert J. Hansen via Gnupg-users wrote:
> > Thanks for the clarification. Are dsa1024 signatures also SHA-1
> > signatures?
> The short answer is "not necessarily, but very much usually".
>
> DSA involves doing some complicated math on a 160-bit value. There's no
> hard requirement the value be generated by SHA-1, and GnuPG/PGP 5+
> provides RIPEMD160 as an alternative, but in reality hardly anyone uses
> RIPEMD160.
Thanks. I guess this helps explain why some of the signatures listed
by --check-sigs as usable were dsa1024, while others were unusable. My
dsa1024 signature is listed as usable on other people's keys, so I
guess that means my key doesn't use SHA-1?
Walt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
From rjh at sixdemonbag.org Wed Jul 29 16:47:09 2026
From: rjh at sixdemonbag.org (Robert J. Hansen)
Date: Wed, 29 Jul 2026 10:47:09 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To:
References:
<874ihj86dv.fsf@jacob.g10code.de>
<87zeza70d1.fsf@jacob.g10code.de>
<64db2d3e-77e7-4267-a5f2-ad80c826882a@sixdemonbag.org>
Message-ID: <3dbbe0e8-fa2d-443f-8938-5400707880f6@sixdemonbag.org>
> Thanks. I guess this helps explain why some of the signatures listed
> by --check-sigs as usable were dsa1024, while others were unusable. My
> dsa1024 signature is listed as usable on other people's keys, so I
> guess that means my key doesn't use SHA-1?
Your certificate doesn't have a single RIPEMD160 signature on it.
Let's look at the machine-readable signature line:
sig:?::17:DBC3EBFC33E3FE56:995424332::::[User ID not found]:10x:::::2:
That next-to-final field, the '2', represents the hash algorithm used in
the signature. 2 corresponds to SHA-1. RIPEMD160 corresponds to 3.
You don't have a single signature line with a 3 in that field.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL:
From waltman at pobox.com Wed Jul 29 17:49:38 2026
From: waltman at pobox.com (Walt Mankowski)
Date: Wed, 29 Jul 2026 11:49:38 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To: <3dbbe0e8-fa2d-443f-8938-5400707880f6@sixdemonbag.org>
References:
<874ihj86dv.fsf@jacob.g10code.de>
<87zeza70d1.fsf@jacob.g10code.de>
<64db2d3e-77e7-4267-a5f2-ad80c826882a@sixdemonbag.org>
<3dbbe0e8-fa2d-443f-8938-5400707880f6@sixdemonbag.org>
Message-ID:
On Wed, Jul 29, 2026 at 10:47:09AM -0400, Robert J. Hansen via Gnupg-users wrote:
> > Thanks. I guess this helps explain why some of the signatures listed
> > by --check-sigs as usable were dsa1024, while others were unusable. My
> > dsa1024 signature is listed as usable on other people's keys, so I
> > guess that means my key doesn't use SHA-1?
>
> Your certificate doesn't have a single RIPEMD160 signature on it.
>
> Let's look at the machine-readable signature line:
>
> sig:?::17:DBC3EBFC33E3FE56:995424332::::[User ID not found]:10x:::::2:
>
> That next-to-final field, the '2', represents the hash algorithm used in
> the signature. 2 corresponds to SHA-1. RIPEMD160 corresponds to 3.
>
> You don't have a single signature line with a 3 in that field.
I've got some 10's later on with my self-signatures for my newer
rsa4096 keys.
Maybe I'm confused by the output of --check-sigs. Since most of the
keys have a "!" and a few have "%", and since % represents a
non-supported algorithm, I was thinking that the % rows must have been
the SHA-1 sigs and the ! rows were OK.
If in fact the vast majority of signatures on my key are invalid
because of SHA-1, and most of my signatures are also invalid, I'm
wondering if it might make sense to start fresh with a new key that
doesn't have all that potentially confusing old baggage.
Walt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
From rjh at sixdemonbag.org Wed Jul 29 18:44:26 2026
From: rjh at sixdemonbag.org (Robert J. Hansen)
Date: Wed, 29 Jul 2026 12:44:26 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To:
References:
<874ihj86dv.fsf@jacob.g10code.de>
<87zeza70d1.fsf@jacob.g10code.de>
<64db2d3e-77e7-4267-a5f2-ad80c826882a@sixdemonbag.org>
<3dbbe0e8-fa2d-443f-8938-5400707880f6@sixdemonbag.org>
Message-ID:
> I've got some 10's later on with my self-signatures for my newer
> rsa4096 keys.
Unless you're looking to write a GnuPG output parser, I suggest not even
looking at the machine-readable output. There's nothing useful to you there.
10 is a SHA512 signature, JFYI. But please, there's nothing for you there.
> If in fact the vast majority of signatures on my key are invalid
> because of SHA-1, and most of my signatures are also invalid, I'm
> wondering if it might make sense to start fresh with a new key that
> doesn't have all that potentially confusing old baggage.
The best time to migrate away from DSA keys was in the year 2000, when
the RSA patent was relinquished. The second best time is now.
Seriously: I don't mean to be a jerk, but you're 26 years late to the party.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL:
From waltman at pobox.com Thu Jul 30 02:59:04 2026
From: waltman at pobox.com (Walt Mankowski)
Date: Wed, 29 Jul 2026 20:59:04 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To:
References:
<874ihj86dv.fsf@jacob.g10code.de>
<87zeza70d1.fsf@jacob.g10code.de>
<64db2d3e-77e7-4267-a5f2-ad80c826882a@sixdemonbag.org>
<3dbbe0e8-fa2d-443f-8938-5400707880f6@sixdemonbag.org>
Message-ID:
On Wed, Jul 29, 2026 at 12:44:26PM -0400, Robert J. Hansen via Gnupg-users wrote:
> > I've got some 10's later on with my self-signatures for my newer
> > rsa4096 keys.
>
> Unless you're looking to write a GnuPG output parser, I suggest not even
> looking at the machine-readable output. There's nothing useful to you there.
Except for proof that the signatures were in fact made with SHA-1.
Look, I'm just trying to understand what's going on. It's not exactly
straightforward.
> The best time to migrate away from DSA keys was in the year 2000, when
> the RSA patent was relinquished. The second best time is now.
>
> Seriously: I don't mean to be a jerk, but you're 26 years late to the party.
Seriously, I don't mean to be a jerk either, but this also means that
gpg has had 26 years to make the output be more consistent and easier
to understand. Why do --list-sigs and --check-sigs show different
signatures? Why is --check-sigs saying that some of my signatures are
usable if they were made with SHA-1? What does "usable" even mean in
this context?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
From rjh at sixdemonbag.org Thu Jul 30 04:36:53 2026
From: rjh at sixdemonbag.org (Robert J. Hansen)
Date: Wed, 29 Jul 2026 22:36:53 -0400
Subject: Many more sigs show when I add --with-colons to --list-sigs
In-Reply-To:
References:
<874ihj86dv.fsf@jacob.g10code.de>
<87zeza70d1.fsf@jacob.g10code.de>
<64db2d3e-77e7-4267-a5f2-ad80c826882a@sixdemonbag.org>
<3dbbe0e8-fa2d-443f-8938-5400707880f6@sixdemonbag.org>
Message-ID: <6d075f69-30ed-4d96-8373-1a68489b905a@sixdemonbag.org>
> Except for proof that the signatures were in fact made with SHA-1. Look,
> I'm just trying to understand what's going on. It's not exactly
> straightforward.
This is sort of like a LibreOffice user asking detailed questions about
why their word processor document is structured the way it is. There are
answers, but the answers are highly technical and not really relevant to
how you use GnuPG. It's reasonable to ask, "do you really need to go
down this rabbit hole?"
If you do, then I'm happy to explain GnuPG data structures and
internals. But if you don't, I'd like to devote my limited free time to
other pursuits. :)
> Why do --list-sigs and --check-sigs show different signatures?
I'm afraid this answer will seem condescending: I don't mean it to be.
This answer is accurate.
Different commands show different outputs because they do different things.
To list a signature, the only thing GnuPG needs is the signature. If you
give me a document with 100 signatures and I ask it to list the
signatures, I'll get a hundred signatures back.
To check a signature, GnuPG needs the document, the signature, and the
public part of the certificate used for signing. If you give me a
document with 100 signatures and I only have the public cert for one,
GnuPG will report *one* signature check and say "99 signatures went
unchecked for lack of a public cert."
Different commands show different outputs because they do different things.
> Seriously, I don't mean to be a jerk either, but this also means that
> gpg has had 26 years to make the output be more consistent and easier
> to understand.
Yep. If you're saying GnuPG could use some work, everyone here is in
agreement. Take a look at our bug tracker sometime.
If you know C and cryptographic engineering, things will get better
faster if you help.
(Also, for the record, I'm not part of the GnuPG development team. I'm
just a user. I'm speaking only as a member of the community, not as part
of the team.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: