Page MenuHome GnuPG
Feed All Stories

May 28 2021

werner committed rG7c4b0eda7462: doc: Update description of LDAP keyservers (authored by werner).
doc: Update description of LDAP keyservers
May 28 2021, 3:51 PM
werner committed rG8de9d54ac83f: dirmngr: Fix default port for our redefinition of ldaps. (authored by werner).
dirmngr: Fix default port for our redefinition of ldaps.
May 28 2021, 3:23 PM
aheinecke added a comment to T5452: Kleopatra: Provide an option to test the LDAP keyserver connection.

Yes. This is not a backend issue. Kleopatra can determine if it has connection to the keyserver but the issue is about that Kleopatra should determine that and indicate that.

May 28 2021, 9:29 AM · kleopatra
Saturneric added a comment to T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign.

A popular way is to export the subkey, delete the existing key pair, and then import the subkey back, so that the actual value of the master key will not appear in the key pair to protect the master key(The value of the master key will be backed up and stored in another safe place).
At this time, gpg -K will display the following for this key pair:

May 28 2021, 9:26 AM · FAQ, Support, gpgme
werner added a comment to T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign.

By " without a master key" do you mean a keypair where the private key for the primary key is missing?

May 28 2021, 8:59 AM · FAQ, Support, gpgme
gniibe edited projects for T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations, added: yubikey; removed MacOS.
May 28 2021, 7:19 AM · gnupg24, yubikey, Bug Report
gniibe triaged T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations as High priority.
May 28 2021, 7:18 AM · gnupg24, yubikey, Bug Report
gniibe claimed T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

Thanks. I push the fix of yours.

May 28 2021, 7:17 AM · gnupg24, yubikey, Bug Report
gniibe committed rG36f50b259cae: agent: Fix calling handle_pincache_put. (authored by gniibe).
agent: Fix calling handle_pincache_put.
May 28 2021, 6:48 AM
gniibe committed rG5b1806454c03: scd: Fix zero-byte handling in ECC. (authored by gniibe).
scd: Fix zero-byte handling in ECC.
May 28 2021, 4:36 AM
gniibe merged T5451: disable-ccid breaks gpg-agent caching on MacOS (gpg 2.3.1) into T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.
May 28 2021, 3:23 AM · gnupg24, yubikey, Bug Report
gniibe merged task T5451: disable-ccid breaks gpg-agent caching on MacOS (gpg 2.3.1) into T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.
May 28 2021, 3:23 AM · scd, gnupg (gpg23), MacOS, Bug Report

May 27 2021

Saturneric created T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign.
May 27 2021, 10:09 PM · FAQ, Support, gpgme
werner added a comment to T5452: Kleopatra: Provide an option to test the LDAP keyserver connection.

Just search for something.

May 27 2021, 7:34 PM · kleopatra
werner committed rWccdffb6f8ab6: Update copyright list (authored by werner).
Update copyright list
May 27 2021, 11:20 AM
aheinecke added a comment to T5452: Kleopatra: Provide an option to test the LDAP keyserver connection.

Yeah, but cbiedl's issue is about something like that in Kleopatra for "users".

May 27 2021, 10:15 AM · kleopatra
gniibe committed rG2b50f942672d: gpg: Ed448 and X448 are only for v5 for --full-gen-key. (authored by gniibe).
gpg: Ed448 and X448 are only for v5 for --full-gen-key.
May 27 2021, 10:07 AM
gniibe committed rT01464c04267a: build: _DARWIN_C_SOURCE should be 1. (authored by gniibe).
build: _DARWIN_C_SOURCE should be 1.
May 27 2021, 9:21 AM
werner triaged T5453: gpgme docs unclear about gpgme_user_id_t.email and gpgme_user_id_t.address as Wishlist priority.
May 27 2021, 7:53 AM · Documentation, gpgme, Bug Report
gniibe committed rA335030e3d204: build: _DARWIN_C_SOURCE should be 1. (authored by gniibe).
build: _DARWIN_C_SOURCE should be 1.
May 27 2021, 7:16 AM
gniibe committed rM792a7e7f04ea: build: Update gpg-error.m4 (authored by gniibe).
build: Update gpg-error.m4
May 27 2021, 7:00 AM
gniibe committed rM367b9e748860: build: _DARWIN_C_SOURCE should be 1. (authored by gniibe).
build: _DARWIN_C_SOURCE should be 1.
May 27 2021, 7:00 AM
gniibe committed rKa375a3d20e83: build: _DARWIN_C_SOURCE should be 1. (authored by gniibe).
build: _DARWIN_C_SOURCE should be 1.
May 27 2021, 6:48 AM
gniibe changed the status of T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L" from Open to Testing.
May 27 2021, 6:41 AM · MacOS, libgcrypt, Bug Report
gniibe added a comment to T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L".

Done for all (libgcrypt (master, 1.9, and 1.8), libassuan, ntbtls, libksba, gpgme, gnupg (2.2 and 2.3).

May 27 2021, 6:40 AM · MacOS, libgcrypt, Bug Report
gniibe committed rG40b2890b4349: build: _DARWIN_C_SOURCE should be 1. (authored by gniibe).
build: _DARWIN_C_SOURCE should be 1.
May 27 2021, 6:34 AM
gniibe committed rGbe81941e1aca: build: _DARWIN_C_SOURCE should be 1. (authored by gniibe).
build: _DARWIN_C_SOURCE should be 1.
May 27 2021, 6:32 AM
gniibe committed rCb9a14725ec13: build: _DARWIN_C_SOURCE should be 1. (authored by gniibe).
build: _DARWIN_C_SOURCE should be 1.
May 27 2021, 6:21 AM
gniibe added a comment to T5443: Debian ppc64el failure of 'make check with_valgrind=1'.

I test on ppc64 machine (POWER9, big endian).

May 27 2021, 4:38 AM · gnupg
dkg created T5453: gpgme docs unclear about gpgme_user_id_t.email and gpgme_user_id_t.address.
May 27 2021, 4:17 AM · Documentation, gpgme, Bug Report

May 26 2021

dkg added a comment to T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component.

Another solution to make life easier for gpgme users encountering this stuff would be if gpgme itself knows which uid is a DN and which is not, it could populate the gpgme_user_id_t.address field with content of the 1.2.840.113549.1.9.1 DN component. (or maybe gpgme_user_id_t.email, or both? as a user of gpgme, i don't really understand the difference between these fields)

May 26 2021, 9:34 PM · libksba, S/MIME, Bug Report
dkg added a comment to T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component.

fwiw, RFC 2253 is obsoleted by rfc 4514 -- which also doesn't have 1.2.840.113549.1.9.1 associated with "EMAIL", but does provide more detailed guidance for implementers of DN-to-string (and string-to-DN, to the extent that this is possible) conversions. Maybe the code should be updated to refer to the non-obsolete specification at least.

May 26 2021, 9:03 PM · libksba, S/MIME, Bug Report
werner committed rG317d5947b84a: dirmngr: Use --ldaptimeout for OpenPGP LDAP keyservers. (authored by werner).
dirmngr: Use --ldaptimeout for OpenPGP LDAP keyservers.
May 26 2021, 7:07 PM
werner added a comment to T5452: Kleopatra: Provide an option to test the LDAP keyserver connection.

You can easily do this with gpg-connect-agent

May 26 2021, 6:24 PM · kleopatra
ikloecker added inline comments to rG2b4cddf9086f: dirmngr: Allow for non-URL specified ldap keyservers..
May 26 2021, 6:10 PM
werner added inline comments to rGff17aee5d10c: dirmngr: New option --ldapserver.
May 26 2021, 6:07 PM
werner closed T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component as Resolved.

We translate only those OIDs from RFC-2253 to have a stable set of names in the libksba interface. If you need anything else, you need to do this yourself. For example gpgsm does this in in parse_dn_part, gpa has the code in format-dn.

May 26 2021, 6:00 PM · libksba, S/MIME, Bug Report
ikloecker added inline comments to rGff17aee5d10c: dirmngr: New option --ldapserver.
May 26 2021, 5:49 PM
werner added projects to T5451: disable-ccid breaks gpg-agent caching on MacOS (gpg 2.3.1): MacOS, gnupg (gpg23), scd.
May 26 2021, 5:48 PM · scd, gnupg (gpg23), MacOS, Bug Report
werner added a comment to T5404: Kleopatra: OpenPGP LDAP keyserver configuration impossible for at least 2.3.

I implemented the new format in 2.2 but we need to discuss how to handle this in gpgconf.

May 26 2021, 4:50 PM · kleopatra, Restricted Project
werner committed rG72124fadafde: dirmngr: Support pseudo URI scheme "opaque". (authored by werner).
dirmngr: Support pseudo URI scheme "opaque".
May 26 2021, 4:22 PM
werner committed rG2b4cddf9086f: dirmngr: Allow for non-URL specified ldap keyservers. (authored by werner).
dirmngr: Allow for non-URL specified ldap keyservers.
May 26 2021, 4:22 PM
werner committed rG9f586700ec4c: gpg,sm: Simplify keyserver spec parsing. (authored by werner).
gpg,sm: Simplify keyserver spec parsing.
May 26 2021, 4:22 PM
werner committed rGff17aee5d10c: dirmngr: New option --ldapserver (authored by werner).
dirmngr: New option --ldapserver
May 26 2021, 4:22 PM
ikloecker moved T5404: Kleopatra: OpenPGP LDAP keyserver configuration impossible for at least 2.3 from Restricted Project Column to Restricted Project Column on the Restricted Project board.
May 26 2021, 2:15 PM · kleopatra, Restricted Project
ikloecker changed the status of T5404: Kleopatra: OpenPGP LDAP keyserver configuration impossible for at least 2.3 from Open to Testing.

Fixed. Kleopatra no longer tries to parse the keyserver option and treats it as simple text (instead of as URL).

May 26 2021, 2:15 PM · kleopatra, Restricted Project
Laurent Montel <montel@kde.org> committed rLIBKLEOb45c40d99d86: Use more target-centric cmake code (authored by Laurent Montel <montel@kde.org>).
Use more target-centric cmake code
May 26 2021, 1:53 PM
ikloecker committed rKLEOPATRA732af0738f5d: GIT_SILENT: Clean up obsolete includes and defines (authored by ikloecker).
GIT_SILENT: Clean up obsolete includes and defines
May 26 2021, 11:54 AM
ikloecker committed rKLEOPATRA49790088a316: Remove unused code (authored by ikloecker).
Remove unused code
May 26 2021, 11:54 AM
ikloecker committed rKLEOPATRA760ad71507f0: Present the value of the keyserver option as-is to the user (authored by ikloecker).
Present the value of the keyserver option as-is to the user
May 26 2021, 11:54 AM
ikloecker committed rLIBKLEO2f5147f3fdf8: Do not include the default key if it has the wrong protocol (authored by ikloecker).
Do not include the default key if it has the wrong protocol
May 26 2021, 11:40 AM
cbiedl triaged T5452: Kleopatra: Provide an option to test the LDAP keyserver connection as Wishlist priority.
May 26 2021, 11:34 AM · kleopatra
cbiedl created T5452: Kleopatra: Provide an option to test the LDAP keyserver connection.
May 26 2021, 11:34 AM · kleopatra
sithlord2 created T5451: disable-ccid breaks gpg-agent caching on MacOS (gpg 2.3.1).
May 26 2021, 10:50 AM · scd, gnupg (gpg23), MacOS, Bug Report
ikloecker committed rLIBKLEOc6a70cbc4f43: Use hkps instead of hkp as default keyserver protocol (authored by ikloecker).
Use hkps instead of hkp as default keyserver protocol
May 26 2021, 10:44 AM
ikloecker committed rLIBKLEOaa4a4bdd912a: Set/get the OpenPGP keyserver as simple string (authored by ikloecker).
Set/get the OpenPGP keyserver as simple string
May 26 2021, 10:44 AM
ikloecker committed rLIBKLEO19e82d3d4b5b: Bump library version (authored by ikloecker).
Bump library version
May 26 2021, 10:44 AM
ikloecker committed rLIBKLEO3a4b6d5af371: Remove unused CryptoConfigDialog (authored by ikloecker).
Remove unused CryptoConfigDialog
May 26 2021, 10:44 AM
ikloecker committed rLIBKLEO8f170d07dbd7: Remove broken and no longer useful method for parsing keyserver option (authored by ikloecker).
Remove broken and no longer useful method for parsing keyserver option
May 26 2021, 10:44 AM
ikloecker committed rLIBKLEOae8ddfab0d9e: Remove special widget for OpenPGP keyserver entry (authored by ikloecker).
Remove special widget for OpenPGP keyserver entry
May 26 2021, 10:44 AM
gniibe committed rC632d80ef30e1: cipher: Fix ElGamal encryption for other implementations. (authored by gniibe).
cipher: Fix ElGamal encryption for other implementations.
May 26 2021, 8:56 AM
dkg added a comment to T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component.

I'm reporting this because the above message renders poorly in notmuch -- notmuch gets the user ID from gmime's g_mime_certificate_get_user_id, and gmime populates that field from the uids field of a gpgme_key_t object, and gpgme pulls uid information from gpgsm --with-colons.

May 26 2021, 3:39 AM · libksba, S/MIME, Bug Report
dkg added a comment to T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component.

Attached is a proposed patch.

May 26 2021, 3:32 AM · libksba, S/MIME, Bug Report
dkg created T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component.
May 26 2021, 3:25 AM · libksba, S/MIME, Bug Report
dkg added a comment to T5445: gpgsm fails to find path to valid X.509 root when cross-signed intermediate certificate is present.

Attached is an even worse PKCS7 blob, that should be validatable given reliance on ca.rsa.crt, but it will be rejected by gpgsm because the PKCS#7 bundle includes ca.rsa.cross2.crt in it.

May 26 2021, 12:07 AM · S/MIME, Bug Report

May 25 2021

dkg updated the task description for T5445: gpgsm fails to find path to valid X.509 root when cross-signed intermediate certificate is present.
May 25 2021, 11:22 PM · S/MIME, Bug Report
dkg updated the task description for T5445: gpgsm fails to find path to valid X.509 root when cross-signed intermediate certificate is present.
May 25 2021, 11:21 PM · S/MIME, Bug Report
dkg added a comment to T5445: gpgsm fails to find path to valid X.509 root when cross-signed intermediate certificate is present.

OK, i have replicated this successfully with no ed25519 involved. here's the new intermediate cert:

May 25 2021, 11:18 PM · S/MIME, Bug Report
dkg added a comment to T5445: gpgsm fails to find path to valid X.509 root when cross-signed intermediate certificate is present.

Which NIST test suite are you referring to? It might not cover certificate pathfinding in the face of multiple cross-signed authorities.

May 25 2021, 5:37 PM · S/MIME, Bug Report
werner committed rG30563ea29705: gpg: Partial fix for Unicode problem in output files. (authored by werner).
gpg: Partial fix for Unicode problem in output files.
May 25 2021, 1:47 PM
werner edited projects for T5449: gnupg: Do not use SHA1 by default, added: gnupg (gpg23); removed gnupg.
May 25 2021, 12:49 PM · gnupg24, gnupg (gpg23), Bug Report
lbogdan added a comment to T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

@werner @ikloecker Any more thoughts / updates on this?

May 25 2021, 11:40 AM · gnupg24, yubikey, Bug Report
ikloecker moved T5404: Kleopatra: OpenPGP LDAP keyserver configuration impossible for at least 2.3 from Restricted Project Column to Restricted Project Column on the Restricted Project board.
May 25 2021, 10:35 AM · kleopatra, Restricted Project
ikloecker moved T4876: Generic smartcard widget for PKCS# 15 and other apps from Restricted Project Column to Restricted Project Column on the Restricted Project board.
May 25 2021, 10:35 AM · Restricted Project, kleopatra
ikloecker changed the status of T4876: Generic smartcard widget for PKCS# 15 and other apps from Open to Testing.
May 25 2021, 10:35 AM · Restricted Project, kleopatra
ikloecker changed the status of T4876: Generic smartcard widget for PKCS# 15 and other apps, a subtask of T4875: Kleopatra: Improve support for S/MIME Smartcards and add additional card support, from Open to Testing.
May 25 2021, 10:35 AM · kleopatra
aheinecke reassigned T5404: Kleopatra: OpenPGP LDAP keyserver configuration impossible for at least 2.3 from aheinecke to ikloecker.
May 25 2021, 10:17 AM · kleopatra, Restricted Project
werner triaged T5445: gpgsm fails to find path to valid X.509 root when cross-signed intermediate certificate is present as Normal priority.

I do not have the time to analyse this in the context of our approved versions and to compare it to the NIST test suite. We also do not yet have support for ed25519 certificates.

May 25 2021, 9:45 AM · S/MIME, Bug Report
werner triaged T5444: "gpg: key generation failed: Unknown elliptic curve" from "Key-Type: default" as Normal priority.

You should anyway use --quick-gen-key.

May 25 2021, 8:37 AM · gnupg24, gnupg (gpg23)
werner added a comment to T5446: Don't show LDAP credentials in error messages, at least not by default.

So what do you think is the threat here?

May 25 2021, 8:34 AM · dirmngr, gnupg
cbiedl added a comment to T5444: "gpg: key generation failed: Unknown elliptic curve" from "Key-Type: default".

Setting a curve type (which shouldn't be necessary) like "Curve-Type: ed25519" doesn't help either. While this makes the check in gpg pass, the gpg-agent process re-checks the parameter set and rejects it with the same error message.

May 25 2021, 8:17 AM · gnupg24, gnupg (gpg23)
cbiedl added a comment to T5446: Don't show LDAP credentials in error messages, at least not by default.

My concern is not a disloyal administrator, so I disagree with that priority.

May 25 2021, 8:14 AM · dirmngr, gnupg
gniibe added a comment to T5328: On the (in)security of Elgamal in OpenPGP.

CVE-2021-33560

May 25 2021, 2:46 AM · side-channel, CVE, libgcrypt

May 24 2021

Jakuje created T5449: gnupg: Do not use SHA1 by default.
May 24 2021, 4:46 PM · gnupg24, gnupg (gpg23), Bug Report
Jakuje renamed T5433: libgcrypt: Do not use SHA1 by default from Do not use SHA1 by default to libgcrypt: Do not use SHA1 by default.
May 24 2021, 4:38 PM · FIPS, libgcrypt, Bug Report
Jakuje added a comment to T5393: gnupg coverity static analysis reports.

Thank you. I checked what was missing and all looks good. But do not understand why the last gpgsplit xfree was not applied. We are leaving a block where this variable is dynamically allocated so even without error we need to free it.

May 24 2021, 4:36 PM · gnupg (gpg23), Bug Report
l10n daemon script <scripty@kde.org> committed rLIBKLEO2e7c0cc0a6fa: SVN_SILENT made messages (.desktop file) - always resolve ours (authored by l10n daemon script <scripty@kde.org>).
SVN_SILENT made messages (.desktop file) - always resolve ours
May 24 2021, 3:21 AM

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
Saturneric 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.

thanks!

May 23 2021, 4:11 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 22 2021

Saturneric created T5448: GPG_ERR_EOF didn't return by gpgme_op_keylist_next after the last key in the list had already been returned.
May 22 2021, 5:53 PM · Support, gpgme

May 21 2021

bernhard added a comment to T5285: GnuPG: 8Bit filenames can no longer be provided on the command line.

Could make --multifile work on windows 10, documenting the workaround here.

May 21 2021, 4:16 PM · gnupg
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 · Restricted Project, gnupg24, LDAP
cbiedl updated the task description for T5446: Don't show LDAP credentials in error messages, at least not by default.
May 21 2021, 11:09 AM · dirmngr, gnupg
cbiedl created T5446: Don't show LDAP credentials in error messages, at least not by default.
May 21 2021, 10:57 AM · dirmngr, gnupg
Alexander Lohnau <alexander.lohnau@gmx.de> committed rKLEOPATRA5dc829c83768: GIT_SILENT Clean up unused code (authored by Alexander Lohnau <alexander.lohnau@gmx.de>).
GIT_SILENT Clean up unused code
May 21 2021, 10:47 AM
Alexander Lohnau <alexander.lohnau@gmx.de> committed rKLEOPATRA0400fac2280c: Remove obsolete create_* methods (authored by Alexander Lohnau <alexander.lohnau@gmx.de>).
Remove obsolete create_* methods
May 21 2021, 10:47 AM
Alexander Lohnau <alexander.lohnau@gmx.de> committed rKLEOPATRA7c58a35ada23: Allow gnupgsystem KCM to be loaded externally (authored by Alexander Lohnau <alexander.lohnau@gmx.de>).
Allow gnupgsystem KCM to be loaded externally
May 21 2021, 10:47 AM
Alexander Lohnau <alexander.lohnau@gmx.de> committed rKLEOPATRAaa59250b22e5: Remove obsolete desktop files (authored by Alexander Lohnau <alexander.lohnau@gmx.de>).
Remove obsolete desktop files
May 21 2021, 10:47 AM