Page MenuHome GnuPG
Feed Advanced Search

May 23 2021

werner closed T5448: GPG_ERR_EOF didn't return by gpgme_op_keylist_next after the last key in the list had already been returned as Resolved.
May 23 2021, 9:32 PM · Support, gpgme
werner added a comment to T5448: GPG_ERR_EOF didn't return by gpgme_op_keylist_next after the last key in the list had already been returned.

The error codes we use are a combination of code and location.

May 23 2021, 10:54 AM · Support, gpgme

May 21 2021

werner triaged T5446: Don't show LDAP credentials in error messages, at least not by default as Low priority.

I give this a low priority because all those infos are easily retrievable from config files.

May 21 2021, 11:46 AM · dirmngr, gnupg
werner triaged T5447: Add feature to delete a key from an LDAP server as Normal priority.
May 21 2021, 11:44 AM · gnupg22 (gnupg-2.2.49), vsd33 (vsd-3.3.3), gnupg26, LDAP
werner committed rG260bbb4ab27e: common: Annotate leaked memory in homedir.c (authored by werner).
common: Annotate leaked memory in homedir.c
May 21 2021, 9:24 AM

May 20 2021

werner committed rG52bbdc731fd5: sm: Let --dump-cert --show-cert also print an OpenPGP fingerprint. (authored by werner).
sm: Let --dump-cert --show-cert also print an OpenPGP fingerprint.
May 20 2021, 7:11 PM
werner added a comment to T5393: gnupg coverity static analysis reports.

The first two patch sets are now applied with the exception of
the gpgsplit fix; I did not applied that patch to add a free() in case of write errors.

May 20 2021, 5:37 PM · gnupg (gpg23), Bug Report
werner committed rG98c52aeb31f4: card: Intialize pointer to avoid double free (authored by Jakuje).
card: Intialize pointer to avoid double free
May 20 2021, 3:20 PM
werner committed rG27e7bde12ee2: scd: avoid memory leaks (authored by Jakuje).
scd: avoid memory leaks
May 20 2021, 3:20 PM
werner committed rGfa0771f609b5: g10: Avoid memory leaks (authored by Jakuje).
g10: Avoid memory leaks
May 20 2021, 3:20 PM
werner committed rGfc5fac83b778: kbx: Avoid uninitialized read (authored by Jakuje).
kbx: Avoid uninitialized read
May 20 2021, 3:20 PM
werner committed rG4704d1ce4e1e: common: Avoid double-free (authored by Jakuje).
common: Avoid double-free
May 20 2021, 3:20 PM
werner committed rG25aa353bf833: dirmgr: Avoid double free (authored by Jakuje).
dirmgr: Avoid double free
May 20 2021, 3:20 PM
werner committed rG33a2362e566c: agent: Fix memory leaks (authored by Jakuje).
agent: Fix memory leaks
May 20 2021, 3:20 PM
werner committed rGe6132bc9f417: sm: Avoid memory leaks and double double-free (authored by Jakuje).
sm: Avoid memory leaks and double double-free
May 20 2021, 3:20 PM
werner committed rG0d2c1e9046fa: dirmgr: clean up memory on error code paths (authored by Jakuje).
dirmgr: clean up memory on error code paths
May 20 2021, 3:20 PM
werner committed rG2af7bb2295cd: g10: Fix memory leaks (authored by Jakuje).
g10: Fix memory leaks
May 20 2021, 3:20 PM
werner committed rG678e1b20d353: scd: avoid memory leaks (authored by Jakuje).
scd: avoid memory leaks
May 20 2021, 3:20 PM
werner committed rGa95ddffdcd58: agent: Avoid memory leaks in error code paths. (authored by Jakuje).
agent: Avoid memory leaks in error code paths.
May 20 2021, 3:20 PM
werner committed rG4dc4b025d6dd: common: Avoid double-free (authored by Jakuje).
common: Avoid double-free
May 20 2021, 3:20 PM
werner committed rGb677e2ec989c: Assorted memory leak fixes on the error code paths. (authored by werner).
Assorted memory leak fixes on the error code paths.
May 20 2021, 3:20 PM
werner committed rE448bf7b01cad: core: Make gpgrt_free robust against legacy free implementations. (authored by werner).
core: Make gpgrt_free robust against legacy free implementations.
May 20 2021, 12:31 PM
werner added a comment to T5393: gnupg coverity static analysis reports.

Please note that *_error-from_syserror accesses system's errno which may be cleared by xfree.

May 20 2021, 9:09 AM · gnupg (gpg23), Bug Report
werner committed rG9d63ba272166: po: Updated the Russian translation (authored by werner).
po: Updated the Russian translation
May 20 2021, 8:15 AM

May 19 2021

werner added a comment to T5441: Kleopatra: LDAP Search only shows one key.

Having a fallback in Kleopatra makes sense because very old HKP keyservers don't return the fingerprint and LDAP keyservers not using the modernized schema do neither.

May 19 2021, 9:31 PM · Restricted Project, LDAP, kleopatra
werner added a comment to T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.

Please read also the report T5442 which is basically the same.

May 19 2021, 9:25 PM · MacOS, yubikey, Bug Report
werner added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

Thanks for the well written report. We had another already, and thus I merged it into T5415.

May 19 2021, 9:24 PM · gnupg (gpg23), yubikey
werner merged T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1) into T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.
May 19 2021, 9:23 PM · MacOS, yubikey, Bug Report
werner merged task T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1) into T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.
May 19 2021, 9:23 PM · gnupg (gpg23), yubikey
werner committed rG17b7048732e2: po: Update Russian translation. (authored by Ineiev <ineiev@gnu.org>).
po: Update Russian translation.
May 19 2021, 7:57 PM
werner committed rGf0e538619d50: dirmngr: For KS_SEARCH return the fingerprint also with LDAP. (authored by werner).
dirmngr: For KS_SEARCH return the fingerprint also with LDAP.
May 19 2021, 6:21 PM
werner committed rGa660e1060630: dirmngr: For KS_SEARCH return the fingerprint also with LDAP. (authored by werner).
dirmngr: For KS_SEARCH return the fingerprint also with LDAP.
May 19 2021, 6:18 PM
werner added a comment to T5428: PC/SC detecting removal of card.

Funny thing is that I can't replicate it anymore with the current version (2.2.18-beta77). I tested it on two machines and things just worked. One machine had just one reader and the other had several virtual readers in addition to the scr3500. After adding --reader-port for the latter it worked as well. I don't think I had a Windows update in the meantime.

May 19 2021, 11:46 AM · Info Needed, Windows, scd, Bug Report
werner edited projects for T5324: Kleopatra: Add recursive folder decryption, added: Feature Request; removed Support, Bug Report.
May 19 2021, 9:50 AM · kleopatra, Feature Request, gpg4win
werner removed a project from T5324: Kleopatra: Add recursive folder decryption: Info Needed.

reading your report again: You clicked on a folder and expected that all encrypted files in this folder will be decrypted? That is unfortunately not supported.

May 19 2021, 2:49 AM · kleopatra, Feature Request, gpg4win
werner committed rG40da61b89b62: gpg: Improve speed of secret key listing. (authored by werner).
gpg: Improve speed of secret key listing.
May 19 2021, 2:43 AM
werner committed rGcf9a0bc2ecfa: po: Auto updates (authored by werner).
po: Auto updates
May 19 2021, 12:05 AM

May 18 2021

werner committed rGaa6288140481: scd:p15: Fix logic for appending product name to MANUFACTURER. (authored by ikloecker).
scd:p15: Fix logic for appending product name to MANUFACTURER.
May 18 2021, 10:56 PM
werner committed rG7bf8530e75d0: gpg: Fix sending an OpenPGP key with umlaut to an LDAP keyserver. (authored by werner).
gpg: Fix sending an OpenPGP key with umlaut to an LDAP keyserver.
May 18 2021, 10:56 PM
werner committed rGb8e6e485ee0b: gpg: Fix sending an OpenPGP key with umlaut to an LDAP keyserver. (authored by werner).
gpg: Fix sending an OpenPGP key with umlaut to an LDAP keyserver.
May 18 2021, 10:54 PM
werner committed rKcb7f2484a09c: Support password based decryption. (authored by werner).
Support password based decryption.
May 18 2021, 2:41 PM
werner added a project to T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L": MacOS.
May 18 2021, 8:23 AM · MacOS, libgcrypt, Bug Report

May 17 2021

werner committed rG6dfae2f402a7: gpg: Use a more descriptive prompt for symmetric decryption. (authored by werner).
gpg: Use a more descriptive prompt for symmetric decryption.
May 17 2021, 7:52 PM
werner committed rGc9859967c0d8: po: In German always use "Passwort" instead of "Passphrase". (authored by werner).
po: In German always use "Passwort" instead of "Passphrase".
May 17 2021, 7:37 PM
werner committed rG6f31acac767f: sm: Support decryption of password based encryption (pwri) (authored by werner).
sm: Support decryption of password based encryption (pwri)
May 17 2021, 7:37 PM
werner committed rG50ea1b67e826: sm: Ask for the password for password based decryption (pwri) (authored by werner).
sm: Ask for the password for password based decryption (pwri)
May 17 2021, 7:37 PM
werner committed rG03f83bcda5d1: gpg: Use a more descriptive prompt for symmetric decryption. (authored by werner).
gpg: Use a more descriptive prompt for symmetric decryption.
May 17 2021, 7:37 PM
werner added a comment to rGcc5aa68b6310: scd:p15: Fix last commit and improve D-TRUST detection..

I fully agree. That was actually my itention - not sure why the coded ended up as it is.

May 17 2021, 4:44 PM
werner committed rGeeb65d3bbd7d: sm: Ask for the password for password based decryption (pwri) (authored by werner).
sm: Ask for the password for password based decryption (pwri)
May 17 2021, 4:37 PM
werner committed rG1406f551f1e0: dirmngr: LDAP search by a mailbox now ignores revoked keys. (authored by werner).
dirmngr: LDAP search by a mailbox now ignores revoked keys.
May 17 2021, 4:37 PM
werner committed rGb6f8cd7eef4b: dirmngr: LDAP search by a mailbox now ignores revoked keys. (authored by werner).
dirmngr: LDAP search by a mailbox now ignores revoked keys.
May 17 2021, 3:38 PM
werner triaged T5438: gpgme_op_keylist_from_data_start ignores GPGME_KEYLIST_MODE_SIGS as High priority.

Due to tax issues, we can't accept a donation as return on service. However, we will fix bugs anyway if possible,

May 17 2021, 11:50 AM · gpgme (gpgme 1.23.x), OpenPGP, Bug Report

May 16 2021

werner committed rDcd41c57d9cfb: ids: draft-koch-openpgp-webkey-service-12.txt (authored by werner).
ids: draft-koch-openpgp-webkey-service-12.txt
May 16 2021, 12:45 PM

May 14 2021

werner committed rG02029f9eab87: sm: Support decryption of password based encryption (pwri) (authored by werner).
sm: Support decryption of password based encryption (pwri)
May 14 2021, 6:57 PM

May 12 2021

werner edited projects for T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations, added: gnupg (gpg23), MacOS; removed gpgagent.

The pincache is actually not what you think it is. It is only used to allow switching between different application on a Yubikey which reqieres a new VERIFY command after switching back to the first application the card. What you feel as caching is the state of the card, which usually keeps its verification state until the card is powered down.

May 12 2021, 5:52 PM · gnupg24, yubikey, Bug Report
werner committed rM88db69e1a964: core: Make sure to stay ABI compatible. (authored by werner).
core: Make sure to stay ABI compatible.
May 12 2021, 9:17 AM
werner committed rMaa98081356b5: core: Allow for older compilers. (authored by werner).
core: Allow for older compilers.
May 12 2021, 9:17 AM
werner closed T5434: gpg-agent should not use MD5 fingerprint for ssh keys as Resolved.
May 12 2021, 9:05 AM · gnupg, Bug Report
werner committed rG310b064f5271: agent: Use SHA-256 for SSH fingerprint by default (authored by werner).
agent: Use SHA-256 for SSH fingerprint by default
May 12 2021, 8:59 AM
werner added a comment to T5434: gpg-agent should not use MD5 fingerprint for ssh keys.

Frankly, I am pretty sure that the new base64 encoding of the fingerprint leads to less diligent comparison of the fingerprint by the user. I don't understand why they did not used a truncated hex output or zBase32 .

May 12 2021, 8:51 AM · gnupg, Bug Report

May 11 2021

werner triaged T5432: GPA - Crypto Backend Configurator ignores screen zoom factor and partially falls off screen as Low priority.

Thanks for using GPA. Unfortunately, I have to tell you that GPA development has been stopped and I can't say whether we will fix that bug any time soon. Please consider to switch to Kleopatra which is the standard key manager included in gpg4win.

May 11 2021, 1:49 PM · gpa, Bug Report
werner committed rG965bb0693c0d: A few minor code cleanups and typo fixes. (authored by werner).
A few minor code cleanups and typo fixes.
May 11 2021, 9:25 AM
werner added a comment to T5430: "free(): invalid pointer" from --clearsign.

FWIW, we can and should run our test suite under valgrind from time to time

May 11 2021, 9:00 AM · gnupg (gpg23)
werner triaged T5431: Use AC_PROG_CC_C99 as Normal priority.
May 11 2021, 8:23 AM · gnupg24, toolchain, gnupg (gpg23)

May 10 2021

werner assigned T5428: PC/SC detecting removal of card to gniibe.

(I disabled the account of this boor)

May 10 2021, 6:43 PM · Info Needed, Windows, scd, Bug Report
werner reopened T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7 as "Open".

(I disabled this boor and restored the state)

May 10 2021, 6:41 PM · MacOS, yubikey, Bug Report
werner triaged T5428: PC/SC detecting removal of card as High priority.
May 10 2021, 8:51 AM · Info Needed, Windows, scd, Bug Report
werner added a comment to T5428: PC/SC detecting removal of card.

I don't think that it is --pcsc-shared related; Andre reported that he noticed such a behaviour before we introduced this.

May 10 2021, 8:49 AM · Info Needed, Windows, scd, Bug Report
werner added a comment to D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

We should add a comment at the caller side, that this takes a lock in apdu.c.

May 10 2021, 8:45 AM · gnupg (gpg23), scd

May 7 2021

werner committed rG89e20c38c21f: po: auto updates (authored by werner).
po: auto updates
May 7 2021, 9:55 AM
werner committed rG987b81686022: scd,pcsc: Use a single context. (authored by gniibe).
scd,pcsc: Use a single context.
May 7 2021, 9:55 AM
werner committed rG26de9c400ee6: build: Silence a cimpiler warning also in non-maintainer mode. (authored by werner).
build: Silence a cimpiler warning also in non-maintainer mode.
May 7 2021, 9:55 AM
werner requested changes to D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

Keeping the lock over the call to the function does not look very robust to me. This is why I removed it. And since then PC/SC worked on Windows for me. Modulo this:
All these changes don't tackle the real problem that windows gets struck in a removed-card state.

May 7 2021, 8:36 AM · gnupg (gpg23), scd

May 6 2021

werner added a comment to D530: gpgme: Add support for trust signatures to key list result.

This is better name. My point was that if we ever use that to create such a field the developer should not assume that arbitrary REs can be used here. We need to have some practical value here and I would prefer to see only the domain name. However, OpenPGP allows for arbitrary REs and thus we may see them here. This is problematic but we can't do much about it.

May 6 2021, 10:01 AM · gpgme
werner added a comment to T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.

That would required that we also add an option --enable-ccid-driver - better tell the macOS folks to put diable-ccid-driver into /etc/gnupg/scdaemon.conf

May 6 2021, 9:06 AM · MacOS, yubikey, Bug Report
werner added a project to T5423: libgcrypt 1.8 ECDH: Debian.

FWIW, I think that it is a Bad Thing to use unreleased stuff from 1.8 for Debian packages. Only released versions sshould be used or patches we explicitly made to fix a bug. At the very least Andreas should have asked upstream whether this commit should be used for Sid.

May 6 2021, 9:00 AM · Debian, libgcrypt

May 5 2021

werner closed T5416: [windows] Smartcards are less reliable under 2.3.1 (requires restarting gpg-agent.exe) as Resolved.

Thanks for testing. I hope to get 2.3.2 out in two weeks.

May 5 2021, 8:13 AM · yubikey, scd, gnupg (gpg23), Bug Report

May 4 2021

werner added inline comments to D530: gpgme: Add support for trust signatures to key list result.
May 4 2021, 12:29 PM · gpgme
werner committed rGb410c95fe953: build: Silence two compiler warnings. (authored by werner).
build: Silence two compiler warnings.
May 4 2021, 11:54 AM
werner committed rGb203325ce112: gpg: Allow ECDH with a smartcard returning just the x-coordinate. (authored by werner).
gpg: Allow ECDH with a smartcard returning just the x-coordinate.
May 4 2021, 11:54 AM
werner committed rG9d83bfb63968: scd: Fix possible PC/SC removed card problem (authored by werner).
scd: Fix possible PC/SC removed card problem
May 4 2021, 11:54 AM
werner committed rG22fe23f46d31: gpg: Fix mailbox based search via AKL keyserver method. (authored by werner).
gpg: Fix mailbox based search via AKL keyserver method.
May 4 2021, 11:54 AM
werner committed rGa475bb725be7: scd: Add string for another PC/SC error code. (authored by werner).
scd: Add string for another PC/SC error code.
May 4 2021, 11:54 AM
werner committed rG569fa67277a4: build: Allow running sign-release target from the dist dir. (authored by werner).
build: Allow running sign-release target from the dist dir.
May 4 2021, 11:54 AM
werner committed rG6c4216094ef4: scd: Fix unblock PIN by a Reset Code with KDF. (authored by kirelagin).
scd: Fix unblock PIN by a Reset Code with KDF.
May 4 2021, 11:54 AM
werner committed rGe7251be84c79: gpg: Auto import keys specified with --trusted-keys. (authored by werner).
gpg: Auto import keys specified with --trusted-keys.
May 4 2021, 11:54 AM
werner committed rGe53f6037283e: gpg: Allow decryption w/o public key but with correct card inserted. (authored by werner).
gpg: Allow decryption w/o public key but with correct card inserted.
May 4 2021, 11:54 AM
werner committed rG79e8ea100df9: speedo: Automatically select Authenticode signing cert. (authored by werner).
speedo: Automatically select Authenticode signing cert.
May 4 2021, 11:54 AM
werner committed rGaa612d752ebb: agent: Silence error messages for READKEY --card (authored by werner).
agent: Silence error messages for READKEY --card
May 4 2021, 11:54 AM

May 3 2021

werner committed rGc2ba6bea4ce8: common: Fix gnupg_wait_processes, by skipping invalid PID. (authored by gniibe).
common: Fix gnupg_wait_processes, by skipping invalid PID.
May 3 2021, 9:01 PM
werner committed rG2af217ecd7e4: gpg: Allow fingerprint based lookup with --locate-external-key. (authored by werner).
gpg: Allow fingerprint based lookup with --locate-external-key.
May 3 2021, 9:01 PM
werner committed rGb59af0e2a05a: gpg: Lookup a missing public key of the current card via LDAP. (authored by werner).
gpg: Lookup a missing public key of the current card via LDAP.
May 3 2021, 9:01 PM
werner committed rGb8df8321e1ef: scd: Add option --info to emit KEYPAIRINFO by readkey command. (authored by werner).
scd: Add option --info to emit KEYPAIRINFO by readkey command.
May 3 2021, 9:01 PM
werner committed rG79f5ffb1add9: gpg: Minor restructuring of a function. (authored by werner).
gpg: Minor restructuring of a function.
May 3 2021, 9:01 PM
werner committed rGa456303ae306: gpgconf: Do not i18n an empty string to the PO files meta data. (authored by werner).
gpgconf: Do not i18n an empty string to the PO files meta data.
May 3 2021, 9:01 PM
werner committed rGbbf4bd3bfcb5: agent: Skip unknown unknown ssh curves seen on cards. (authored by werner).
agent: Skip unknown unknown ssh curves seen on cards.
May 3 2021, 9:01 PM
werner committed rGf9198189e35e: doc: Fix option name. (authored by werner).
doc: Fix option name.
May 3 2021, 9:01 PM
werner committed rG26a024057dc6: gpg: No warning in quiet mode for S2K mode 0. (authored by werner).
gpg: No warning in quiet mode for S2K mode 0.
May 3 2021, 9:01 PM
werner committed rG5eec40f3d827: scd: New option --pcsc-shared. (authored by werner).
scd: New option --pcsc-shared.
May 3 2021, 9:01 PM
werner committed rG8bc808a98f3a: w32: Silence a compiler warning in dirmngr.c (authored by werner).
w32: Silence a compiler warning in dirmngr.c
May 3 2021, 9:01 PM