[Announce] GnuPG 2.5.2 released

Werner Koch wk at gnupg.org
Fri Dec 6 11:02:08 CET 2024


Hello!

We are pleased to announce the availability of a new GnuPG release:
version 2.5.2.  This release is the third of a series of public testing
releases eventually leading to a new stable version 2.6.  We also
release a first Beta version of the forthcoming Gpg4win 5.0.

The main features in the 2.6 series are improvements for 64 bit Windows
and the introduction of a 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.


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.2 (2024-12-05)
================================================
         [compared to version 2.5.1]

  * gpg: Add option 16 to --full-gen-key to create ECC+Kyber.  [T6638]

  * gpg: For composite algos add the algo string to the colons
    listings.  [T6638]

  * gpg: Validate the trustdb after the import of a trusted key.
    [T7200]

  * gpg: Exclude expired trusted keys from the key validation process.
    [T7200]

  * gpg: Fix a wrong decryption failed status for signed and OCB
    encrypted messages without a signature verification key.  [T7042]

  * gpg: Retain binary representation for import->export with Ed25519
    key signatures.  [T7426]

  * gpg: Fix comparing ed448 to ed25519 with --assert-pubkey-algo.
    [T7425]

  * gpg: Avoid a failure exit code for expired ultimately trusted
    keys.  [T7351]

  * gpg: Emit status error for an invalid ADSK.  [T7322]

  * gpg: Allow the use of an ADSK subkey as ADSK subkey.  [T6882]

  * gpg: Fix --quick-set-expire for V5 subkey fingerprints.  [T7298]

  * gpg: Robust error handling for SCD READKEY.  [T7309]

  * gpg: Fix cv25519 v5 export regression.  [T7316]

  * gpgsm: Nearly fourfold speedup of validated certificate listings.
    [T7308]

  * gpgsm: Improvement for some rare P12 files.  [rGf50dde6269]

  * gpgsm: Terminate key listing on output write error.  [T6185]

  * agent: Add option --status to the LISTRUSTED command.
    [rG4275d5fa7a]

  * agent: Fix detection of the yet unused trustflag de-vs.  [T5079]

  * agent: Allow ssh to sign data larger than the Assuan line length.
    [T7436]

  * keyboxd: Fix a race condition on the database handle.  [T7294]

  * dirmngr: A list of used URLs for loaded CRLs is printed first in
    the output of the LISTCRL command.  [T7337]

  * scd: More mitigations against lock ups with multiple cards or
    apps.  [T7323, T7402]

  * gpgtar: Use log-file from common.conf only in --batch mode.
    [rGb389e04ef5]

  * gpgtar: Fix directory creation during extraction.  [T7380]

  * gpg-mail-tube: Minor fixes.

  * gpgconf: Add list flag to trusted-key et al.  [T7313]

  * Implement GNUPG_ASSUME_COMPLIANCE envvar and registry key for
    testing de-vs compliance mode.  [rGb287fb5775,rG7b0be541a9]

  * Enable additional runtime protections in speedo builds for
    Windows.  [rG39aa206dc5]

  * Fix a race condition in creating the socket directory.  [T7332]

  * Fix a build problem on macOS (missing unistd.h).  [T7193]


  Release-info: https://dev.gnupg.org/T7289


Getting the Software
====================

Please follow the instructions found at <https://gnupg.org/download/> 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
<https://gnupg.org/download/mirrors.html>.  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.2.tar.bz2 (7959k)
 https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.5.2.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.2_20241205.exe (5497k)
 https://gnupg.org/ftp/gcrypt/binary/gnupg-w32-2.5.2_20241205.exe.sig

The source used to build this 32 bit Windows installer is available at

 https://gnupg.org/ftp/gcrypt/gnupg/gnupg-w32-2.5.2_20241205.tar.xz (16M)
 https://gnupg.org/ftp/gcrypt/gnupg/gnupg-w32-2.5.2_20241205.tar.xz.sig

This Windows 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 but replace the make target "native" by "this-native".

For Windows a *Beta* version of Gpg4win, our full featured Gpg4win
installer including this version of GnuPG as well as Kleopatra GUI
and a PDF editor can be retrieved from here:

 https://files.gpg4win.org/gpg4win-5.0.0-beta32.exe (43M)
 https://files.gpg4win.org/gpg4win-5.0.0-beta32.exe.sig

with the source code at:

 https://files.gpg4win.org/gpg4win-5.0.0-beta32.tar.xz (260M)
 https://files.gpg4win.org/gpg4win-5.0.0-beta32.tar.xz.sig



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.2.tar.bz2 you would use this command:

     gpg --verify gnupg-2.5.2.tar.bz2.sig gnupg-2.5.2.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.2.tar.bz2, you run the command like this:

     sha1sum gnupg-2.5.2.tar.bz2

   and check that the output matches the next line:

25697dd115703c4ba7b9d6a1a00ede65a5cbc7cc  gnupg-2.5.2.tar.bz2
f85f5ad0c6db370f3497fc2cc1e1da9207cfa21a  gnupg-w32-2.5.2_20241205.tar.xz
324a2fa030f1cef1e49d12944b6c3cf34aeef0fd  gnupg-w32-2.5.2_20241205.exe
18125b4e12356ba36a99a6c3656a3482fe4218bd  gpg4win-5.0.0-beta32.tar.xz
6a62cec9deb77751fd8e0e040a87f35d81e813b6  gpg4win-5.0.0-beta32.exe


Internationalization
====================

This version of GnuPG has support for 26 languages with Chinese
(traditional and simplified), Czech, French, 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.

In case of build problems specific to this release please first check
https://dev.gnupg.org/T7289 for updated information.  

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.  Several full-time employed
developers and contractors are working exclusively on GnuPG and closely
related software like Libgcrypt, GPGME, Kleopatra 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.

List of Release Signing Keys:
To guarantee that a downloaded GnuPG 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 four keys:

  rsa3072 2017-03-17 [expires: 2027-03-15]
  5B80 C575 4298 F0CB 55D8  ED6A BCEF 7E29 4B09 2E28
  Andre Heinecke (Release Signing Key)

  ed25519 2020-08-24 [expires: 2030-06-30]
  6DAA 6E64 A76D 2840 571B  4902 5288 97B8 2640 3ADA
  Werner Koch (dist signing 2020)

  ed25519 2021-05-19 [expires: 2027-04-04]
  AC8E 115B F73E 2D8D 47FA  9908 E98E 9B2D 19C6 C8BD
  Niibe Yutaka (GnuPG Release Key)

  brainpoolP256r1 2021-10-15 [expires: 2029-12-31]
  02F3 8DFF 731F F97C B039  A1DA 549E 695E 905B A208
  GnuPG.com (Release Signing Key 2021)

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.

-- 
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: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-announce/attachments/20241206/805c3f6d/attachment.sig>


More information about the Gnupg-announce mailing list