Page MenuHome GnuPG
Feed Advanced Search

Sep 15 2021

werner triaged T5600: Provide module name/version API for FIPS 140-3 as Normal priority.

We can easily extend the gcry_get_config API. You can give a key or have it to return all infos. For examle
"gpgconf --show-versions" prints this about libgcrypt:

Sep 15 2021, 5:24 PM · libgcrypt, FIPS, Bug Report
werner added a comment to T5520: Fix tests in FIPS mode.

If a configure switch to disable Brainpool curves will be added, we also need to add a switch to disable NIST curves.

Sep 15 2021, 11:05 AM · FIPS, libgcrypt, Bug Report

Sep 14 2021

werner closed T5594: some possible minor things in the manpage as Resolved.
Sep 14 2021, 3:16 PM · Documentation, gnupg, Bug Report
werner committed rG7f8ccb67e337: doc: Clarify some gpg keyring options (authored by werner).
doc: Clarify some gpg keyring options
Sep 14 2021, 3:16 PM
werner added a comment to T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

Thanks. I meanwhile pushed a fix to 2.3 so that a warning is shown if the low bits are set.

Sep 14 2021, 3:01 PM · Support, gnupg, OpenPGP
werner closed T5560: gpg.exe interrupt batch execution in WindowsXp as Invalid.
Sep 14 2021, 2:03 PM · Windows, gnupg (gpg22), Bug Report
werner closed T4972: GPG: Add Option to force passphrase constraints for symmetric encryption, too as Resolved.

Won't be implemented as a new option because --check-sym-passphrase-pattern and --check-passphrase-pattern (since 2.2.30) can be used to implement the same in a more flexible way.

Sep 14 2021, 2:02 PM · gnupg (gpg22), Feature Request
werner lowered the priority of T5085: Filter APDUs in log output from Normal to Low.
Sep 14 2021, 2:00 PM · gnupg, Feature Request, scd
werner added a comment to T5120: Incompatible Ed25519 secret key (no-encryption).

gniibe: What's the state of this?

Sep 14 2021, 1:59 PM · gnupg (gpg22), Bug Report
werner lowered the priority of T5301: Decrypting a message that has multiple SKESK packets sometimes fails from Normal to Wishlist.

Currently I see no need to fix this for 2.2

Sep 14 2021, 1:58 PM · gnupg (gpg22), Bug Report
werner closed T5322: gpg erroring when the terminal is too small to show the ncurses pinentry dialog as Resolved.
Sep 14 2021, 1:56 PM · gnupg (gpg22), gpgagent, pinentry, Bug Report
werner closed T5536: Backport the extended gpg-check-pattern to 2.2 as Resolved.

Released with 2.2.30 (T5519)

Sep 14 2021, 1:52 PM · gnupg (gpg22)
werner committed rG13e4e322eb14: Update release signing keys. (authored by werner).
Update release signing keys.
Sep 14 2021, 1:51 PM
werner committed rG67e1834ad402: scd: Remove context reference counting from pc/sc (authored by werner).
scd: Remove context reference counting from pc/sc
Sep 14 2021, 1:44 PM
werner committed rGdbfb7f809b89: gpg: Print a warning when importing a bad cv25519 secret key. (authored by werner).
gpg: Print a warning when importing a bad cv25519 secret key.
Sep 14 2021, 1:01 PM
werner added a comment to T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

Right, as long as there is only one format in widespread use (based on a long existing 4880bis draft) only this format should go over the wire.
Thus, it is a matter how the key is exported. In cryptography you should never have several options - one clearly defined format is what you want. We have had enough trouble with PGP5 peculiarities but in that case their implementation had more users and thus GnuPG had to work around it. Not good, but there was no standard at all at this time.

Sep 14 2021, 11:14 AM · Support, gnupg, OpenPGP
werner committed rD8b8811c50311: web: Update signature keys. (authored by werner).
web: Update signature keys.
Sep 14 2021, 10:39 AM
werner committed rG18e94c72294a: Update release signing keys. (authored by werner).
Update release signing keys.
Sep 14 2021, 10:16 AM

Sep 13 2021

werner committed rG117afec01891: common: New envvar GNUPG_EXEC_DEBUG_FLAGS. (authored by werner).
common: New envvar GNUPG_EXEC_DEBUG_FLAGS.
Sep 13 2021, 5:37 PM
werner committed rGf2b01025c3da: common: New envvar GNUPG_EXEC_DEBUG_FLAGS. (authored by werner).
common: New envvar GNUPG_EXEC_DEBUG_FLAGS.
Sep 13 2021, 5:37 PM
werner changed the status of T5597: First 8 bytes of cache item left in clear in memory after decryption. from Open to Testing.
Sep 13 2021, 4:51 PM · libgcrypt, symmetric, Bug Report
werner committed rC792f607c58c0: cipher: Clear AESWRAP scratch area immediately after use (authored by werner).
cipher: Clear AESWRAP scratch area immediately after use
Sep 13 2021, 4:50 PM
werner committed rC69e2e498f6a1: cipher: Clear AESWRAP scratch area immediately after use (authored by werner).
cipher: Clear AESWRAP scratch area immediately after use
Sep 13 2021, 4:50 PM
werner committed rCdf4fe02794bb: cipher: Clear AESWRAP scratch area immediately after use (authored by werner).
cipher: Clear AESWRAP scratch area immediately after use
Sep 13 2021, 4:46 PM
werner added a comment to T5597: First 8 bytes of cache item left in clear in memory after decryption..

And well, the context area of the handle is also wiped at gcry_cipher_close time. Thus any standard use of aeswrap (open,encrypt/decrypt,close) is not affected.

Sep 13 2021, 4:42 PM · libgcrypt, symmetric, Bug Report
werner claimed T5597: First 8 bytes of cache item left in clear in memory after decryption..

Good catch. Thanks. This patch should fix the leak:

Sep 13 2021, 4:39 PM · libgcrypt, symmetric, Bug Report
werner moved T5520: Fix tests in FIPS mode from Next to Ready for release on the FIPS board.
Sep 13 2021, 11:17 AM · FIPS, libgcrypt, Bug Report
werner moved T4894: FIPS: RSA/DSA/ECDSA are missing hashing operation from Backlog to Next on the FIPS board.
Sep 13 2021, 11:16 AM · FIPS, libgcrypt, Feature Request
werner moved T5520: Fix tests in FIPS mode from Backlog to Next on the FIPS board.
Sep 13 2021, 11:11 AM · FIPS, libgcrypt, Bug Report
werner added a comment to T4894: FIPS: RSA/DSA/ECDSA are missing hashing operation.

My suggestion for a combined function is a simple:

Sep 13 2021, 9:53 AM · FIPS, libgcrypt, Feature Request
werner added a comment to T5594: some possible minor things in the manpage.

Yes, --no-keyring should enough for the subset of gpg commands which do not need keys.

Sep 13 2021, 9:37 AM · Documentation, gnupg, Bug Report
werner added a comment to T5560: gpg.exe interrupt batch execution in WindowsXp.

Sorry, GnuPG proper has no context menu or any graphic user interface. You need to install Gpg4win for this. Regarding use of gpg by other programs: There has been no change - other programs need to use the status-fd/command-fd interface and that has always been defined as UTF-8 and not as any native codepage. Please ask the makers of The Bat what is going wrong there.

Sep 13 2021, 9:35 AM · Windows, gnupg (gpg22), Bug Report
werner claimed T5574: Doubled characters in Windows console output.

The breakaway job notices should definitely only be emitted in verbose mode. For the other things I need to check.

Sep 13 2021, 6:30 AM · gnupg, Windows, Bug Report
werner claimed T5596: Libgcrypt documentation: corrections to obvious misprints.
Sep 13 2021, 6:28 AM · libgcrypt, patch, Documentation, Bug Report

Sep 11 2021

werner added a comment to T1621: Support multiple cards (not just readers).

GnuPG stable (i.e. 2.3.2) has full support for several readers and tokens. This won't be backported to the LTS versions (2.2), though. Better switch.

Sep 11 2021, 11:16 AM · gnupg, Feature Request

Sep 9 2021

werner committed rG92f5cbb01874: doc: Clarify some gpg keyring options (authored by werner).
doc: Clarify some gpg keyring options
Sep 9 2021, 5:47 PM
werner lowered the priority of T5079: Add compliance flag to trustlist.txt from High to Normal.
Sep 9 2021, 3:08 PM · gnupg22, gnupg24 (gnupg-2.4.1), Restricted Project, Feature Request
werner committed rG265d993c7644: doc: Minor update of the AD schema. (authored by werner).
doc: Minor update of the AD schema.
Sep 9 2021, 1:31 PM
werner committed rG255d4d5815d0: sm: Add LotW support to the key listing (authored by werner).
sm: Add LotW support to the key listing
Sep 9 2021, 1:31 PM
werner committed rGPAfaaf0b7b72bd: core: Map an LotW OID in DNs (authored by werner).
core: Map an LotW OID in DNs
Sep 9 2021, 1:13 PM
werner added a project to T5494: gpg-agent doesn't support security-key (sk) key types: gnupg (gpg23).

Interesting idea.

Sep 9 2021, 1:03 PM · gnupg24, gnupg (gpg23), Feature Request, ssh

Sep 8 2021

werner edited projects for T5589: add context menu for normal operation after installation, added: gpg4win, FAQ, Installer; removed Feature Request.

This is a hard to solve problem in the NSIS installer: If you accidently started more than one installer they may both register files for update at the next restart. Now after the restart the file which is to be renamed does not anymore exist and thus a component or even library is not available. In this case it is GpgEX, the explorer plugin.

Sep 8 2021, 7:09 PM · Installer, FAQ, gpg4win
werner set the color for Installer to Green.
Sep 8 2021, 7:08 PM
werner created Installer.
Sep 8 2021, 7:07 PM
werner added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

In the editor you find a cloud symbol with an arrow to upload a file. Use this and and the file id will be pasted at the cursos, like here

Sep 8 2021, 6:58 PM · Bug Report, gpg4win
werner added projects to T5594: some possible minor things in the manpage: gnupg, Documentation.
Sep 8 2021, 6:53 PM · Documentation, gnupg, Bug Report
werner committed rGf32994b0bf07: scd: Support PC/SC for "getinfo reader_list". (authored by werner).
scd: Support PC/SC for "getinfo reader_list".
Sep 8 2021, 3:52 PM
werner added a comment to T5590: OpenPGP: Curve 448, modernize?.

The major problem I see is that an implementation needs to add more crypto primitives to support ths curve. And we can expect that 448 will eventually get in widespread use. We already have all primitives but would inhibit the creation of minimal implementations.

Sep 8 2021, 7:53 AM · rationale, gnupg, OpenPGP

Sep 7 2021

werner committed rG192113552faa: scd: Fix possible assertion in close_pcsc_reader. (authored by werner).
scd: Fix possible assertion in close_pcsc_reader.
Sep 7 2021, 4:44 PM
werner added a comment to T5576: New set of API for public key cryptography.

I see.

Sep 7 2021, 10:37 AM · libgcrypt, Feature Request
werner committed rG4b2cfec2dc2f: agent: Fix segv in GET_PASSPHRASE (regression) (authored by werner).
agent: Fix segv in GET_PASSPHRASE (regression)
Sep 7 2021, 9:43 AM
werner committed rGaf3b1901549b: agent: Fix segv in GET_PASSPHRASE (regression) (authored by werner).
agent: Fix segv in GET_PASSPHRASE (regression)
Sep 7 2021, 9:43 AM
werner added 1 auditor(s) for rKLEOPATRA966b5db50d72: Avoid use of private Qt API by dropping workaround in accessibleWidgetFactory: ikloecker.
Sep 7 2021, 9:13 AM
werner closed T5555: Cannot add existing ECDSA key as a signing subkey as Resolved.
Sep 7 2021, 9:11 AM · gnupg24, Bug Report
werner closed T5577: Null ptr dereference in gpg-agent (gnupg 2.3.2) as Resolved.

Fixed in 2.3 and 2.2

Sep 7 2021, 9:04 AM · segv, gnupg (gpg23), Bug Report
werner added a comment to rGb89b1f35c29c: agent: Ignore passphrase constraints for a generated passphrase..

The task is T5577 (which I accidently closed during triage)

Sep 7 2021, 7:56 AM
werner reopened T5577: Null ptr dereference in gpg-agent (gnupg 2.3.2) as "Open".

(I closed this by accident)

Sep 7 2021, 7:54 AM · segv, gnupg (gpg23), Bug Report

Sep 6 2021

werner claimed T5588: GnuPG 2.3.2 --disable-tofu --disable-sqlite unusable.
Sep 6 2021, 7:44 PM · gnupg (gpg23), Gentoo, Bug Report
werner claimed T5540: Update fipsdrv and cavs_driver.pl.
Sep 6 2021, 11:25 AM · FIPS, libgcrypt
werner moved T5540: Update fipsdrv and cavs_driver.pl from Backlog to Next on the FIPS board.
Sep 6 2021, 11:25 AM · FIPS, libgcrypt
werner changed the status of T5541: Envvar LIBGCRYPT_FORCE_FIPS_MODE from Open to Testing.
Sep 6 2021, 11:22 AM · Feature Request, FIPS, libgcrypt
werner moved T5523: jitter entropy RNG update from Backlog to Next on the FIPS board.
Sep 6 2021, 11:19 AM · FIPS, libgcrypt
werner claimed T5523: jitter entropy RNG update.
Sep 6 2021, 11:19 AM · FIPS, libgcrypt
werner moved T5576: New set of API for public key cryptography from Backlog to Next on the FIPS board.
Sep 6 2021, 11:18 AM · libgcrypt, Feature Request
werner moved T5541: Envvar LIBGCRYPT_FORCE_FIPS_MODE from Backlog to Ready for release on the FIPS board.
Sep 6 2021, 11:17 AM · Feature Request, FIPS, libgcrypt

Sep 5 2021

werner added projects to T5588: GnuPG 2.3.2 --disable-tofu --disable-sqlite unusable: Gentoo, gnupg (gpg23).

You could use --disable-keyboxd which should fix this. However, there will eventually be no more way to build w/o Sqlite and thus I would suggest not to allow disabling of sqlite.

Sep 5 2021, 6:25 PM · gnupg (gpg23), Gentoo, Bug Report
werner closed T5587: src/posix-io.c: fix build with glibc >= 2.34 as Resolved.

Thanks. This has already been fixed in July with rM4b64774b6d13ffa4f59dddf947a97d61bcfa2f2e

Sep 5 2021, 11:47 AM · gpgme

Sep 3 2021

werner added a comment to T5585: Passphrase File Carriage Return New Line \r\n Issue in Windows.

Yes, we read up to the first LF. This has been the traditional way of PGP2 and is still used by mail programs like Mutt.

Sep 3 2021, 8:42 AM · Documentation, gnupg, Bug Report

Sep 2 2021

werner claimed T5585: Passphrase File Carriage Return New Line \r\n Issue in Windows.

I see that problem but gpg has traditionally not interpreted the passphrase in any way. Right, for Windows we could strip the CR but I fear that this might break other users scripts/passphrases. However there should be a warning in the manual.

Sep 2 2021, 7:25 PM · Documentation, gnupg, Bug Report

Aug 31 2021

werner renamed T5583: Support RSCS dedicated OpenPGP for OID. from Support RSCS dedicated OpenPGP fpr OID. to Support RSCS dedicated OpenPGP for OID..
Aug 31 2021, 5:26 PM · gnupg26, Restricted Project, scd
werner triaged T5583: Support RSCS dedicated OpenPGP for OID. as Normal priority.
Aug 31 2021, 5:26 PM · gnupg26, Restricted Project, scd
werner triaged T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result as High priority.
Aug 31 2021, 7:58 AM · toolchain, libgcrypt, Bug Report
werner closed T5580: gpg2 proves signature correct, even if empty file is removed as Resolved.

gpg verifies the content of the file and not its meta data (file name). Thus an empty file is identical to a non-existing file. The OpenPGP protocol does not allow to distinguish between a detached signature and an embedded signature if you sign an empty file.

Aug 31 2021, 7:53 AM · gnupg, FAQ

Aug 30 2021

werner closed T5577: Null ptr dereference in gpg-agent (gnupg 2.3.2) as Resolved.

Aihhh, my fault. seems that a new version it not too far away.

Aug 30 2021, 4:42 PM · segv, gnupg (gpg23), Bug Report

Aug 29 2021

werner added a comment to T5574: Doubled characters in Windows console output.

We will look into it but nevertheless I have to remark that this this portable thing is dangerous to use and you should avoid it.

Aug 29 2021, 5:06 PM · gnupg, Windows, Bug Report
werner added a comment to T2749: gpg --secret-keyring is silently ignored.

Not at all. But 2.1 was such a large change that users really should have read the announcement and think about their use case. We have exensivly communicated the changes and can expect that users test their new installation. IF you have further comments, please use the mailing list.

Aug 29 2021, 5:03 PM · Support, gnupg
werner added projects to T5575: Supplying more than one passphrase or PIN using passphrase-fd: yubikey, gnupg.

You can write your own pinentry script instead of the loopback thing. The use the envvar PINENTRY-USER_DATA to communicate with the pinentry.

Aug 29 2021, 5:00 PM · gnupg, yubikey, Feature Request

Aug 28 2021

werner committed rGfdb726f77de5: gpg: Print a note about the obsolete option --secret-keyring. (authored by werner).
gpg: Print a note about the obsolete option --secret-keyring.
Aug 28 2021, 6:41 PM
werner committed rG1f726b412358: gpg: Print a note about the obsolete option --secret-keyring. (authored by werner).
gpg: Print a note about the obsolete option --secret-keyring.
Aug 28 2021, 6:41 PM
werner closed T2749: gpg --secret-keyring is silently ignored as Resolved.
Aug 28 2021, 6:40 PM · Support, gnupg
werner added a comment to T2749: gpg --secret-keyring is silently ignored.

The option has been removed form the repo more than 11 years ago and the gnupg with this changes (2.1.0) was released 7 years ago including an extensive writeup on all the major changes including notices that the secret keys will be converted and moved.

Aug 28 2021, 6:33 PM · Support, gnupg
werner added a comment to T5574: Doubled characters in Windows console output.

I wonder about the spelling errors. For particular

Aug 28 2021, 6:13 PM · gnupg, Windows, Bug Report
werner added a comment to T5574: Doubled characters in Windows console output.

Please show us the output of

Aug 28 2021, 5:49 PM · gnupg, Windows, Bug Report

Aug 27 2021

werner committed rGb03a38355d77: Fix announcement mail URL (authored by werner).
Fix announcement mail URL
Aug 27 2021, 3:25 PM
werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2021q3/000463.html on T5519: Release GnuPG 2.2.30.
Aug 27 2021, 3:23 PM · Release Info, gnupg (gpg22)
werner committed rMaaf448b1e81e: build: Fix make distcheck problem. (authored by werner).
build: Fix make distcheck problem.
Aug 27 2021, 2:14 PM
werner committed rGad3dabc9fb64: gpg: Change default and max AEAD chunk size to 4 MiB (authored by werner).
gpg: Change default and max AEAD chunk size to 4 MiB
Aug 27 2021, 12:10 PM

Aug 26 2021

werner changed the edit policy for T5571: Release GnuPG 2.2.31.
Aug 26 2021, 9:27 PM · Release Info, gnupg (gpg22)
werner changed the edit policy for T5519: Release GnuPG 2.2.30.
Aug 26 2021, 9:27 PM · Release Info, gnupg (gpg22)
werner closed T5519: Release GnuPG 2.2.30 as Resolved.
Aug 26 2021, 9:26 PM · Release Info, gnupg (gpg22)
werner committed rDa659946403a2: swdb: GnuPG 2.2.30 (authored by werner).
swdb: GnuPG 2.2.30
Aug 26 2021, 9:23 PM
werner committed rGf64e0f63d637: Post release updates (authored by werner).
Post release updates
Aug 26 2021, 9:19 PM
werner committed rGd583e750a668: Release 2.2.30 (authored by werner).
Release 2.2.30
Aug 26 2021, 9:19 PM
werner triaged T5571: Release GnuPG 2.2.31 as Low priority.
Aug 26 2021, 9:12 PM · Release Info, gnupg (gpg22)
werner added a project to T5570: Add to detect external interference validation the card type : Securite carte à puce : Feature Request.

Is there another way to to detect your card (I assume a Javacard) without relying on the openpgp card application vendor-id like we do it with the Yubikey? I want to avoid a possible early but expensive AID selection just to get the vendor-id.

Aug 26 2021, 6:29 PM · Feature Request, scd
werner renamed T5567: Empty Kleoptara windows on Windows-11 preview from Trying to sign a file to Empty Kleoptara windows on Windows-11 preview.
Aug 26 2021, 6:17 PM · Windows, Bug Report, gpg4win
werner closed T5567: Empty Kleoptara windows on Windows-11 preview as Resolved.

It is quite likeley that things don't work on a non-released Windows version. We have not tested with the released version but some of us already tried Windows-11 and the gog4win development versions do work. Please wait for the next Gpg4win version or an update of the Windows-11 preview.

Aug 26 2021, 6:16 PM · Windows, Bug Report, gpg4win
werner committed rGf151587d85e7: po: Auto update (authored by werner).
po: Auto update
Aug 26 2021, 6:12 PM
werner committed rG712930f8dd4c: po: Update German translation (authored by werner).
po: Update German translation
Aug 26 2021, 6:12 PM
werner added projects to T5569: pinentry qt4 fails to compile in pinentry 1.2.0: pinentry, Bug Report.
Aug 26 2021, 2:17 PM · Bug Report, pinentry