Page MenuHome GnuPG
Feed All Stories

Oct 12 2021

werner committed rGd7d26eff851a: Post release updates (authored by werner).
Post release updates
Oct 12 2021, 6:11 PM
werner committed rG9470d0338364: Release 2.3.3 (authored by werner).
Release 2.3.3
Oct 12 2021, 6:11 PM
werner committed rG10f52f9bf3bc: speedo: Put the keyboxd into the Windows installer (authored by werner).
speedo: Put the keyboxd into the Windows installer
Oct 12 2021, 6:11 PM
werner committed rGbcd5feec0e91: tests: New way to make use of gpgconf.ctl in tests. (authored by werner).
tests: New way to make use of gpgconf.ctl in tests.
Oct 12 2021, 6:11 PM
werner triaged T5654: Release GnuPG 2.3.4 as Low priority.
Oct 12 2021, 6:09 PM · gnupg (gpg23), Release Info
swimmerm added a project to T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present: UI.
Oct 12 2021, 6:08 PM · gnupg (gpg22), UI, Not A Bug, gpg4win
swimmerm added a project to T5621: No '%ProgramData%\GNU', '%ProgramData%\GNU\etc', '%ProgramData%\GNU\etc\gnupg' or '%ProgramData%\GNU\etc\gnupg\trusted-certs' or '%ProgramData%\GNU\etc\gnupg\extra-certs' get created after setup: Documentation.
Oct 12 2021, 5:22 PM · Documentation, Not A Bug, gpg4win
swimmerm reopened T5621: No '%ProgramData%\GNU', '%ProgramData%\GNU\etc', '%ProgramData%\GNU\etc\gnupg' or '%ProgramData%\GNU\etc\gnupg\trusted-certs' or '%ProgramData%\GNU\etc\gnupg\extra-certs' get created after setup as "Open".

Hi Werner,

Oct 12 2021, 5:20 PM · Documentation, Not A Bug, gpg4win
werner triaged T5653: de-vs and GnuPG 2.3.3 error as Normal priority.
Oct 12 2021, 4:56 PM · Restricted Project, gnupg (gpg23), kleopatra
rupor-github added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@bernhard Sorry for the delayed answer, was on sabbatical.

Oct 12 2021, 4:56 PM · Not A Bug, workaround, gnupg24, Windows, ssh
werner triaged T5652: Show the GnuPG version in Kleopatra as Normal priority.
Oct 12 2021, 4:44 PM · Restricted Project, gpg4win, Feature Request, kleopatra
gc100 added a comment to T5634: Failure with: make DESTDIR=xxx install .

Excellent thank you.

Oct 12 2021, 2:49 PM · Bug Report
werner added a comment to T5634: Failure with: make DESTDIR=xxx install .

I won't anymore follow the path of first doing a test install. That is way to hairy in respect to "make distcheck". Change is already in my working directory.

Oct 12 2021, 2:38 PM · Bug Report
werner added a comment to T5590: OpenPGP: Curve 448, modernize?.

Is that really required? Should we wait what the conlusion of the WG will be?

Oct 12 2021, 2:35 PM · rationale, gnupg, OpenPGP
werner added a comment to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

Bison used to be the de-facto standard yacc ;-)

Oct 12 2021, 2:33 PM · toolchain, libksba, Bug Report
gniibe added a comment to T5590: OpenPGP: Curve 448, modernize?.

I'm reading RFC5297, which says:

SIV can be used as a drop-in replacement for any specification that uses [RFC3394] or [RFC3217], including the aforementioned use. It is a more general purpose solution as it allows for associated data to be specified.

Oct 12 2021, 1:35 PM · rationale, gnupg, OpenPGP
gniibe claimed T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

I think that a simple way is defining a table (string -> token) by ourselves in yylex, not enabling %token-table.
(Then, we don't need to depend on the feature of string with %token, which is not supported by POSIX yacc.)

Oct 12 2021, 9:50 AM · toolchain, libksba, Bug Report
werner added a comment to T5644: Heuristic for default reader detection.

On my new Windows 10 laptop I see a "Windows Hello for Business 1". Thus put everything with "Windows Hello" at the end of the list or skip unless a reader-port is set. IIRC there are device with "virtual" or "Virtual" in their name, they don't make sense for us either. I would also put devices with "SCM" or "Identiv" to the top of the list. In particular the substrings "SPR532" seems to identify the Identiv SPR332 which is what we use here and actualay a suggested reader for GnUPG VS-Desktop.

Oct 12 2021, 8:44 AM · Restricted Project, Feature Request, gnupg (gpg22)
gniibe added a comment to T5550: Fix check_binary_integrity.

Now configure with
--enable-hmac-binary-check="I know engineers. They love to change things." works.

Oct 12 2021, 8:25 AM · FIPS, libgcrypt
gniibe added a project to T5550: Fix check_binary_integrity: Restricted Project.
Oct 12 2021, 8:24 AM · FIPS, libgcrypt
gniibe committed rC10e02b90f65f: build: Support specifying HMAC key by --enable-hmac-binary-check. (authored by gniibe).
build: Support specifying HMAC key by --enable-hmac-binary-check.
Oct 12 2021, 8:24 AM
gniibe added a comment to T5644: Heuristic for default reader detection.

Please tell me reader names to skip.

Oct 12 2021, 7:23 AM · Restricted Project, Feature Request, gnupg (gpg22)

Oct 11 2021

smlx added a comment to T5555: Cannot add existing ECDSA key as a signing subkey.

Note that I'm referring to file based keys, not card based.

Oct 11 2021, 7:52 PM · gnupg24, Bug Report
smlx reopened T5555: Cannot add existing ECDSA key as a signing subkey as "Open".

I tested this on 2.3, and it doesn't seem to be fixed. When adding an existing ECDSA subkey I don't get the option to choose whether to make it a signing or encrypting subkey. Instead it only allows me to choose an encrypting subkey.

Oct 11 2021, 7:45 PM · gnupg24, Bug Report
Laurent Montel <montel@kde.org> committed rLIBKLEOd6fbbb96d3ea: USe std::unique_ptr here (authored by Laurent Montel <montel@kde.org>).
USe std::unique_ptr here
Oct 11 2021, 7:26 PM
werner raised the priority of T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared from Normal to High.

Thanks for your findings. I recall that I read this in the announcement and cursed about this new tendency in GNU to break long standing APIs.

Oct 11 2021, 5:49 PM · toolchain, libksba, Bug Report
werner renamed T5649: Issue better error message for invalid OpenPGP RSA keys from GnuPG randomly generates invalid RSA signatures if secret key has P > Q. to Issue better error message for invalid OpenPGP RSA keys.
Oct 11 2021, 5:45 PM · gnupg24, OpenPGP, Feature Request
werner triaged T5649: Issue better error message for invalid OpenPGP RSA keys as Normal priority.

OpenPGP requires the P < U property and gpg does also. In some parts of the GnuPG we re-calculate the CRT parameters but not in these code paths. Right, a better error message would be appropriate. I'll turn this into a feature request.

Oct 11 2021, 5:45 PM · gnupg24, OpenPGP, Feature Request
werner triaged T5650: Check problems with gpgconf and global config files as High priority.
Oct 11 2021, 5:39 PM · Restricted Project, gnupg (gpg22)
ikloecker committed rKLEOPATRA7479e2713e32: Re-add possibility to set RELEASE_SERVICE_VERSION when running cmake (authored by ikloecker).
Re-add possibility to set RELEASE_SERVICE_VERSION when running cmake
Oct 11 2021, 4:47 PM
onickolay created T5649: Issue better error message for invalid OpenPGP RSA keys.
Oct 11 2021, 12:52 PM · gnupg24, OpenPGP, Feature Request
onickolay added a comment to T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

Fix for this issue landed RNP master, and will be included to the RNP v0.16.0 release.
Within fix:

  • new keys will be generated with correctly tweaked bits
  • using secret key with non-tweaked bits would issue a warning
  • CLI command --edit-key [--check-cv25519-bits | --fix-cv25519-bits] added, allowing to fix older key
Oct 11 2021, 12:35 PM · Support, gnupg, OpenPGP
gniibe moved T5645: RSA/DSA keygen modification for FIPS/ACVP testing from Backlog to Next on the FIPS board.
Oct 11 2021, 11:06 AM · libgcrypt, FIPS, Bug Report
gniibe claimed T5645: RSA/DSA keygen modification for FIPS/ACVP testing.
Oct 11 2021, 10:57 AM · libgcrypt, FIPS, Bug Report
gniibe added a comment to T5550: Fix check_binary_integrity.

I push a change: rC070935965763: build: Use KEY_FOR_BINARY_CHECK for --enable-hmac-binary-check..

Oct 11 2021, 10:34 AM · FIPS, libgcrypt
gniibe committed rC070935965763: build: Use KEY_FOR_BINARY_CHECK for --enable-hmac-binary-check. (authored by gniibe).
build: Use KEY_FOR_BINARY_CHECK for --enable-hmac-binary-check.
Oct 11 2021, 10:32 AM
adrianvovk added a comment to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

Looks like yytoknum was removed from Bison in version 3.8: http://git.savannah.gnu.org/cgit/bison.git/commit/?id=1efe31185ff6b0bc22ff527098971bedf1ace5f4

Oct 11 2021, 8:50 AM · toolchain, libksba, Bug Report
werner closed T5648: UPLOAD Keyserver / Kleopatra Gpg4win-3.1.16 Kleopatra as Resolved.

Please ask on a mailing list etc. This is a bug tracker and pnly very few people are reading your report.

Oct 11 2021, 8:45 AM · Support
werner closed T5647: UPLOAD Keyserver as Invalid.
Oct 11 2021, 8:42 AM
werner committed rGcf29c7dec0e8: Do not build keyxboxd if sqlite has been disabled. (authored by werner).
Do not build keyxboxd if sqlite has been disabled.
Oct 11 2021, 7:54 AM
werner committed rG257632f58d92: build: Let the release target also sign the wixlib. (authored by werner).
build: Let the release target also sign the wixlib.
Oct 11 2021, 7:54 AM
gniibe moved T5576: New set of API for public key cryptography from Next to Backlog on the FIPS board.
Oct 11 2021, 7:19 AM · libgcrypt, Feature Request
gniibe claimed T5644: Heuristic for default reader detection.
Oct 11 2021, 6:47 AM · Restricted Project, Feature Request, gnupg (gpg22)

Oct 10 2021

alois added a comment to T5648: UPLOAD Keyserver / Kleopatra Gpg4win-3.1.16 Kleopatra.

Danke -

Oct 10 2021, 7:47 PM · Support
alois created T5648: UPLOAD Keyserver / Kleopatra Gpg4win-3.1.16 Kleopatra.
Oct 10 2021, 7:46 PM · Support
alois created T5647: UPLOAD Keyserver.
Oct 10 2021, 7:38 PM
werner closed T5632: gpg-agent 2.3.2 conflicts with pcscd as Resolved.
Oct 10 2021, 7:04 PM · Not A Bug, yubikey, scd, gnupg (gpg23)
werner closed T3412: gpg-agent manual page says to always add GPG_TTY to `.bashrc` as Resolved.
Oct 10 2021, 7:02 PM · Not A Bug, gnupg
werner closed T5539: Key generation on OpenPGP Version 3.4 card fails as Resolved.

As long as we can't replicate this, it does not make sense to keep this bug open. Please re-open it if you run into it again in a replicatable way.

Oct 10 2021, 6:59 PM · can't replicate, OpenPGP, scd, Bug Report, gpg4win
werner closed T5613: GpgEX does not use CSIDL_LOCAL_APPDATA as Resolved.

Fixed in gpgex 1.0.8

Oct 10 2021, 6:53 PM · Windows, kleopatra, gpgex
werner closed T5622: 'HKLM\Software\GNU\GnuPG' registry key does not already exist after end of setup, but users might expect to find it as Resolved.
Oct 10 2021, 6:49 PM · Not A Bug, gpg4win
werner closed T5621: No '%ProgramData%\GNU', '%ProgramData%\GNU\etc', '%ProgramData%\GNU\etc\gnupg' or '%ProgramData%\GNU\etc\gnupg\trusted-certs' or '%ProgramData%\GNU\etc\gnupg\extra-certs' get created after setup as Resolved.

Sure they don't get created - they are optional.

Oct 10 2021, 6:48 PM · Documentation, Not A Bug, gpg4win
calestyo added a comment to T5646: indicate wrong passphrase via exit status.

I did in fact check --status-fd before, but I'm not sure whether it gives me the information I wanted.

Oct 10 2021, 5:12 PM · gnupg, FAQ
Hiddi added a comment to T2337: gpg command line language wrong.

In that case maybe GetUserDefaultUILanguage. Thank you for considering.

Oct 10 2021, 4:39 PM · gnupg24, Feature Request, gpg4win
werner edited projects for T2337: gpg command line language wrong, added: Feature Request, gnupg (gpg23); removed Info Needed, Bug Report, gnupg (gpg20).

Thanks for the info.

Oct 10 2021, 4:23 PM · gnupg24, Feature Request, gpg4win
werner closed T5646: indicate wrong passphrase via exit status as Resolved.

Please use the --status-fd interface. This yields all the info you need. An exit code is not distinct enough for such purpose and you need to check the status lines in any case. For scripting gpgme-tool or gpgme-json might be useful as well because they do all the nitty-gritty parts of using gpg correctly

Oct 10 2021, 4:15 PM · gnupg, FAQ
Hiddi reopened T2337: gpg command line language wrong as "Open".

Problem/Bug still persists in current version (gpg4win 3.1.16) --> reopen

Oct 10 2021, 3:12 PM · gnupg24, Feature Request, gpg4win
Laurent Montel <montel@kde.org> committed rLIBKLEOcf2f647027bf: USe std::unique_ptr (authored by Laurent Montel <montel@kde.org>).
USe std::unique_ptr
Oct 10 2021, 2:17 PM
Laurent Montel <montel@kde.org> committed rLIBKLEOcef7cd1d971e: GIT_SILENT: time to increase version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to increase version
Oct 10 2021, 11:20 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA98f419637674: GIT_SILENT: time to increase version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to increase version
Oct 10 2021, 11:19 AM
jukivili committed rC95425c6b0b96: cipher/sha256: fix 'accessing 32 bytes in a region of size 4' warnings (authored by jukivili).
cipher/sha256: fix 'accessing 32 bytes in a region of size 4' warnings
Oct 10 2021, 8:38 AM

Oct 9 2021

calestyo created T5646: indicate wrong passphrase via exit status.
Oct 9 2021, 6:15 PM · gnupg, FAQ
Laurent Montel <montel@kde.org> committed rKLEOPATRAfba4777db891: GIT_SILENT: prepare 5.18.3 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.18.3
Oct 9 2021, 9:28 AM
Laurent Montel <montel@kde.org> committed rLIBKLEO0f65cc21e56f: GIT_SILENT: prepare 5.18.3 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.18.3
Oct 9 2021, 9:27 AM

Oct 8 2021

werner closed T5472: Kleopatra not storing decrypted files as Resolved.
Oct 8 2021, 7:33 PM · Support, kleopatra, Bug Report
Jakuje added a comment to T5645: RSA/DSA keygen modification for FIPS/ACVP testing.

sorry for a confusion. We do not plan to certify DSA so disregard the second part of the patch.

Oct 8 2021, 4:17 PM · libgcrypt, FIPS, Bug Report
jarregui added a comment to T5472: Kleopatra not storing decrypted files.

Sorry, I just discovered that I had to click on "Save All" in order for the file to be actually stored in the disk and then it works.

Oct 8 2021, 3:57 PM · Support, kleopatra, Bug Report
jarregui added a comment to T5472: Kleopatra not storing decrypted files.

Here it goes...

Oct 8 2021, 3:50 PM · Support, kleopatra, Bug Report
werner triaged T5645: RSA/DSA keygen modification for FIPS/ACVP testing as High priority.
Oct 8 2021, 3:34 PM · libgcrypt, FIPS, Bug Report
werner added projects to T5472: Kleopatra not storing decrypted files: kleopatra, Support.
Oct 8 2021, 3:33 PM · Support, kleopatra, Bug Report
werner added a comment to T5472: Kleopatra not storing decrypted files.

Please hit "mostra de registro..." link in the blue box and show us its content (you may want to check that it does not show sensitive data)

Oct 8 2021, 3:33 PM · Support, kleopatra, Bug Report
werner triaged T5435: GpgOL shows Insecure and won't decrypt instead there is an attachment as Normal priority.

Thanks for the log, however, I would suggest to use 3.1.16 and try again.

Oct 8 2021, 3:27 PM · Info Needed, Bug Report, gpg4win
werner added a subtask for T5593: Gpg4Win displayed 'PATH env variable too big' error during setup: T5605: After end of v3.1.16 setup Kleopatra desktop icon was created with wrong saved path for own icon.
Oct 8 2021, 3:24 PM · Bug Report, gpg4win
werner added a parent task for T5605: After end of v3.1.16 setup Kleopatra desktop icon was created with wrong saved path for own icon: T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.
Oct 8 2021, 3:24 PM · Bug Report, gpg4win
werner triaged T5605: After end of v3.1.16 setup Kleopatra desktop icon was created with wrong saved path for own icon as Low priority.
Oct 8 2021, 3:24 PM · Bug Report, gpg4win
werner closed T5633: gpg key generation failure as Wontfix.
Oct 8 2021, 3:23 PM · MacOS, Bug Report
werner closed T5642: gpg: keyserver send failed: Network is unreachable as Resolved.
Oct 8 2021, 3:22 PM · Support
werner added a comment to T5645: RSA/DSA keygen modification for FIPS/ACVP testing.

Do we really need to support DSA in FIPS mode? I mean standard DSA and not ECDSA.

Oct 8 2021, 3:22 PM · libgcrypt, FIPS, Bug Report
werner closed T5643: Downgrade gpg as Resolved.
Oct 8 2021, 3:19 PM · Info Needed, Support
werner added a comment to T5639: dirmngr uses the wrong Let's encrypt chain.

There won't be any other 3.1 release - install GnuPG 2.2.32 on top of Gpg4win 3.1.16

Oct 8 2021, 3:18 PM · gnupg (gpg22), dirmngr
werner raised the priority of T5644: Heuristic for default reader detection from Normal to High.
Oct 8 2021, 2:51 PM · Restricted Project, Feature Request, gnupg (gpg22)
onickolay added a comment to T3795: Failure to decrypt file, encrypted with multiple passwords.

Argh, sorry for bugging. Clearing comment out - I simply missed fact that my tests are run with random messages, so with 5% probability another password will be interpreted as 'good' for the first SKESK.

Oct 8 2021, 12:23 PM · Bug Report, gnupg
bernhard added a comment to T5639: dirmngr uses the wrong Let's encrypt chain.

My experience on a Window 10 system (with Gpg4win 3.1.15 which has GnuPG 2.2.27) was, that removing the expired root certificate did not help with https://keyserver.ubuntu.com and the intermediate certificate was not in the windows store, so it could not be removed.

Oct 8 2021, 12:01 PM · gnupg (gpg22), dirmngr
Jakuje created T5645: RSA/DSA keygen modification for FIPS/ACVP testing.
Oct 8 2021, 11:05 AM · libgcrypt, FIPS, Bug Report
ikloecker added a comment to T5643: Downgrade gpg.

Sure.

Oct 8 2021, 9:17 AM · Info Needed, Support
ikloecker added a comment to T5639: dirmngr uses the wrong Let's encrypt chain.

Removing an intermediate cert from your local system doesn't help because any correctly configured server will send you all necessary intermediate certs together with the server cert. You'd have to remove the expired root certificate instead (see Workaround 1 on https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/). The problem is that this will break certificate verification for any servers that still use the old intermediate cert, e.g. keyserver.ubuntu.com.

Oct 8 2021, 9:16 AM · gnupg (gpg22), dirmngr

Oct 7 2021

Laurent Montel <montel@kde.org> committed rLIBKLEOd0b2628a8ee9: GIT_SILENT: prepare 5.18.3 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.18.3
Oct 7 2021, 9:39 PM
dingyis added a comment to T5643: Downgrade gpg.

And it shows

Oct 7 2021, 7:42 PM · Info Needed, Support
dingyis added a comment to T5643: Downgrade gpg.

Thank you so much for your explanation.
I just want to try with older version. Because when I try to run

Oct 7 2021, 7:23 PM · Info Needed, Support
werner edited projects for T5642: gpg: keyserver send failed: Network is unreachable, added: Support; removed Bug Report.
Oct 7 2021, 5:41 PM · Support
werner closed T5611: 2.3.2: test suite is failing as Resolved.
Oct 7 2021, 5:35 PM · Support, gnupg (gpg23)
werner edited projects for T5643: Downgrade gpg, added: Support, Info Needed; removed Bug Report.
Oct 7 2021, 5:34 PM · Info Needed, Support
werner added a comment to T5639: dirmngr uses the wrong Let's encrypt chain.

The LE web site has instruction on how to do this. However, it is complicated and depends on your system. The intermediate cert you listed is signed by the expired old root cert. If you remove this intermediate cert the other root cert will be found and we are done. The old LE certs had a 4 tier chain and the new one a 3 tier.
See https://dev.gnupg.org/rG341ab0123a8fa386565ecf13f6462a73a137e6a4 and https://letsencrypt.org/images/isrg-hierarchy.png

Oct 7 2021, 5:33 PM · gnupg (gpg22), dirmngr
werner triaged T5644: Heuristic for default reader detection as Normal priority.
Oct 7 2021, 4:07 PM · Restricted Project, Feature Request, gnupg (gpg22)
ikloecker committed rKLEOPATRA2f5a85bacf19: Bump version to 3.1.19 (authored by ikloecker).
Bump version to 3.1.19
Oct 7 2021, 3:23 PM
bernhard added a comment to T5639: dirmngr uses the wrong Let's encrypt chain.

One problem I see is that keyserver.ubuntu.com delivers a problematic intermediate(?) certificate:

Oct 7 2021, 1:59 PM · gnupg (gpg22), dirmngr
bernhard added a comment to T5639: dirmngr uses the wrong Let's encrypt chain.

If there is no easy way to install a new version of GnuPG, e.g. for Gpg4win or for GNU/Linux distributions: It may make sense to have instructions for the workaround ready.

Oct 7 2021, 9:30 AM · gnupg (gpg22), dirmngr
ikloecker added a comment to T5642: gpg: keyserver send failed: Network is unreachable.

Works for me:

$ gpg --version
gpg (GnuPG) 2.2.27
libgcrypt 1.9.4-unknown
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Oct 7 2021, 8:53 AM · Support
ikloecker added a comment to T5643: Downgrade gpg.

The usual procedure for downgrading is

  1. Uninstall the currently installed version
  2. Install the older version
Oct 7 2021, 8:45 AM · Info Needed, Support
werner added a comment to T5643: Downgrade gpg.

You should never ever downgrade. What is the problem with the new 2.2.32?

Oct 7 2021, 8:29 AM · Info Needed, Support