Page MenuHome GnuPG
Feed Advanced Search

May 19 2021

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
werner closed T1333: GPGSM rejects OCSP responder cert without keyUsage as Resolved.
May 3 2021, 3:52 PM · Bug Report, gnupg
werner added a comment to T1333: GPGSM rejects OCSP responder cert without keyUsage.

RFC-5280 states in 4.2.1.3 for Key Usage:

May 3 2021, 2:30 PM · Bug Report, gnupg
werner added a comment to T5359: Kleopatra: Loop in DeviceInfoWatcher with GnuPG 2.3 on Windows.

The error code is: No Readers Available. With the latest version you should have seen that string.

May 3 2021, 2:04 PM · Restricted Project, scd, Restricted Project, kleopatra
werner added projects to T5416: [windows] Smartcards are less reliable under 2.3.1 (requires restarting gpg-agent.exe): gnupg (gpg23), scd, yubikey.

Meanwhile we did some more tests on Windows and so you many want to try our betas at

May 3 2021, 2:00 PM · yubikey, scd, gnupg (gpg23), Bug Report
werner added a comment to T5359: Kleopatra: Loop in DeviceInfoWatcher with GnuPG 2.3 on Windows.

Can you please clarify this point: If you run on Unix with --disable-ccid-driver, do you get the same behavior as on Windows?

May 3 2021, 8:37 AM · Restricted Project, scd, Restricted Project, kleopatra

Apr 30 2021

werner added a project to T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7: MacOS.

Run gpg --debug ipc --card-status to quickly see the communication with the scdaemon.

Apr 30 2021, 10:47 AM · MacOS, yubikey, Bug Report

Apr 29 2021

werner added inline comments to rKLEOPATRA1e77bdf6df5c: Search PKCS#15 keys on ldap servers.
Apr 29 2021, 6:56 PM
werner committed rG7637d39fe20e: scd:p15: Update from current GnuPG 2.3 (authored by werner).
scd:p15: Update from current GnuPG 2.3
Apr 29 2021, 4:52 PM
werner committed rG96577e2e46e4: scd: Rewrite READKEY to allow for compressed points. (authored by werner).
scd: Rewrite READKEY to allow for compressed points.
Apr 29 2021, 4:52 PM
werner committed rG5b8593135fa6: common: Extend the openpgp_curve_to_oid function. (authored by werner).
common: Extend the openpgp_curve_to_oid function.
Apr 29 2021, 4:52 PM
werner committed rGf3c98b8cb5ad: common: New module to compute openpgp fingerprints (authored by werner).
common: New module to compute openpgp fingerprints
Apr 29 2021, 4:52 PM
werner committed rGc825117c5fa5: common: New function to uncompress an ECC public key. (authored by werner).
common: New function to uncompress an ECC public key.
Apr 29 2021, 4:52 PM
werner committed rG473e649ea1a6: common: New function cmp_canon_sexp. (authored by werner).
common: New function cmp_canon_sexp.
Apr 29 2021, 4:52 PM
werner committed rG72a7d45a230b: scd: Extend an internal function to also return the algo. (authored by werner).
scd: Extend an internal function to also return the algo.
Apr 29 2021, 4:52 PM
werner committed rG0eed0ced9bcd: scd: New function send_keyinfo to assist in backporting. (authored by werner).
scd: New function send_keyinfo to assist in backporting.
Apr 29 2021, 4:52 PM
werner committed rG91dd74f3d7e3: scd: New function for iso7816 PSO_CSV. (authored by werner).
scd: New function for iso7816 PSO_CSV.
Apr 29 2021, 4:52 PM
werner committed rG3db99b8861a7: scd: Minor changes to assist in backporting from 2.3 (authored by werner).
scd: Minor changes to assist in backporting from 2.3
Apr 29 2021, 4:52 PM
werner committed rG3ce69d838792: scd: Add new status codes. (authored by werner).
scd: Add new status codes.
Apr 29 2021, 4:52 PM
werner committed rG855d14d390e8: scd: Extend iso7816_select_path (authored by werner).
scd: Extend iso7816_select_path
Apr 29 2021, 4:52 PM
werner committed rGec9e8e0d6a1f: scd: Extend ISO binary and record reading functions. (authored by werner).
scd: Extend ISO binary and record reading functions.
Apr 29 2021, 4:52 PM
werner committed rG8d81fd7c01e8: scd: Fix PC/SC removed card problem (authored by werner).
scd: Fix PC/SC removed card problem
Apr 29 2021, 9:16 AM

Apr 28 2021

werner committed rG1f846823b397: scd:p15: Fix the name of a card. (authored by werner).
scd:p15: Fix the name of a card.
Apr 28 2021, 7:53 PM
werner committed rG178e4eb6555e: build: Allow running sign-release target from the dist dir. (authored by werner).
build: Allow running sign-release target from the dist dir.
Apr 28 2021, 7:53 PM
werner committed rGbb8e3996e44f: scd: Fix problem with reader list becoming empty. (authored by werner).
scd: Fix problem with reader list becoming empty.
Apr 28 2021, 7:53 PM
werner added a comment to T5414: Input/output error (218136625).

Please try to verify on the command line (cmd.exe):

Apr 28 2021, 11:37 AM · Support, gpg4win

Apr 27 2021

werner renamed T5411: After upgrading from gpg4win 3.1.13 to gpg4win 3.1.15 GpgOL does not load, Outlook crashes. from After upgrading from gpg4win 3.1.13 to gpg4win 3.1.15 GnuOL does not load, Outlook crashes. to After upgrading from gpg4win 3.1.13 to gpg4win 3.1.15 GpgOL does not load, Outlook crashes..
Apr 27 2021, 2:39 PM · gpg4win, Support
werner added a comment to T5412: Getting "Invalid digest algorithm", when trying to generate ECDH keys, in batch mode.

The curve is not defined to be used for ECDH (encryption); in fact it should in general only be used with the EdDSA
algorithm. You need to use "Key-Type: eddsa". Note that the EdDSA signing algorithm is different than the commonly used ECDSA signing algorithm.

Apr 27 2021, 2:39 PM · FAQ, gnupg, OpenPGP
werner added a comment to rC060c378c050e: ecc: Check the input length for the point..

Can you please port this also to 1.8?

Apr 27 2021, 2:34 PM
werner closed T5412: Getting "Invalid digest algorithm", when trying to generate ECDH keys, in batch mode as Resolved.
Apr 27 2021, 8:34 AM · FAQ, gnupg, OpenPGP
werner edited projects for T5412: Getting "Invalid digest algorithm", when trying to generate ECDH keys, in batch mode, added: gnupg, FAQ; removed gnupg (gpg23), Bug Report.

You can't use ecdh with ed25519.

Apr 27 2021, 8:33 AM · FAQ, gnupg, OpenPGP
werner claimed T5412: Getting "Invalid digest algorithm", when trying to generate ECDH keys, in batch mode.
Apr 27 2021, 8:14 AM · FAQ, gnupg, OpenPGP

Apr 26 2021

werner committed rCa208f6af5033: doc: Clarify gcry_md_setkey for keyed BLAKE hashes. (authored by werner).
doc: Clarify gcry_md_setkey for keyed BLAKE hashes.
Apr 26 2021, 8:13 PM