Page MenuHome GnuPG
Feed All Stories

Jun 1 2021

onickolay created T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..
Jun 1 2021, 1:03 PM · Support, gnupg, OpenPGP
ikloecker closed T5461: Kleopatra: Does not change OpenPGP keyserver configured in gpg.conf as Resolved.

Fixed for gpg < 2.3. To make the fix also work for gpg 2.3, T5462: gpgconf: Make gpg/keyserver option available again needs to be fixed.

Jun 1 2021, 11:43 AM · Restricted Project, kleopatra, Bug Report
ikloecker moved T5461: Kleopatra: Does not change OpenPGP keyserver configured in gpg.conf from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jun 1 2021, 11:43 AM · Restricted Project, kleopatra, Bug Report
ikloecker moved T5461: Kleopatra: Does not change OpenPGP keyserver configured in gpg.conf from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jun 1 2021, 11:43 AM · Restricted Project, kleopatra, Bug Report
ikloecker committed rKLEOPATRA544abf7b75fb: Edit the keyserver option that is actually used by gpg/dirmngr (authored by ikloecker).
Edit the keyserver option that is actually used by gpg/dirmngr
Jun 1 2021, 11:31 AM
ikloecker created T5463: gpgconf: Options that gpgconf won't change should be flagged as read-only.
Jun 1 2021, 11:21 AM · gnupg24, gnupg (gpg23), Feature Request
Vvyibaba closed T5457: libgcrypt unable to be compiled with clang as Resolved.

Thank you, indeed it was my fault. After -enable-O-flag-munging it compiled (btw before that it spitted the same error in jitterentropy as the one referenced in the apple case, so maybe it's that?)

Jun 1 2021, 11:08 AM · libgcrypt, Bug Report
ikloecker created T5462: gpgconf: Make gpg/keyserver option available again.
Jun 1 2021, 10:07 AM · gnupg (gpg23), Restricted Project
gniibe added a comment to T5460: Migration for ABI change (newer mingw).

Ah, I realized that the build for sqlite3 in Speedo has a patch using -static-libgcc.

Jun 1 2021, 10:05 AM · gpg4win, Windows
ikloecker claimed T5461: Kleopatra: Does not change OpenPGP keyserver configured in gpg.conf.
Jun 1 2021, 10:01 AM · Restricted Project, kleopatra, Bug Report
ikloecker created T5461: Kleopatra: Does not change OpenPGP keyserver configured in gpg.conf.
Jun 1 2021, 10:00 AM · Restricted Project, kleopatra, Bug Report
ikloecker added a comment to T5404: Kleopatra: OpenPGP LDAP keyserver configuration impossible for at least 2.3.

Yes, --x509server does better convey the semantics of this option.

Jun 1 2021, 9:36 AM · kleopatra, Restricted Project
werner committed rGa8209b001cda: tests: Rename subdir gpgsm to cms and move sample dirs. (authored by werner).
tests: Rename subdir gpgsm to cms and move sample dirs.
Jun 1 2021, 9:12 AM
werner added a project to T5460: Migration for ABI change (newer mingw): gpg4win.

We use libgcc_s_sjlj-1.dll only for for gpg4win's C++ code which is gpgme's c++ binding and the Qt stuff.

Jun 1 2021, 8:48 AM · gpg4win, Windows
werner reopened T5369: GnuPG build on Apple with Clang as "Open".

I don't think that it is a good idea to silence this warning. The pragma is esssential for proper random numbers and if clang hijacks a GCC's name space but implements something different it is better to have a warning than to fall into the pit full of dragons.

Jun 1 2021, 8:40 AM · libgcrypt, MacOS, Bug Report
Alan added a comment to T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.

So, has this issue been solved?

Jun 1 2021, 8:40 AM · MacOS, yubikey, Bug Report
gniibe updated the task description for T5460: Migration for ABI change (newer mingw).
Jun 1 2021, 6:14 AM · gpg4win, Windows
gniibe created T5460: Migration for ABI change (newer mingw).
Jun 1 2021, 6:12 AM · gpg4win, Windows
gniibe committed rCf6a4e22d86d2: random: Silence a warning for building rndjent by Clang. (authored by gniibe).
random: Silence a warning for building rndjent by Clang.
Jun 1 2021, 4:36 AM
gniibe closed T5369: GnuPG build on Apple with Clang as Resolved.

That warning could be silenced by surrounding pragma with #ifdef __OPTIMIZE__ (with should be supported by GCC and Clang).

Jun 1 2021, 4:09 AM · libgcrypt, MacOS, Bug Report
gniibe added a comment to T5457: libgcrypt unable to be compiled with clang.

Thanks for your report.

Jun 1 2021, 4:03 AM · libgcrypt, Bug Report

May 31 2021

Vvyibaba added a project to T5457: libgcrypt unable to be compiled with clang: libgcrypt.
May 31 2021, 3:07 PM · libgcrypt, Bug Report
Vvyibaba created T5457: libgcrypt unable to be compiled with clang.
May 31 2021, 3:07 PM · libgcrypt, Bug Report
werner added a comment to T5404: Kleopatra: OpenPGP LDAP keyserver configuration impossible for at least 2.3.

Now, it is still time to change the name of the new option "--ldapserver". "--x509server" maybe?

May 31 2021, 2:56 PM · kleopatra, Restricted Project
werner added a comment to T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign.

Take care: It is not clear whether you may use a [C} subkey for certification. GnuPG currently accepts this but the RFC can also be read as primary keys needs to to do the certification.

May 31 2021, 2:54 PM · FAQ, Support, gpgme
ikloecker 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 31 2021, 9:58 AM · kleopatra, Restricted Project
ikloecker added a comment to T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign.

For signing (aka certifying) another key you need a (sub)key with the "certify" capability. Your signing subkey can only be used for signing data but not for certifying keys. This isn't specific to gpgme. See https://datatracker.ietf.org/doc/html/rfc4880#section-5.2.3.21.

May 31 2021, 9:44 AM · FAQ, Support, gpgme
gniibe committed rPTH5020c2b9c939: build: Add -Wpointer-arith if available. (authored by gniibe).
build: Add -Wpointer-arith if available.
May 31 2021, 4:41 AM
gniibe committed rPTH1b4ca92e720c: tests: Minor fixes for test programs. (authored by gniibe).
tests: Minor fixes for test programs.
May 31 2021, 4:36 AM

May 30 2021

Yuri Chornoivan <yurchor@ukr.net> committed rKLEOPATRA2a34769219bd: Fix minor typo found by Shinjo Park (authored by Yuri Chornoivan <yurchor@ukr.net>).
Fix minor typo found by Shinjo Park
May 30 2021, 6:20 PM

May 28 2021

werner committed rGc8f0b02936c7: gpgconf: Make runtime changes with different homedir work. (authored by werner).
gpgconf: Make runtime changes with different homedir work.
May 28 2021, 7:50 PM
werner committed rG31c0aa2ff37f: gpgconf: Make runtime changes with different homedir work. (authored by werner).
gpgconf: Make runtime changes with different homedir work.
May 28 2021, 7:49 PM
werner edited projects for T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign, added: Support, FAQ; removed Bug Report.

Yes, you need the secret part of the primary key. gpgme has this info but it is easy to miss. Even our gpgme/tests/run-keylist.c debug tool did not show it directly. I modified it to make this more clear, see the latest gpgme commit. Here is an example for my key:

$ ./run-keylist --verbose --with-secret  63113AE866587D0A
keyid   : 63113AE866587D0A
caps    : esc
flags   : secret
upd     : 0 (0)
fpr    0: AEA84EDCF01AD86C4701C85C63113AE866587D0A
grip   0: CE5C1F1B8C96F1A078A2D1932EEE738A854ED976
curve  0: ed25519
caps   0: sc
flags  0:
fpr    1: E05BA20ED4F17768613B03C53CD7B3A055039224
grip   1: 7A1E3130C9CBDBF203A0AD8E186D9C511D5019FF
curve  1: cv25519
caps   1: e
flags  1: secret
fpr    2: 8777461F2A074EBC480D359419CC1C9E085B107A
grip   2: FF35C6E765F440145095750DC97D43D496C5ABEA
curve  2: ed25519
caps   2: s
flags  2: secret
May 28 2021, 7:32 PM · FAQ, Support, gpgme
werner committed rM31eb45f01620: tests: Improve the output of the run-keylist helper. (authored by werner).
tests: Improve the output of the run-keylist helper.
May 28 2021, 7:28 PM
werner committed rG1ca4df446f4e: doc: Add notes on how to enable TLS in openldap. (authored by werner).
doc: Add notes on how to enable TLS in openldap.
May 28 2021, 5:48 PM
werner added a project to T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign: gpgme.
May 28 2021, 4:36 PM · FAQ, Support, gpgme
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