Page MenuHome GnuPG
Feed All Stories

Aug 27 2020

dcb created T5037: dn.cpp:181: suspicious loop.
Aug 27 2020, 5:41 PM · gnupg, gpgme, Bug Report
ikloecker committed rKLEOPATRA42f5173f335b: Allow users to change the administration key of a PIV card (authored by ikloecker).
Allow users to change the administration key of a PIV card
Aug 27 2020, 4:04 PM
ikloecker committed rKLEOPATRA662d68fa9a07: Ask for PIV Card Application Administration Key if necessary (authored by ikloecker).
Ask for PIV Card Application Administration Key if necessary
Aug 27 2020, 4:04 PM
werner committed rDbc245f461505: swdb: Release GnuPG 2.2.22 (authored by werner).
swdb: Release GnuPG 2.2.22
Aug 27 2020, 3:31 PM
werner closed T5030: Release GnuPG 2.2.22 as Resolved.
Aug 27 2020, 3:21 PM · gnupg (gpg22), Release Info
werner closed T4843: REGEXP support for all systems as Resolved.
Aug 27 2020, 3:04 PM · Restricted Project, gnupg
werner closed T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work as Resolved.
Aug 27 2020, 3:04 PM · Bug Report, gpg4win, kleopatra, gpgtar
werner closed T4977: dirmngr not working with linux kernel parameter ipv6.disable=1 as Resolved.
Aug 27 2020, 3:03 PM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report
werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000447.html on T5030: Release GnuPG 2.2.22 .
Aug 27 2020, 3:03 PM · gnupg (gpg22), Release Info
werner committed rGf799b3ddbb4a: Post release updates (authored by werner).
Post release updates
Aug 27 2020, 2:56 PM
werner committed rGf9c120a29986: Release 2.2.22 (authored by werner).
Release 2.2.22
Aug 27 2020, 2:56 PM
werner committed rG27652e0ca75f: doc: Fix typos (authored by glr).
doc: Fix typos
Aug 27 2020, 2:56 PM
werner closed T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names. as Resolved.
Aug 27 2020, 2:24 PM · gnupg (gpg22), Feature Request, gpgtar
werner added a project to T5018: Export keys to secure card failure: gpg: KEYTOCARD failed: Unusable secret key: Info Needed.
Aug 27 2020, 12:55 PM · Info Needed, Bug Report
werner closed T5035: Doc fix: simple typos as Resolved.

Thanks. Applied to 2.2 and master.

Aug 27 2020, 12:54 PM · Bug Report
werner committed rGb5de213efe77: doc: Add a remark about keyservers. (authored by werner).
doc: Add a remark about keyservers.
Aug 27 2020, 12:51 PM
werner committed rGcde92d3e2341: doc: Add a remark about keyservers. (authored by werner).
doc: Add a remark about keyservers.
Aug 27 2020, 12:51 PM
werner committed rGa0a4744bd064: scd: New option to APDU command to return the ATR as data. (authored by werner).
scd: New option to APDU command to return the ATR as data.
Aug 27 2020, 11:56 AM
werner committed rG95b5a852e269: scd: Fix reading of the ATR for card type detection. (authored by werner).
scd: Fix reading of the ATR for card type detection.
Aug 27 2020, 11:54 AM
werner triaged T5029: server socket/pipe handling in GnuPG as Normal priority.

I still don't think that it is correct. We would also need to turn fd from an int to a gnupg_fd_t (ie. a HANDLE under Windows) which requires other changes and should be done in the other parts of the code as well. assuan_sock_close also delegates to the system specific function and on Windows removes the fd also from the cygwin table. This may trigger other bugs so I'd like to keep it as it is to go with the code which has been in active use for a long time - at least for 2.2

Aug 27 2020, 11:01 AM · Windows, scd, gnupg (gpg23)
werner added a project to T5033: dirmngr does not seem to use the default .gnupg directory if GNUPGHOME is not set: Info Needed.
Aug 27 2020, 10:47 AM · gnupg, Not A Bug
werner closed T4597: Support GCM modes for ntbtls. as Resolved.

0.2.0 was just released with support for GCM. Tested against openpgpkeys.pm.me

Aug 27 2020, 9:34 AM · Restricted Project, Feature Request, ntbtls
werner committed rD91b230451226: swdb: Take signing key from ~/.gnupg-autogen.rc (authored by werner).
swdb: Take signing key from ~/.gnupg-autogen.rc
Aug 27 2020, 9:30 AM
werner committed rDa6c7b484c7a0: swdb: Release ntbtls 0.2.0 (authored by werner).
swdb: Release ntbtls 0.2.0
Aug 27 2020, 9:22 AM
werner committed rT6a4ffcc68cb0: Release 0.2.0 (authored by werner).
Release 0.2.0
Aug 27 2020, 9:18 AM
werner committed rT56061b8dd685: Post release updates (authored by werner).
Post release updates
Aug 27 2020, 9:18 AM
werner committed rT8b3a059e8a81: Fix printf error in debug output. (authored by werner).
Fix printf error in debug output.
Aug 27 2020, 9:18 AM
werner committed rTf10e83874e86: Add public function ntbtls_get_last_alert. (authored by werner).
Add public function ntbtls_get_last_alert.
Aug 27 2020, 9:18 AM
werner committed rG45499b2ca3e8: dirmngr: Print the last alert message returned by NTBTLS. (authored by werner).
dirmngr: Print the last alert message returned by NTBTLS.
Aug 27 2020, 9:05 AM
werner committed rG05358d738411: dirmngr: Print the last alert message returned by NTBTLS. (authored by werner).
dirmngr: Print the last alert message returned by NTBTLS.
Aug 27 2020, 9:03 AM
Laurent Montel <montel@kde.org> committed rLIBKLEO5e7df547ab8f: GIT_SILENT: prepare 5.15.1 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.15.1
Aug 27 2020, 8:02 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRAc55f8854b39d: GIT_SILENT: prepare 5.15.1 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.15.1
Aug 27 2020, 7:37 AM
gniibe committed rG9f148360a2bf: scd: Add heuristics to identify cardtype. (authored by gniibe).
scd: Add heuristics to identify cardtype.
Aug 27 2020, 7:34 AM
gniibe committed rGd2f1a0a791db: scd: Add condition for VERIFY with 0x82. (authored by gniibe).
scd: Add condition for VERIFY with 0x82.
Aug 27 2020, 3:55 AM
gniibe committed rGaf189be481df: scd: Add condition for VERIFY with 0x82. (authored by gniibe).
scd: Add condition for VERIFY with 0x82.
Aug 27 2020, 3:45 AM

Aug 26 2020

werner committed rT408d5b469a2a: Silence some compiler warnings (authored by werner).
Silence some compiler warnings
Aug 26 2020, 9:33 PM
werner committed rT1003f94975ec: Improve debug messages for alerts. (authored by werner).
Improve debug messages for alerts.
Aug 26 2020, 9:33 PM
doronbehar added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

I am always glad to fix such bugs before a release (I am about to prepare 2.2.22).

Aug 26 2020, 4:12 PM · Wayland, pinentry
werner added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

I am always glad to fix such bugs before a release (I am about to prepare 2.2.22).

Aug 26 2020, 3:48 PM · Wayland, pinentry
doronbehar added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

It worked! You were right!

Aug 26 2020, 3:31 PM · Wayland, pinentry
doronbehar added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

Thank you for your prompt help. It's much appreciated.

Aug 26 2020, 3:20 PM · Wayland, pinentry
werner merged T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE into T4137: IPC syntax error when `gpg` starts `gpg-agent` without `$TERM` variable.
Aug 26 2020, 3:19 PM · gnupg, Bug Report
werner merged task T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE into T4137: IPC syntax error when `gpg` starts `gpg-agent` without `$TERM` variable.
Aug 26 2020, 3:19 PM · Wayland, pinentry
werner added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

rG4c8d5eb0bdd3: agent: Allow TERM="".

Aug 26 2020, 3:19 PM · Wayland, pinentry
doronbehar added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

I see. Thank you @werner . For clarity could you please link the patch that was not backported to 2.2.?

Aug 26 2020, 3:17 PM · Wayland, pinentry
werner added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

Mails crossed ;-)

Aug 26 2020, 3:16 PM · Wayland, pinentry
werner committed rG90a87d96eaf5: build: Silence gcc warning -Wformat-zero-length (authored by werner).
build: Silence gcc warning -Wformat-zero-length
Aug 26 2020, 3:15 PM
werner committed rG4699911f047c: speedo: Allow customizing the release process (authored by werner).
speedo: Allow customizing the release process
Aug 26 2020, 3:15 PM
werner committed rG4c8d5eb0bdd3: agent: Allow TERM="". (authored by gniibe).
agent: Allow TERM="".
Aug 26 2020, 3:14 PM
werner committed rG0be5decc0972: build: Silence gcc warning -Wformat-zero-length (authored by werner).
build: Silence gcc warning -Wformat-zero-length
Aug 26 2020, 3:14 PM
doronbehar added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

But @werner what's the value $TERM *supposed* to have? When gpg is invoked straight by Gnome? I can run the command sh -c 'env | grep TERM > ~/gnome-term.env' in Gnome's "Run Command: interface and then the file ~/gnome-term.env says TERM is set to nothing (It is set, but the contents is a "" string).

Aug 26 2020, 3:13 PM · Wayland, pinentry
werner added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

Ah wait. This has been fixed in master a year ago but was not backported to 2.2; see T4137. I'll add it to the forthcoming 2.2.22. Thanks for the report.

Aug 26 2020, 3:11 PM · Wayland, pinentry
werner added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

The warning above is harmless. Both strings are actually the same but stem from different versions of the autotools helper scripts

Aug 26 2020, 3:05 PM · Wayland, pinentry
werner committed rG2969525a600f: speedo: Allow customizing the release process (authored by werner).
speedo: Allow customizing the release process
Aug 26 2020, 2:44 PM
doronbehar added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

Unfortunately I've had some trouble compiling the latest git version of GnuPG for NixOS - I got this warning which turned out to be a blocker:

Aug 26 2020, 2:44 PM · Wayland, pinentry
werner committed rC9c42c068c374: build: Allow customization of the signing key (authored by werner).
build: Allow customization of the signing key
Aug 26 2020, 9:44 AM
werner added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

Without really looking at your report: May it be that this is because Pinentry does not get the WAYLAND_DISPLAY variable as reported in T5016? This will be fixed in 2.2.22 which I hope to release this week.

Aug 26 2020, 9:40 AM · Wayland, pinentry
werner committed rC9cd92ebae219: build: Allow customization of the signing key (authored by werner).
build: Allow customization of the signing key
Aug 26 2020, 9:02 AM

Aug 25 2020

werner committed rG00ac538e9280: po: Update Russian translation. (authored by Ineiev <ineiev@gnu.org>).
po: Update Russian translation.
Aug 25 2020, 7:59 PM
doronbehar added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

I take some of my words back - using or not using MOZ_ENABLE_WAYLAND=1 doesn't make a difference eventually - If Firefox is launched by Gnome and not gnome-terminal, pinentry fails to launch with and without MOZ_ENABLE_WAYLAND.

Aug 25 2020, 6:21 PM · Wayland, pinentry
doronbehar created T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE in the S1 Public space.
Aug 25 2020, 5:41 PM · Wayland, pinentry
ikloecker committed rKLEOPATRAec107441490d: Fix setting/changing the Reset Code of OpenPGP v2 cards (authored by ikloecker).
Fix setting/changing the Reset Code of OpenPGP v2 cards
Aug 25 2020, 5:11 PM
ikloecker committed rKLEOPATRA49af5da51353: Allow users to change PIN and PUK of a PIV card (authored by ikloecker).
Allow users to change PIN and PUK of a PIV card
Aug 25 2020, 5:11 PM
ikloecker committed rKLEOPATRA549b08ed6fb8: Use ChangePinCommand also for OpenPGP cards (authored by ikloecker).
Use ChangePinCommand also for OpenPGP cards
Aug 25 2020, 5:11 PM
werner committed rGfc1a1857551c: gpg: Remove left over debug output from recent change. (authored by werner).
gpg: Remove left over debug output from recent change.
Aug 25 2020, 3:20 PM
werner closed T4881: "User ID" (Subject, subjectAltName) validity is inaccurate in gpgsm with sample certs. as Resolved.

The CRL states how long it is valid and we cache it for about that time.
OCSP responses are by definition not cachable but we allow for a clock skew of 10 minutes.

Aug 25 2020, 1:22 PM · Not A Bug, gnupg (gpg22), S/MIME
glr created T5035: Doc fix: simple typos.
Aug 25 2020, 1:13 PM · Bug Report
werner committed rG40acc5ef3ef7: examples: Simplify vsnfd.prf (authored by werner).
examples: Simplify vsnfd.prf
Aug 25 2020, 1:11 PM
werner committed rG60f08969e13b: gpg: Set default keysize to rsa3072 (authored by werner).
gpg: Set default keysize to rsa3072
Aug 25 2020, 1:10 PM
werner closed T4867: with non-existent homedir, `gpgconf --check-programs` produces surprising output. as Resolved.

Was easier to fix than expected. Thanks for the report. Fix goes into 2.2.22.

Aug 25 2020, 11:41 AM · gnupg (gpg22), Bug Report
werner committed rG0847133e4caf: sm: Do not require a default keyring for --gpgconf-list. (authored by werner).
sm: Do not require a default keyring for --gpgconf-list.
Aug 25 2020, 11:40 AM
werner committed rGe7677da479c4: sm: Do not require a default keyring for --gpgconf-list. (authored by werner).
sm: Do not require a default keyring for --gpgconf-list.
Aug 25 2020, 11:38 AM
werner closed T4866: `gpg-agent --gpgconf-list` returns a non-zero error code 2 if $HOME is non-existent, causing `gpgconf` to fail as Resolved.

[These damned typos in commit messages ;-)]

Aug 25 2020, 11:26 AM · gpgagent, gnupg, Bug Report
werner committed rGad1254b59d41: gpgconf: Silence warnings from parsing the options files (authored by werner).
gpgconf: Silence warnings from parsing the options files
Aug 25 2020, 11:24 AM
werner committed rGb17846e4fd02: agent: Allow using --gogconf-list even if HOME does not exist. (authored by werner).
agent: Allow using --gogconf-list even if HOME does not exist.
Aug 25 2020, 11:24 AM
werner committed rGadea5ba7e752: agent: Allow using --gogconf-list even if HOME does not exist. (authored by werner).
agent: Allow using --gogconf-list even if HOME does not exist.
Aug 25 2020, 11:24 AM
werner closed T4421: import-export does not remove duplicated subkeys as Resolved.

I implemented subkey collapsing in 2.3. It is enabled by default but you can disable it it with

Aug 25 2020, 10:42 AM · Feature Request, OpenPGP, gnupg (gpg23)
werner committed rG1e61280ffcf0: doc: Typo fixes (authored by werner).
doc: Typo fixes
Aug 25 2020, 10:40 AM
werner committed rG32021dfa5bca: gpgconf,w32: New debug command --show-codepages. (authored by werner).
gpgconf,w32: New debug command --show-codepages.
Aug 25 2020, 10:40 AM
werner committed rG633c1fea5f0d: gpg: Collapse duplicate subkeys. (authored by werner).
gpg: Collapse duplicate subkeys.
Aug 25 2020, 10:40 AM
werner added a comment to T5033: dirmngr does not seem to use the default .gnupg directory if GNUPGHOME is not set.

The keyserver options control how gpg imports or exports keys to the keyservers. Thus they indeed belong into gpg.conf.

Aug 25 2020, 8:40 AM · gnupg, Not A Bug
gniibe committed rE13c28a300e02: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Aug 25 2020, 7:36 AM
gniibe added a comment to T5029: server socket/pipe handling in GnuPG.

It's pretty minor bug, it only matters for some strange scenario on Windows like:
(1) a user runs gpg --card-edit or gpg-card and keeps the user interaction for some reason (say, forgetting the terminal interaction), which keeps the pipe connection from gpg-agent to scdaemon
(2) While the pipe connection is used by the user interaction above, from another terminal, the user invokes gpg (say, gpg --decrypt) which uses socket connection from gpg-agent to scdaemon

Aug 25 2020, 3:13 AM · Windows, scd, gnupg (gpg23)
gniibe added a comment to T5029: server socket/pipe handling in GnuPG.

I mean these uses of close:

diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index b7bbc0361..a6925eaf9 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -797,8 +797,8 @@ main (int argc, char **argv )
       /* We run handle_connection to wait for the shutdown signal and
          to run the ticker stuff.  */
       handle_connections (fd);
-      if (fd != -1)
-        close (fd);
+      if (fd != GNUPG_INVALID_FD)
+        assuan_sock_close (fd);
     }
   else if (!is_daemon)
     {
@@ -932,7 +932,7 @@ main (int argc, char **argv )
Aug 25 2020, 3:02 AM · Windows, scd, gnupg (gpg23)
gniibe renamed T5034: dev: Deprecate libassuan-config, libgcrypt-config, ksba-config, ntbtls-config, npth-config, and gpg-error-config from dev: Deprecate libassuan-config, libgcrypt-config, ksba-config, ntbtls-config, and npth-config to dev: Deprecate libassuan-config, libgcrypt-config, ksba-config, ntbtls-config, npth-config, ang gpg-error-config.
Aug 25 2020, 2:55 AM
gniibe created T5034: dev: Deprecate libassuan-config, libgcrypt-config, ksba-config, ntbtls-config, npth-config, and gpg-error-config.
Aug 25 2020, 2:54 AM
gniibe closed T5010: gpgrt-config: Bug for handling Requires as Resolved.
Aug 25 2020, 2:24 AM · gpgrt

Aug 24 2020

CodingCellist added a comment to T5033: dirmngr does not seem to use the default .gnupg directory if GNUPGHOME is not set.

I have a couple of keyserver-options statements in there, but no keyserver statement. Should the options be located in the dirmngr.conf file instead?

Aug 24 2020, 9:31 PM · gnupg, Not A Bug
werner added a comment to T5033: dirmngr does not seem to use the default .gnupg directory if GNUPGHOME is not set.

I guess you have a keyserver statement in your gpg.conf.
By using

Aug 24 2020, 8:57 PM · gnupg, Not A Bug
werner closed T5031: Release Libgpg-error 1.39, a subtask of T5030: Release GnuPG 2.2.22 , as Resolved.
Aug 24 2020, 8:54 PM · gnupg (gpg22), Release Info
werner closed T5031: Release Libgpg-error 1.39 as Resolved.

Release done.

Aug 24 2020, 8:54 PM · Release Info, gpgrt
werner closed T4973: Cross build problem with v1.38 as Resolved.
Aug 24 2020, 8:54 PM · Restricted Project, gpgrt
werner updated the task description for T5031: Release Libgpg-error 1.39.
Aug 24 2020, 8:53 PM · Release Info, gpgrt
werner committed rG96e15051ba16: Add a new dist signing key (authored by werner).
Add a new dist signing key
Aug 24 2020, 7:50 PM
werner committed rGf148803277ca: Add a new dist signing key (authored by werner).
Add a new dist signing key
Aug 24 2020, 7:50 PM
werner committed rD3342f65c7943: Add my new dist signing key (authored by werner).
Add my new dist signing key
Aug 24 2020, 7:46 PM
ikloecker committed rKLEOPATRA48b585027063: Add selection of key algorithm to key generation on PIV cards (authored by ikloecker).
Add selection of key algorithm to key generation on PIV cards
Aug 24 2020, 7:09 PM
ikloecker committed rKLEOPATRA0db0273b3f68: Support arbitrary algorithms in GenCardKeyDialog (authored by ikloecker).
Support arbitrary algorithms in GenCardKeyDialog
Aug 24 2020, 5:15 PM
ikloecker committed rKLEOPATRAf93f44ba95ca: Add support for replacing existing keys on PIV smartcards (authored by ikloecker).
Add support for replacing existing keys on PIV smartcards
Aug 24 2020, 2:57 PM
werner committed rD6418a3ee9fbb: swdb: Release libgpg-error 1.39 (authored by werner).
swdb: Release libgpg-error 1.39
Aug 24 2020, 1:30 PM