Page MenuHome GnuPG
Feed Advanced Search

May 24 2023

werner moved T6503: Do not make use of the VirtualStore under Windows from Backlog to QA on the gnupg24 board.
May 24 2023, 1:47 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, kleopatra
mgorny added a comment to T6500: Keyserver access via http-proxy isn't attempted when using standard-resolver.

For the record, we've removed the SRV record for keys.gentoo.org for now, to work around the problem. Without the SRV record, everything works as expected.

May 24 2023, 10:03 AM · gnupg, dns, Bug Report
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

I pushed the change which keeps old status report behavior to master.
Let me test the change.

May 24 2023, 3:48 AM · Emacs, gnupg, Bug Report
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

looks simpler to me.

May 24 2023, 3:24 AM · Emacs, gnupg, Bug Report

May 23 2023

werner closed T6501: Check use of write in gpgme's Python bindings as Resolved.

Should be fixed now; see commit above.

May 23 2023, 4:45 PM · Python, Bug Report, gpgme
werner added a comment to T6501: Check use of write in gpgme's Python bindings.

FWIW: WriteFile and write are more different than in using a HANDLE vs. a libc file descriptor. Despite that a HANDLE might be a 64 bit pointer, it is guaranteed that the value fits into a 32 bit variable. But they still index different objects. The return code and error values are also different.

May 23 2023, 3:59 PM · Python, Bug Report, gpgme
werner added a comment to T6501: Check use of write in gpgme's Python bindings.

Much simpler: write is only used in the callbacks and over there gpgme_io_writen[n] shall be used anyway.

May 23 2023, 3:53 PM · Python, Bug Report, gpgme
werner updated the task description for T6504: Adding an ADSK to several keys may fail with Wrong Key Usage..
May 23 2023, 3:18 PM · gnupg24 (gnupg-2.4.2), OpenPGP, Bug Report
werner triaged T6504: Adding an ADSK to several keys may fail with Wrong Key Usage. as High priority.
May 23 2023, 3:18 PM · gnupg24 (gnupg-2.4.2), OpenPGP, Bug Report
werner added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

Hmm, for the latter this:

May 23 2023, 3:03 PM · Emacs, gnupg, Bug Report
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

Orthogonally, here is possible change for GnuPG, if we need to support the workaround of compress-level 0 in ~/.gnupg/gpg.conf.

May 23 2023, 2:11 PM · Emacs, gnupg, Bug Report
werner added a comment to T6503: Do not make use of the VirtualStore under Windows.

Kleopatra test case (similar to gpg):

May 23 2023, 1:22 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, kleopatra
werner triaged T6503: Do not make use of the VirtualStore under Windows as High priority.
May 23 2023, 1:15 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, kleopatra
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

OK, here is my changes which always use make-temp-file (to avoid confusion between data input and passphrase input).

May 23 2023, 10:47 AM · Emacs, gnupg, Bug Report
gniibe claimed T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

I use epg.el with the change of removing the wait:

May 23 2023, 9:23 AM · Emacs, gnupg, Bug Report
Angel added a comment to T6501: Check use of write in gpgme's Python bindings.

it's not hard to fix that header to actually provide a sensible write(), avoiding the issue listed on the mailing list, where there was no return to check:

May 23 2023, 3:04 AM · Python, Bug Report, gpgme

May 22 2023

werner added a project to T6501: Check use of write in gpgme's Python bindings: Python.
May 22 2023, 10:38 AM · Python, Bug Report, gpgme
werner triaged T6501: Check use of write in gpgme's Python bindings as High priority.
May 22 2023, 10:37 AM · Python, Bug Report, gpgme
werner added projects to T6500: Keyserver access via http-proxy isn't attempted when using standard-resolver: gnupg24, dns.

Seems it gets a record but is not able to parse it (gnupg/dirmngr/dns-stuff.c:getsrv-standard) in your setup. Not sure why it loops - need to debug it.

May 22 2023, 9:25 AM · gnupg, dns, Bug Report
mgorny added a comment to T6500: Keyserver access via http-proxy isn't attempted when using standard-resolver.

Ok, it seems that my reproducer isn't correct after all. The user just confirmed that the SRV lookup succeeds on their system, so it seems GPG hits some loop repeating that for no apparent reason.

May 22 2023, 7:51 AM · gnupg, dns, Bug Report
mgorny created T6500: Keyserver access via http-proxy isn't attempted when using standard-resolver.
May 22 2023, 7:09 AM · gnupg, dns, Bug Report

May 19 2023

matthias.wolff added a comment to T6498: Release signing key trust does not work.

On the command line it works. It seem's to be a problem of Kleopatra.

May 19 2023, 4:25 PM · Bug Report
aheinecke triaged T6498: Release signing key trust does not work as Low priority.

Can you try on the command line, errors might be more specific there. This can be caused for example by a wrong system clock.

May 19 2023, 4:15 PM · Bug Report
matthias.wolff created T6498: Release signing key trust does not work.
May 19 2023, 3:47 PM · Bug Report
werner moved T6497: gpgtar does not return failure code to gpgme from Backlog to WiP on the gnupg22 board.
May 19 2023, 1:08 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, Restricted Project
werner moved T6497: gpgtar does not return failure code to gpgme from Backlog to QA on the gnupg24 board.
May 19 2023, 1:07 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, Restricted Project
werner triaged T6497: gpgtar does not return failure code to gpgme as Normal priority.

Fixed in 2.4

May 19 2023, 1:07 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, Restricted Project

May 17 2023

ikloecker claimed T6492: Kleopatra: Entries in certificate drop-down are not sorted.
May 17 2023, 10:25 AM · Restricted Project, kleopatra, Bug Report
ikloecker created T6492: Kleopatra: Entries in certificate drop-down are not sorted.
May 17 2023, 10:24 AM · Restricted Project, kleopatra, Bug Report
gniibe closed T6293: w32: putenv in Microsoft runtime doesn't support GNU extension as Resolved.
May 17 2023, 4:37 AM · gnupg, Bug Report

May 16 2023

ebo closed T4375: unable to change empty passwords for private keys as Resolved.

closing, as setting a password on a key without password works (at least in current gpg4win version). For improvement of the user guidance see T6436.

May 16 2023, 10:02 AM · Info Needed, Bug Report

May 15 2023

werner closed T6490: GPG 2.4.0 encrypting files with `--openpgp` flag does not make the encrypted file adhere to OpenPGP RFC as Resolved.

--openpgp means the current OpenPGP standard as implemented by GnuPG. This was important in the first few years of OpenPGP but not anymore today. The option --rfc4880 might be what you want. Please keep also in mind that the preference list declares what a concrete implementation supports and not necessary what's in an RFC.

May 15 2023, 8:47 PM · Not A Bug, Bug Report
vicwuqinyi created T6490: GPG 2.4.0 encrypting files with `--openpgp` flag does not make the encrypted file adhere to OpenPGP RFC.
May 15 2023, 4:42 PM · Not A Bug, Bug Report
vicwuqinyi created T6489: GPG 2.4.0 encrypted files in FIPS mode is non-compliant.
May 15 2023, 4:40 PM · Not A Bug, gnupg, FIPS
ebo closed T6118: Kleopatra: Bogus </item><item> in message when importing secret key with multiple user IDs as Resolved.

works

May 15 2023, 11:28 AM · kleopatra, Restricted Project, Bug Report

May 12 2023

drybalka closed T6478: gpg-agent works for gpg, but not ssh with pinentry-tty as Resolved.
May 12 2023, 3:21 PM · pinentry, Bug Report
drybalka added a comment to T6478: gpg-agent works for gpg, but not ssh with pinentry-tty.

Thank you, your suggestion inspired me to experiment a bit further and I found the problem - I needed in fact to delete the line from my ssh config, no idea why:

Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"

Now I update startup tty only on terminal start and it seems to be working. Still a bit strange.

May 12 2023, 3:20 PM · pinentry, Bug Report
werner closed T5606: 2.3.2: compile and link time warnings as Wontfix.

This is a standard C pattern to declare that one is not interested in the return value. In this case a return value won't help us because we can't log that anyway because we are in a signal handler.

May 12 2023, 10:59 AM · Bug Report
gniibe added a comment to T6478: gpg-agent works for gpg, but not ssh with pinentry-tty.

On a terminal, please invoke:
$ gpg-connect-agent UPDATESTARTUPTTY /bye

May 12 2023, 9:58 AM · pinentry, Bug Report

May 11 2023

werner closed T6483: t-iobuf: check whether state is valid as Resolved.

You are right, it is a bad habit not to check this. Thanks for your patch.

May 11 2023, 3:53 PM · Tests, Bug Report, gnupg26
werner closed T3258: clean up note on bug reporting form as Resolved.
May 11 2023, 10:57 AM · gpgweb, dev.gnupg.org, Bug Report

May 10 2023

bernhard added a comment to T6433: SHA-1 digest is not considered weak.

it would break the verification of too many signatures.

May 10 2023, 4:57 PM · Bug Report
werner closed T6476: cmd_apdu uses gpg_strerror instead of apdu_strerror as Resolved.

backported to 2.2

May 10 2023, 10:09 AM · Bug Report

May 9 2023

ebo added a project to T6439: Kleopatra: Decrypting an encrypted archive fails on Windows: gnupg24 (gnupg-2.4.1).
May 9 2023, 2:40 PM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
ebo closed T6439: Kleopatra: Decrypting an encrypted archive fails on Windows as Resolved.

works, no KIO error. Gpg4win-4.1.1-beta317

May 9 2023, 2:39 PM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report

May 8 2023

fgunbin added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

@werner We could make the wait conditional on (equal epg-gpg-program "gpg"), that is, only when user has GnuPG 1.x.

May 8 2023, 4:54 PM · Emacs, gnupg, Bug Report
werner added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

Well okay, then I have no workaround. However, I won't consider this a bug because BEGIN_ENCRYPTION marks the start of the actual encryption process but not when it starts to read input data.

May 8 2023, 12:53 PM · Emacs, gnupg, Bug Report
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

The change rG60963d98cfd8: gpg: Detect already compressed data also when using a pipe. for T6332 introduce IOBUF_IOCTL_PEEK.

May 8 2023, 11:10 AM · Emacs, gnupg, Bug Report

May 7 2023

stardiviner added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

@werner I tested by switch back to GnuPG 2.4.1 (I downgraded to 2.4.0 before to temporary work around issue), adding compress-level 0 to gpg.conf file. It's not working. The problem still exist.

May 7 2023, 5:09 PM · Emacs, gnupg, Bug Report

May 5 2023

werner triaged T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG) as High priority.

I have not yet experienced that although I am using Gnus with encrypted mail all the time. My guess is that this is due to the improved compressed input detection in gpg. You might be able to work around it by adding compress-level 0 to gpg.conf

May 5 2023, 7:35 PM · Emacs, gnupg, Bug Report
fgunbin created T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).
May 5 2023, 3:37 PM · Emacs, gnupg, Bug Report
kloczek added a comment to T5606: 2.3.2: compile and link time warnings.

To sort out LTO warning someone needs to make the decision which one routines declarations are correct (those in header files or those in .c files).

May 5 2023, 3:15 PM · Bug Report
kloczek reopened T5606: 2.3.2: compile and link time warnings as "Open".

As I mention LTO warnings are most important.
Just retested 2.4.1 and I still see LTO warnings which still not been sorted out and those warnings are not false positives.

[tkloczko@pers-jacek build]$ rpmbuild -ba --with check --with failing_tests gnupg2.spec --quiet 2>&1 | grep -- \\[-W | sed 's/.*\[//; s/\]//' | sort | uniq -c | sort -nr
     28 -Wunused-result
     22 -Wlto-type-mismatch
      4 -Wenum-int-mismatch

<details>

May 5 2023, 3:13 PM · Bug Report
kloczek closed T4602: 2.2.16: test suite fails as Resolved.

Just checked 2.4.1 and looks like now everything is OK.

May 5 2023, 2:57 PM · Fedora, gnupg, Bug Report

May 4 2023

werner added a project to T6478: gpg-agent works for gpg, but not ssh with pinentry-tty: pinentry.
May 4 2023, 4:55 PM · pinentry, Bug Report
drybalka created T6478: gpg-agent works for gpg, but not ssh with pinentry-tty.
May 4 2023, 10:15 AM · pinentry, Bug Report

May 3 2023

aheinecke added a comment to T6439: Kleopatra: Decrypting an encrypted archive fails on Windows.

Starting to understand KIO architecture a bit better. We can easily add more protocols if we want to. For now I have just added the file plugin. I tested with moving.

May 3 2023, 11:43 AM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report

May 2 2023

werner closed T6442: libgcrypt-1.10.2: getrandom() is not available everywhere as Resolved.

I don't see a reason backing off the original commit. A fix for macOS is now available (rCfa21ddc158b5) and will be in the next release. No reason for other changes.

May 2 2023, 8:49 AM · MacOS, libgcrypt, Bug Report

May 1 2023

gniibe changed the status of T6476: cmd_apdu uses gpg_strerror instead of apdu_strerror from Open to Testing.

Thank you for your report. Good catch.

May 1 2023, 4:42 AM · Bug Report

Apr 29 2023

gniibe closed T6322: The warning "lower 3 bits of the secret key are not cleared" keeps showing even cv25519 key was generated by GnuPG as Resolved.

The fix is in 2.4.1.
It's not perfect fix, but it catches the problem when it's not encrypted secret key.

Apr 29 2023, 2:30 AM · gnupg24, Bug Report

Apr 28 2023

aheinecke added a comment to T6439: Kleopatra: Decrypting an encrypted archive fails on Windows.

The code for the file Job etc. is definetly in there. I think it somehow tries to intospect supported protocols maybe even through dbus and this fails then. My current expectation is that we need to identify where this happens and then to hardcode some supported jobs / workers etc.

Apr 28 2023, 5:43 PM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
aheinecke claimed T6439: Kleopatra: Decrypting an encrypted archive fails on Windows.

Yes most definetly I am looking it at next

Apr 28 2023, 5:24 PM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
ikloecker added a project to T6439: Kleopatra: Decrypting an encrypted archive fails on Windows: Restricted Project.
Apr 28 2023, 11:33 AM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
ikloecker triaged T6439: Kleopatra: Decrypting an encrypted archive fails on Windows as High priority.

Setting priority to high because this should be fixed before the next release.

Apr 28 2023, 10:48 AM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
ikloecker merged T6475: Kleopatra: KIO error when trying to decrypt tar.gpg file into T6439: Kleopatra: Decrypting an encrypted archive fails on Windows.
Apr 28 2023, 10:46 AM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
robin-nitrokey created T6476: cmd_apdu uses gpg_strerror instead of apdu_strerror.
Apr 28 2023, 10:43 AM · Bug Report

Apr 27 2023

ebo closed T6437: Kleopatra: sign/encrypt folder results in general error as Resolved.

works now, Gpg4win-4.1.1-beta295

Apr 27 2023, 11:50 AM · gpgme (gpgme 1.23.x), Bug Report, Restricted Project
ebo closed T6287: Kleopatra: Transfer key to OpenPGP card uses encryption slot when writing sign+auth key to authentication slot as Resolved.

works

Apr 27 2023, 11:22 AM · Restricted Project, kleopatra, Bug Report
ebo closed T6378: keytocard: invalid value as Resolved.

works with Gpg4win-4.1.1-beta295

Apr 27 2023, 10:57 AM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project
gniibe changed the status of T6271: The old FSF address in libgcrypt source code from Open to Testing.

Fixed for libgcrypt, updating copyright notices and license files.

Apr 27 2023, 7:09 AM · Documentation, libgcrypt, Bug Report

Apr 25 2023

ebo closed T6415: Kleopatra clipboard does not remember selected signing and --encrypt-to key. as Resolved.

File dialog and notepad now share the last used signature and encryption to self key. Works.

Apr 25 2023, 3:31 PM · Restricted Project, Bug Report, kleopatra

Apr 23 2023

jukivili added a comment to T6451: libgcrypt | gcry_cipher_setkey: 3DES-CBC key returns GPG_ERR_WEAK even with GCRYCTL_SET_ALLOW_WEAK_KEY.

Here's fix for mode specific setkey clearing error code:

Apr 23 2023, 2:38 PM · Debian, libgcrypt, Bug Report

Apr 21 2023

werner removed a subtask for T6378: keytocard: invalid value: T6465: Store the ECDH parameters in the key file.
Apr 21 2023, 3:21 PM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project
werner added a subtask for T6382: keytocard fails to import a nistp384 ECDSA key: T6465: Store the ECDH parameters in the key file.
Apr 21 2023, 3:21 PM · yubikey, scd, Bug Report
werner edited parent tasks for T6465: Store the ECDH parameters in the key file, added: T6382: keytocard fails to import a nistp384 ECDSA key; removed: T6378: keytocard: invalid value.
Apr 21 2023, 3:21 PM · gnupg26, OpenPGP, scd, Bug Report
werner triaged T6465: Store the ECDH parameters in the key file as Normal priority.
Apr 21 2023, 3:13 PM · gnupg26, OpenPGP, scd, Bug Report
werner added a comment to T6451: libgcrypt | gcry_cipher_setkey: 3DES-CBC key returns GPG_ERR_WEAK even with GCRYCTL_SET_ALLOW_WEAK_KEY.

There is still a buglet because in some modes the weak key error can be swallowed by other errors. A fix would be something like:

Apr 21 2023, 9:09 AM · Debian, libgcrypt, Bug Report
gniibe added a comment to T6451: libgcrypt | gcry_cipher_setkey: 3DES-CBC key returns GPG_ERR_WEAK even with GCRYCTL_SET_ALLOW_WEAK_KEY.

@jukivili Yes, please go ahead for both branches. Thank you.

Apr 21 2023, 5:06 AM · Debian, libgcrypt, Bug Report
gniibe added a comment to T6455: Bug in regexp library may lead to out-of-bounds read.

I checked the upstream. For the reported issue, upstream version raises an error with REG_ERR_UNMATCHED_BRACKET.
That behavior is better (as we don't have particular reason to maintain different behavior from upstream version).
Also, I found another change from upstream for end of word check.

Apr 21 2023, 5:03 AM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report

Apr 20 2023

jukivili added a comment to T6451: libgcrypt | gcry_cipher_setkey: 3DES-CBC key returns GPG_ERR_WEAK even with GCRYCTL_SET_ALLOW_WEAK_KEY.

About error code. You need to use gcry_err_code(error_code) to get the GPG_ERR_WEAK_KEY value.

Apr 20 2023, 6:22 PM · Debian, libgcrypt, Bug Report
werner moved T6455: Bug in regexp library may lead to out-of-bounds read from QA to gnupg-2.2.42 on the gnupg22 board.
Apr 20 2023, 12:30 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report
werner moved T6455: Bug in regexp library may lead to out-of-bounds read from QA to gnupg-2.4.1 on the gnupg24 board.
Apr 20 2023, 12:29 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report
werner moved T6455: Bug in regexp library may lead to out-of-bounds read from Backlog to QA on the gnupg24 board.
Apr 20 2023, 12:29 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report
werner closed T6455: Bug in regexp library may lead to out-of-bounds read as Resolved.

Okay, that was easy to check.

Apr 20 2023, 12:29 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report
werner claimed T6455: Bug in regexp library may lead to out-of-bounds read.
Apr 20 2023, 12:17 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report

Apr 19 2023

ebo closed T5836: Kleopatra: Optionally, delete private key locally after moving a key to a smartcard as Resolved.

The options for key backup+delete, delete and keep all work now, tested with VS-Desktop-3.1.27.0-beta44

Apr 19 2023, 11:59 AM · Bug Report, kleopatra, Restricted Project
ikloecker moved T6456: Kleopatra: Offers encryption-only OpenPGP keys as signing key from Backlog to QA for next release on the gpgme board.
Apr 19 2023, 10:21 AM · gpgme (gpgme 1.23.x), Restricted Project, kleopatra, Bug Report
ikloecker changed the status of T6456: Kleopatra: Offers encryption-only OpenPGP keys as signing key from Open to Testing.

To test this you need to create an OpenPGP key without signing capability.

Apr 19 2023, 10:21 AM · gpgme (gpgme 1.23.x), Restricted Project, kleopatra, Bug Report
ebo changed the status of T6437: Kleopatra: sign/encrypt folder results in general error from Open to Testing.
Apr 19 2023, 8:58 AM · gpgme (gpgme 1.23.x), Bug Report, Restricted Project
ebo changed the status of T6378: keytocard: invalid value from Open to Testing.
Apr 19 2023, 8:57 AM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project

Apr 18 2023

ionum created T6457: delete-secret-key does not delete all secret keys, when primary secret key is stripped in keyring.
Apr 18 2023, 9:04 PM · gnupg24, Feature Request
werner assigned T6455: Bug in regexp library may lead to out-of-bounds read to gniibe.

@gniibe, will you be so kind an check the provided patches

Apr 18 2023, 5:12 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report
werner triaged T6455: Bug in regexp library may lead to out-of-bounds read as High priority.
Apr 18 2023, 5:11 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report
werner added a comment to T6378: keytocard: invalid value.

To replicate the problem it is best to use Windows. Should be solved with my commit. Note that the bug is specific to 2.4 dues to irts multi-card and app support. There was no problem on 2.2.

Apr 18 2023, 5:09 PM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project
ebo closed T6386: gpg-agent 2.2: Command "READKEY --card --no-data -- OPENPGP.1" overwrites protected-private-key with shadowed-private-key as Resolved.
Apr 18 2023, 1:36 PM · gnupg22 (gnupg-2.2.42), Bug Report
ikloecker claimed T6456: Kleopatra: Offers encryption-only OpenPGP keys as signing key.
Apr 18 2023, 1:14 PM · gpgme (gpgme 1.23.x), Restricted Project, kleopatra, Bug Report
ikloecker created T6456: Kleopatra: Offers encryption-only OpenPGP keys as signing key.
Apr 18 2023, 1:13 PM · gpgme (gpgme 1.23.x), Restricted Project, kleopatra, Bug Report
ebo added a comment to T6386: gpg-agent 2.2: Command "READKEY --card --no-data -- OPENPGP.1" overwrites protected-private-key with shadowed-private-key.
gpg --edit-key; keytocard; save

work as expected.

Apr 18 2023, 12:47 PM · gnupg22 (gnupg-2.2.42), Bug Report
Guldrelokk added a comment to T6455: Bug in regexp library may lead to out-of-bounds read.

Another miscellaneous correction for jimregexp. A condition was copy-pasted from another section without the necessary changes, resulting in incorrect logic. This seems harmless apart from inconsistent error reporting.

diff --git a/regexp/jimregexp.c b/regexp/jimregexp.c
index 1a8b8aae6..1b6e1b49c 100644
--- a/regexp/jimregexp.c
+++ b/regexp/jimregexp.c
@@ -778,7 +778,7 @@ static int regatom(regex_t *preg, int *flagp)
                                                        preg->err = REG_ERR_NULL_CHAR;
                                                        return 0;
                                                }
-                                               if (start == '\\' && *pattern == 0) {
+                                               if (end == '\\' && *pattern == 0) {
                                                        preg->err = REG_ERR_INVALID_ESCAPE;
                                                        return 0;
                                                }
Apr 18 2023, 12:24 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report
Guldrelokk created T6455: Bug in regexp library may lead to out-of-bounds read.
Apr 18 2023, 12:20 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report