Page MenuHome GnuPG
Feed Advanced Search

Jul 28 2022

werner closed T6063: GnuPG: Ignore invalid hash algorithm preferences when signing & encrypting combined as Resolved.

Fixed with commits
rGeb675fbc4e4db52c3276bc0748b49df8a213fbc4
rG890e616593af5d1e0f2eb932768205ef90928e5e

Jul 28 2022, 11:31 AM · gnupg, Restricted Project
aheinecke added a comment to T6063: GnuPG: Ignore invalid hash algorithm preferences when signing & encrypting combined.

Yes, I think that makes sense in the way that we want to provide the best user experience for our own users even if they communicate with communication partners which creates problematic keys.

Jul 28 2022, 10:32 AM · gnupg, Restricted Project
werner added a comment to T6063: GnuPG: Ignore invalid hash algorithm preferences when signing & encrypting combined.

In de-vs mode we could change the implict algorithm from SHA-1 to SHA-256. That should solve the problem.

Jul 28 2022, 10:30 AM · gnupg, Restricted Project

Jul 27 2022

jukivili added a comment to T5826: Improve detached signing and verification speed.

@werner Could these two patches could be backported to 2.2? These changes give same level of performance increase in 2.2 as seen in 2.3.

Jul 27 2022, 4:48 PM · gnupg
werner changed the status of T6098: Path traversal bug in gpg-wks-server from Open to Testing.

Fix will go into 2.2.37 and 2.3.8.

Jul 27 2022, 12:33 PM · wkd, gnupg
werner shifted T6098: Path traversal bug in gpg-wks-server from the Restricted Space space to the S1 Public space.
Jul 27 2022, 11:43 AM · wkd, gnupg
werner updated the task description for T6098: Path traversal bug in gpg-wks-server.
Jul 27 2022, 8:26 AM · wkd, gnupg
werner renamed T6098: Path traversal bug in gpg-wks-server from Pass traversal bug in gpg-wks-server to Path traversal bug in gpg-wks-server.
Jul 27 2022, 8:20 AM · wkd, gnupg

Jul 26 2022

werner triaged T6071: Duplicated output (repeated nearly once) of the GnuPG console-output to "stdout" on Windows-Console if "Legacy-Console" with any TrueType Fonts is activated under Windows as Normal priority.
Jul 26 2022, 9:07 PM · Windows, gnupg, Bug Report
werner triaged T6051: Allow revoking last UID of primary key with expert mode as Low priority.
Jul 26 2022, 9:01 PM · OpenPGP, Feature Request, gnupg
werner triaged T6098: Path traversal bug in gpg-wks-server as High priority.
Jul 26 2022, 12:36 PM · wkd, gnupg
werner triaged T6053: max passphrase lengths as Normal priority.
Jul 26 2022, 10:59 AM · gnupg, Documentation
werner triaged T6058: clarify need of --batch and/or --pinentry-mode looback with --passphrase-* options as Low priority.

There won't be any semantic changes for obvious reasons.

Jul 26 2022, 10:58 AM · gnupg, Documentation

Jul 22 2022

SpriteOvO added a comment to T6078: File `config.guess` is a little out of date.

@gniibe Thanks!

Jul 22 2022, 6:41 PM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe closed T6078: File `config.guess` is a little out of date as Resolved.

In the repo, for all related software, it's done.

Jul 22 2022, 3:42 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe added a comment to T6078: File `config.guess` is a little out of date.

Note that versions since 2020-11-07 to 2021-07-03 have major problem with non-POSIX shell, which doesn't support $(..) construct.

Jul 22 2022, 3:40 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report

Jul 19 2022

ikloecker triaged T6093: gpg: Continues export of secret key if first passphrase dialog was canceled as Normal priority.
Jul 19 2022, 12:18 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report, Restricted Project

Jul 18 2022

gniibe triaged T6078: File `config.guess` is a little out of date as Normal priority.

Thank you.

Jul 18 2022, 10:56 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe closed T6035: Portability issue: ftruncate as Resolved.
Jul 18 2022, 9:58 AM · backport, gpgagent, gnupg
gniibe edited projects for T6035: Portability issue: ftruncate, added: backport; removed Restricted Project.

It's in 2.3.7 and 2.2.36.

Jul 18 2022, 9:58 AM · backport, gpgagent, gnupg

Jul 12 2022

gniibe closed T5099: Confirmation dialog for remote access (restricted extra socket) as Resolved.

It's in 2.3.7.

Jul 12 2022, 3:30 AM · Feature Request, gnupg

Jul 11 2022

gniibe added a project to T6071: Duplicated output (repeated nearly once) of the GnuPG console-output to "stdout" on Windows-Console if "Legacy-Console" with any TrueType Fonts is activated under Windows: Windows.

In gnupg/common/ttyio.c, the function w32_write_console does:

  • Call WriteConsoleW, and when it fails, it calls
  • WriteConsoleA
Jul 11 2022, 9:24 AM · Windows, gnupg, Bug Report

Jul 10 2022

vitusb updated the task description for T6071: Duplicated output (repeated nearly once) of the GnuPG console-output to "stdout" on Windows-Console if "Legacy-Console" with any TrueType Fonts is activated under Windows.
Jul 10 2022, 5:12 PM · Windows, gnupg, Bug Report
vitusb created T6071: Duplicated output (repeated nearly once) of the GnuPG console-output to "stdout" on Windows-Console if "Legacy-Console" with any TrueType Fonts is activated under Windows.
Jul 10 2022, 4:47 PM · Windows, gnupg, Bug Report

Jul 7 2022

gniibe closed T5120: Incompatible Ed25519 secret key (no-encryption), a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., as Resolved.
Jul 7 2022, 6:51 AM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe closed T5979: SCardListReaders: Conditional jump or move depends on uninitialised value(s) as Resolved.
Jul 7 2022, 6:50 AM · backport, gnupg, scd, patch

Jul 6 2022

aheinecke triaged T6063: GnuPG: Ignore invalid hash algorithm preferences when signing & encrypting combined as High priority.
Jul 6 2022, 11:01 AM · gnupg, Restricted Project

Jul 5 2022

Saklad5 added a project to T6051: Allow revoking last UID of primary key with expert mode: gnupg.
Jul 5 2022, 6:49 PM · OpenPGP, Feature Request, gnupg

Jun 23 2022

werner added a comment to T6035: Portability issue: ftruncate.

ACK. P[ease add it also to 2.2.

Jun 23 2022, 10:50 AM · backport, gpgagent, gnupg
werner added a subtask for T6020: Make %-expandos available for --default-keyserver-url: T6040: Allow embedding preferred keyserver URL in signatures.
Jun 23 2022, 10:47 AM · gnupg24, Feature Request, Keyserver
gniibe added a project to T6035: Portability issue: ftruncate: Restricted Project.
Jun 23 2022, 4:27 AM · backport, gpgagent, gnupg
gniibe added a comment to T6035: Portability issue: ftruncate.

Even if it is only a single case (of old version of Wine), I think that it is worth to add es_fflush when writing to file.

Jun 23 2022, 4:05 AM · backport, gpgagent, gnupg
Saklad5 changed the edit policy for T6020: Make %-expandos available for --default-keyserver-url.
Jun 23 2022, 1:18 AM · gnupg24, Feature Request, Keyserver
Saklad5 changed the edit policy for T6040: Allow embedding preferred keyserver URL in signatures.
Jun 23 2022, 1:18 AM · gnupg24, Feature Request, Keyserver

Jun 22 2022

Saklad5 created T6040: Allow embedding preferred keyserver URL in signatures.
Jun 22 2022, 11:23 PM · gnupg24, Feature Request, Keyserver
Saklad5 raised the priority of T6020: Make %-expandos available for --default-keyserver-url from Wishlist to Needs Triage.
Jun 22 2022, 11:02 PM · gnupg24, Feature Request, Keyserver

Jun 21 2022

gniibe added a comment to T6035: Portability issue: ftruncate.

Looking illumos-gate, Solaris variants have no issues.

Jun 21 2022, 12:46 PM · backport, gpgagent, gnupg
gniibe added a comment to T6035: Portability issue: ftruncate.

Wine 5.0.3 (on Debian bullseye) fails.
Wine 6.0.3 Debian testing does no failure.

Jun 21 2022, 10:35 AM · backport, gpgagent, gnupg
gniibe added a comment to T6035: Portability issue: ftruncate.

I created minimized test:

Jun 21 2022, 4:38 AM · backport, gpgagent, gnupg

Jun 20 2022

DemiMarie abandoned D555: g10: Disallow compressed signatures and certificates.

Closing in favor of D556.

Jun 20 2022, 6:41 PM · gnupg
DemiMarie added a revision to T5993: gpg should reject compressed packets outside of messages: D556: Disallow compressed signatures and certificates.
Jun 20 2022, 6:32 PM · Feature Request, gnupg
werner triaged T6035: Portability issue: ftruncate as Normal priority.
Jun 20 2022, 1:08 PM · backport, gpgagent, gnupg
werner added a comment to T6035: Portability issue: ftruncate.

iirc, we use ftruncate for ages now. The problem with the name ftruncate is that it looks to similar to the stdio functions. But sure, things should be flushed first.

Jun 20 2022, 12:59 PM · backport, gpgagent, gnupg
gniibe added projects to T6035: Portability issue: ftruncate: gnupg, gpgagent.
Jun 20 2022, 10:33 AM · backport, gpgagent, gnupg
werner removed a reviewer for D555: g10: Disallow compressed signatures and certificates: gniibe.
Jun 20 2022, 8:05 AM · gnupg

Jun 18 2022

DemiMarie edited reviewers for D555: g10: Disallow compressed signatures and certificates, added: gniibe; removed: sergei, gp_ast.
Jun 18 2022, 1:38 AM · gnupg
DemiMarie added reviewers for D555: g10: Disallow compressed signatures and certificates: sergei, gp_ast.
Jun 18 2022, 1:35 AM · gnupg
DemiMarie removed a reviewer for D555: g10: Disallow compressed signatures and certificates: werner.
Jun 18 2022, 1:34 AM · gnupg

Jun 17 2022

DemiMarie updated the summary of D555: g10: Disallow compressed signatures and certificates.
Jun 17 2022, 8:37 PM · gnupg
DemiMarie added a comment to D555: g10: Disallow compressed signatures and certificates.

Compressed packets in detached signatures and/or certificates have never been permitted by any version of the standard.

Jun 17 2022, 8:36 PM · gnupg
DemiMarie updated subscribers of D555: g10: Disallow compressed signatures and certificates.
In D555#5569, @werner wrote:

Sorry, there is no padding packet in OpenPGP. Please do no try to push ideas from that crypto-refresh-06 thing into GnuPG. We continue to follow the last draft with consesus, which is rfc4880bis-10.

Jun 17 2022, 8:26 PM · gnupg
DemiMarie updated the diff for D555: g10: Disallow compressed signatures and certificates.
Jun 17 2022, 8:21 PM · gnupg

Jun 16 2022

DemiMarie added a comment to T6031: Creating an overlong notation hits a fatal error..

{please add comments instead of adding the description - a changed description makes it hard to understand follow up comments. I will change the title, though for clarity.]

Jun 16 2022, 7:19 PM · Bug Report, gnupg
werner resigned from D555: g10: Disallow compressed signatures and certificates.
Jun 16 2022, 6:58 PM · gnupg
werner requested changes to D555: g10: Disallow compressed signatures and certificates.

Sorry, there is no padding packet in OpenPGP. Please do no try to push ideas from that crypto-refresh-06 thing into GnuPG. We continue to follow the last draft with consesus, which is rfc4880bis-10.

Jun 16 2022, 6:56 PM · gnupg
werner renamed T6031: Creating an overlong notation hits a fatal error. from Creating an overlong notation crashes gpg to Creating an overlong notation hits a fatal error..
Jun 16 2022, 6:54 PM · Bug Report, gnupg
werner triaged T6031: Creating an overlong notation hits a fatal error. as Wishlist priority.

The length limit of the signature sub packets are not reasy to pre-compute. Better to have a fatal error than a corrupt message. I am not sure whether we want to change this to a regualar error message - at that point we anyway need to stop.

Jun 16 2022, 6:54 PM · Bug Report, gnupg
DemiMarie edited projects for D555: g10: Disallow compressed signatures and certificates, added: gnupg; removed g10.
Jun 16 2022, 6:53 PM · gnupg
DemiMarie added a revision to T5993: gpg should reject compressed packets outside of messages: D555: g10: Disallow compressed signatures and certificates.
Jun 16 2022, 6:53 PM · Feature Request, gnupg
DemiMarie reopened T6021: GPG misparses `--list-options=show-sig-subpackets="100"a` as "Open".

Reopening as it appears this issue was closed based on an incorrect understanding of what it is.

Jun 16 2022, 3:20 PM · g10, Bug Report

Jun 14 2022

werner closed T6024: gpg-agent segfaults if it receives an invalid response to a KEYPARAM inquire as Resolved.
Jun 14 2022, 8:05 AM · can't replicate, gnupg

Jun 13 2022

ikloecker added a comment to T6024: gpg-agent segfaults if it receives an invalid response to a KEYPARAM inquire.

The original description of the problem seems to be wrong. gpg-agent does not have a KEYPARAM command. If I understand correctly then gpg-agent sends a KEYPARAM inquiry to the client, but you are sending KEYPARAM to the server.

Jun 13 2022, 9:05 AM · can't replicate, gnupg

Jun 11 2022

werner added a comment to T6021: GPG misparses `--list-options=show-sig-subpackets="100"a`.

FWIW, on Unix is common to describe options as given on the standard shell.

Jun 11 2022, 1:09 PM · g10, Bug Report

Jun 10 2022

DemiMarie added a comment to T6021: GPG misparses `--list-options=show-sig-subpackets="100"a`.

The quotes are irrelevant because they are evaluated by the shell and don't make a difference here.

Jun 10 2022, 11:59 PM · g10, Bug Report
werner added a comment to T6024: gpg-agent segfaults if it receives an invalid response to a KEYPARAM inquire.

No crash here

Jun 10 2022, 11:50 PM · can't replicate, gnupg
DemiMarie added a reviewer for D555: g10: Disallow compressed signatures and certificates: werner.
Jun 10 2022, 9:44 PM · gnupg
DemiMarie added a comment to T6021: GPG misparses `--list-options=show-sig-subpackets="100"a`.

For clarification, the strings I have provided are raw argv elements as would be passed to execve(), with quoting already removed.

Jun 10 2022, 10:24 AM · g10, Bug Report
DemiMarie renamed T6024: gpg-agent segfaults if it receives an invalid response to a KEYPARAM inquire from gpg-agent segfaults if it receives an invalid response to a KEYPARAMS inquire to gpg-agent segfaults if it receives an invalid response to a KEYPARAM inquire.
Jun 10 2022, 10:21 AM · can't replicate, gnupg
werner closed T6021: GPG misparses `--list-options=show-sig-subpackets="100"a` as Wontfix.

The quotes are irrelevant because they are evaluated by the shell and don't make a difference here. A Unix shell is different than Windows cmd.exe.

Jun 10 2022, 10:17 AM · g10, Bug Report
werner added a comment to T6024: gpg-agent segfaults if it receives an invalid response to a KEYPARAM inquire.

Please provide a more verbose report.

Jun 10 2022, 10:14 AM · can't replicate, gnupg
DemiMarie created T6024: gpg-agent segfaults if it receives an invalid response to a KEYPARAM inquire.
Jun 10 2022, 4:14 AM · can't replicate, gnupg
DemiMarie added a comment to T6021: GPG misparses `--list-options=show-sig-subpackets="100"a`.

I am using GnuPG 2.3.4 on Fedora Linux. I am referring to --list-options=show-sig-subpackets="100"a (note the quotes). The bug is that the character after the trailing close quote is ignored, rather than being treated as an invalid option and causing an error. That is, I would expect show-sig-subpackets="100"a to be parsed as show-sig-subpackets="100",a or be an error.

Jun 10 2022, 4:10 AM · g10, Bug Report

Jun 9 2022

werner added a comment to T6021: GPG misparses `--list-options=show-sig-subpackets="100"a`.

Please explain what you mean by this. Which GnuPG version, which OS, which shell, what is the problem.

Jun 9 2022, 2:31 PM · g10, Bug Report
werner changed the edit policy for T6021: GPG misparses `--list-options=show-sig-subpackets="100"a`.
Jun 9 2022, 2:26 PM · g10, Bug Report
DemiMarie created T6021: GPG misparses `--list-options=show-sig-subpackets="100"a`.
Jun 9 2022, 8:53 AM · g10, Bug Report
peterglen added a comment to T1297: [2.0.16] Makefile fails to create audit-events.h..

Added --enable-maintainer-mode to ./configure

Jun 9 2022, 2:08 AM · Too Old, Bug Report, gnupg
Saklad5 triaged T6020: Make %-expandos available for --default-keyserver-url as Wishlist priority.
Jun 9 2022, 12:41 AM · gnupg24, Feature Request, Keyserver

Jun 2 2022

werner triaged T6011: Windows tool to recursively encrypt all files. as Normal priority.
Jun 2 2022, 9:03 AM · Feature Request, Restricted Project, gnupg

May 27 2022

sergi added a watcher for gnupg: sergi.
May 27 2022, 10:08 PM
srgblnchtrn removed a watcher for gnupg: srgblnchtrn.
May 27 2022, 10:06 PM

May 25 2022

gniibe added a parent task for T5099: Confirmation dialog for remote access (restricted extra socket): T5702: Display prompt to user when YubiKey is waiting for touch confirmation.
May 25 2022, 1:03 PM · Feature Request, gnupg

May 23 2022

werner triaged T5993: gpg should reject compressed packets outside of messages as Low priority.
May 23 2022, 8:14 AM · Feature Request, gnupg

May 22 2022

werner closed T5994: LC_ALL=C gpg should produce ASCII-only output as Wontfix.

Sorry, no. Use cat(1) for such translations.

May 22 2022, 11:29 AM · gnupg
DemiMarie created T5994: LC_ALL=C gpg should produce ASCII-only output.
May 22 2022, 12:42 AM · gnupg

May 20 2022

gniibe added a parent task for T5099: Confirmation dialog for remote access (restricted extra socket): T5984: gpg-agent interaction improvement (smartcard improvement #3).
May 20 2022, 6:53 AM · Feature Request, gnupg

May 19 2022

gniibe added projects to T5099: Confirmation dialog for remote access (restricted extra socket): Restricted Project, Feature Request.
May 19 2022, 7:40 AM · Feature Request, gnupg
gniibe added a comment to T5099: Confirmation dialog for remote access (restricted extra socket).

Part 2 patch is pushed, with a bit of change.
A user needs to specify "Confirm" flag in the key file.

May 19 2022, 7:40 AM · Feature Request, gnupg
gniibe added a comment to T5099: Confirmation dialog for remote access (restricted extra socket).

Part 1 patch is pushed.

May 19 2022, 7:08 AM · Feature Request, gnupg

May 18 2022

werner closed T5981: --output-type raw inconsistent output as Resolved.

That is expected. The export re-encrypts the secret parts to comply with the OpenPGP specs and this includes a salt andf IV and thus the output must be different.

May 18 2022, 8:56 AM · Support, gnupg

May 17 2022

gniibe added a project to T5979: SCardListReaders: Conditional jump or move depends on uninitialised value(s): Restricted Project.

To detect these kinds of bugs, possibly, we can use new GCC option: -ftrivial-auto-var-init=0xFEFEFEFE.
https://gcc.gnu.org/gcc-12/changes.html#uninitialized

May 17 2022, 3:34 AM · backport, gnupg, scd, patch
gniibe claimed T5979: SCardListReaders: Conditional jump or move depends on uninitialised value(s).

The bug was there when it was initially written. It was in 2003, which introduced PC/SC in rG1bcf8ef9dea1: Cleanups, fixes and PC/SC support

May 17 2022, 3:29 AM · backport, gnupg, scd, patch

May 13 2022

werner closed T5598: AppImage of gpg as Resolved.

We have everything ready for a GnuPG Desktop Appimage but we first need a business case to maintain it.

May 13 2022, 4:08 PM · AppImage, gnupg, Restricted Project, Feature Request
werner renamed T5574: Doubled characters in Windows console output from GPG Portable on USB-Stick - Problems with GnuPG 2.2.30 to Doubled characters in Windows console output.
May 13 2022, 3:58 PM · gnupg, Windows, Bug Report
werner added projects to T3391: cannot import subkey that was once marked to be on a card: scd, gpgagent.
May 13 2022, 2:43 PM · Restricted Project, gpgagent, scd, gnupg, OpenPGP, Bug Report
MicroJoe added a comment to T3391: cannot import subkey that was once marked to be on a card.

TL;DR: can reproduce, needs fixing

May 13 2022, 1:42 PM · Restricted Project, gpgagent, scd, gnupg, OpenPGP, Bug Report

May 10 2022

gniibe removed a project from T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys: Info Needed.
May 10 2022, 3:50 AM · backport, yubikey, scd, segv, Bug Report
gniibe added a comment to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.

I examined all log files you gave us, and I think that scdaemon with PC/SC fails to detect the removal of the USB device.

May 10 2022, 3:48 AM · backport, yubikey, scd, segv, Bug Report
gniibe triaged T5971: Yubikey: Removal of device is not detected by PC/SC as Normal priority.
May 10 2022, 2:51 AM · Info Needed, yubikey, scd, Bug Report

May 9 2022

oddlama added a comment to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.

I've applied the linked patch, but still experience the error. Most of the times, I cannot access my yubikey at all and I am not sure what is blocking it.
I've tried to include as much debugging output as I could below. Please let me know if there is anything else I can do to debug this.

May 9 2022, 12:54 PM · backport, yubikey, scd, segv, Bug Report
aheinecke closed T5273: Release Gpg4win 4.x.x, a subtask of T4702: Deadline for the GnuPG 2.3.0 release, as Resolved.
May 9 2022, 9:29 AM · Restricted Project, gpg4win, gnupg