Page MenuHome GnuPG
Feed Advanced Search

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
gniibe added a project to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys: backport.
May 9 2022, 6:52 AM · backport, yubikey, scd, segv, Bug Report
gniibe added a project to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys: Info Needed.

The patch rG054d14887ef8: scd: Add workaround for ECC attribute on Yubikey. fixes a particular problem of Yubikey implementation where it returns bogus octet for its data object of C1, C2, and C3.

May 9 2022, 4:53 AM · backport, yubikey, scd, segv, Bug Report

May 6 2022

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

With the patch and after starting a new gpg-agent, gpg --card-status now works immediately.
But when I re-plug the yubikey, gpg reports gpg: OpenPGP card not available: Card error until either gpg-agent is restarted, or pcscd is restarted.
pcsc-lite in debug mode reports no errors, but one log is obviously much shorter as gpg fails early (I've attached both, same pcscd and gpg-agent instance).

May 6 2022, 1:42 PM · backport, yubikey, scd, segv, Bug Report
gniibe added a comment to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.

I pushed a workaround.

May 6 2022, 11:28 AM · backport, yubikey, scd, segv, Bug Report
gniibe renamed T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys from scdaemon causes libc segfault and clashes with pcsc-lite despite using disable-ccid to Yubikey: scdaemon causes libc segfault and clashes with ECC keys.
May 6 2022, 11:26 AM · backport, yubikey, scd, segv, Bug Report
gniibe added a project to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys: yubikey.
May 6 2022, 10:07 AM · backport, yubikey, scd, segv, Bug Report
gniibe claimed T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.
May 6 2022, 8:56 AM · backport, yubikey, scd, segv, Bug Report
gniibe added a comment to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.

For my environment, it is not PC/SC-specific. It also occurs when CCID driver is used.

May 6 2022, 8:42 AM · backport, yubikey, scd, segv, Bug Report
gniibe added a comment to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.

For bcdDevice 5.24, I can replicate the symptom, but only once. After second invocation of gpg --card-status, it works well.

May 6 2022, 8:26 AM · backport, yubikey, scd, segv, Bug Report

May 5 2022

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

I've applied the patch and can confirm that the segfault is fixed, but gpg still has severe problems communicating with the Yubikey over pcsc-lite.

May 5 2022, 12:10 PM · backport, yubikey, scd, segv, Bug Report
werner added a comment to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.

Ours are even newer (5.4.3). Did you the Yubico tools to switch to curve443?
In any case, is it possible that you apply my fix and test again?

May 5 2022, 10:06 AM · backport, yubikey, scd, segv, Bug Report
werner added a comment to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.

Your Yubikey's firmware version is 5.2.7 - let me see what versions we have in stock to test my fix.

May 5 2022, 9:51 AM · backport, yubikey, scd, segv, Bug Report

May 4 2022

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

I've taken the liberty to regenerate the valgrind report including libc and gnupg debugsyms. Maybe it'll help.

May 4 2022, 4:47 PM · backport, yubikey, scd, segv, Bug Report
Jakuje created T5964: gnupg should use the KDFs implemented in libgcrypt.
May 4 2022, 3:16 PM · gnupg26, FIPS, Feature Request
werner updated subscribers of T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.

I am not sure about the crash but the unknown curve is
1.3.6.1.4.1.11591.15.1.2 which seems to be a GNU OID for curve448

May 4 2022, 2:38 PM · backport, yubikey, scd, segv, Bug Report
oddlama added a comment to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.

It segfaults on SERIALNO. Here's what valgrind outputs:

May 4 2022, 12:48 PM · backport, yubikey, scd, segv, Bug Report
werner added a comment to T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.

What I would do in this case is to stop the gnupg daemon amd anything whiuch might start them and run scdaemon under valgrind.

May 4 2022, 10:13 AM · backport, yubikey, scd, segv, Bug Report

May 2 2022

oddlama created T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys.
May 2 2022, 11:21 PM · backport, yubikey, scd, segv, Bug Report

Apr 28 2022

werner triaged T5575: Supplying more than one passphrase or PIN using passphrase-fd as Low priority.
Apr 28 2022, 9:12 AM · gnupg, yubikey, Feature Request
werner closed T5940: crash importing truncated subkeys as Resolved.
Apr 28 2022, 8:49 AM · Bug Report, gnupg
gniibe reopened T5120: Incompatible Ed25519 secret key (no-encryption), a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., as Open.
Apr 28 2022, 4:39 AM · gnupg, Restricted Project, gpgagent, Bug Report

Apr 25 2022

werner claimed T5940: crash importing truncated subkeys.
Apr 25 2022, 2:48 PM · Bug Report, gnupg
ikloecker closed T5943: gpg: Report details about failed symmetric decrypt with ERROR status as Resolved.

Works together with the changes for T5939: Kleopatra: Better error for wrong password in symmetric decryption. Tested with symmetric encrypted file and with symmetric+pk encrypted file.

Apr 25 2022, 12:25 PM · Restricted Project, gnupg, gpgme, Restricted Project
werner added a project to T5943: gpg: Report details about failed symmetric decrypt with ERROR status: Restricted Project.
Apr 25 2022, 11:44 AM · Restricted Project, gnupg, gpgme, Restricted Project
werner edited projects for T5943: gpg: Report details about failed symmetric decrypt with ERROR status, added: gpgme, gnupg; removed gnupg (gpg23).
Apr 25 2022, 11:44 AM · Restricted Project, gnupg, gpgme, Restricted Project

Apr 22 2022

werner triaged T5940: crash importing truncated subkeys as High priority.
Apr 22 2022, 8:32 PM · Bug Report, gnupg

Apr 14 2022

werner closed T5599: Make gpg use the helpers baked into its AppImage as Resolved.

Seems we can close this bug.

Apr 14 2022, 3:14 PM · gnupg, Restricted Project, Feature Request
werner closed T5599: Make gpg use the helpers baked into its AppImage, a subtask of T5598: AppImage of gpg, as Resolved.
Apr 14 2022, 3:14 PM · AppImage, gnupg, Restricted Project, Feature Request
werner closed T1954: Password too long as Resolved.
Apr 14 2022, 3:05 PM · Info Needed, gnupg (gpg20), Bug Report, gnupg
werner triaged T5927: gpg: quick-gen-key and quick-add-uid require --check-trustdb to make trust in user ids "ultimate" as Low priority.

Printing a note as we do in --edit-key is a good idea.

Apr 14 2022, 1:44 PM · Feature Request, gnupg, Bug Report

Apr 9 2022

werner added a comment to T5927: gpg: quick-gen-key and quick-add-uid require --check-trustdb to make trust in user ids "ultimate".

The reason for this is probably that we expect that several UIDs are added and running a check-trustdb for eachleads to some extra waiting time.

Apr 9 2022, 3:11 PM · Feature Request, gnupg, Bug Report

Apr 8 2022

ikloecker created T5927: gpg: quick-gen-key and quick-add-uid require --check-trustdb to make trust in user ids "ultimate".
Apr 8 2022, 4:50 PM · Feature Request, gnupg, Bug Report

Apr 5 2022

bernhard added a comment to T5910: CVE-2018-25032 for zlib <=1.2.11 (CVSS 8.1 high).

(Werner just told me that I was mistaken and he needs to take a look. There was a mixup because of the 2018 CVE number.)

Apr 5 2022, 11:52 AM · gnupg (gpg22), CVE, gpg4win
werner added a comment to T5910: CVE-2018-25032 for zlib <=1.2.11 (CVSS 8.1 high).

Sorry, that was a misunderstanding. My fault.

Apr 5 2022, 11:43 AM · gnupg (gpg22), CVE, gpg4win
werner reopened T5910: CVE-2018-25032 for zlib <=1.2.11 (CVSS 8.1 high) as "Open".
Apr 5 2022, 11:39 AM · gnupg (gpg22), CVE, gpg4win

Apr 4 2022

werner closed T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine as Resolved.

In fact, decent 2.2 versions (>=2.2.21) have the ability to decrypt AEAD packets - this has been implemented exactly for the case that some things get wrong at the user site. But we can't change old versions - we are not the Sirius Computer Corporation. I close this ticket because we can can't do anything if you are not able/willing to update to the latest version of the respective branch. Sorry.

Apr 4 2022, 6:43 AM · gnupg, Support

Apr 2 2022

TonyBarganski added a comment to T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine.

@werner
The setpref S9 S8 S7 S2 H10 H9 H8 H11 H2 Z2 Z3 Z1 worked!

Apr 2 2022, 1:26 AM · gnupg, Support

Apr 1 2022

ikloecker added a comment to T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine.

S9, etc. are short-hand IDs, for the cipher algorithms, digest algorithms, etc. Use showpref instead of pref to get the preference list in human-readable form (AES256, SHA512, etc.) instead of in expert form (cryptic IDs).

Apr 1 2022, 5:56 PM · gnupg, Support
TonyBarganski added a comment to T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine.

Hi @werner
I had missed your earlier post quoted below on using setperf.

Apr 1 2022, 2:27 PM · gnupg, Support
ikloecker added a comment to T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine.

Create the keys with gpg 2.2. I'm not aware of such documentation apart from the manual page of GnuPG. And, as I tried to explain, this situation isn't really different from any other software. If you create a document with the newest version of LibreOffice then you cannot expect it to look exactly the same with an older version of LibreOffice. It's your responsibility not to use new features of the new LibreOffice if you still need to use an older version on another machine.

Apr 1 2022, 1:45 PM · gnupg, Support
TonyBarganski added a comment to T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine.

@ikloecker Thanks for the clarification (appreciated).

Apr 1 2022, 1:03 PM · gnupg, Support
ikloecker added a comment to T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine.

Backward compatibility means that newer versions work with data created with older versions of a program. What you are asking for is forward compatibility, i.e. you want older versions of a program to work with data created with newer versions of a program. In the extreme that would mean that gpg must not use modern encryption algorithms because old versions of gpg cannot deal with them. It should be obvious that this doesn't make any sense.

Apr 1 2022, 12:11 PM · gnupg, Support
TonyBarganski added a comment to T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine.

@ikloecker thanks for your reply.

Apr 1 2022, 9:53 AM · gnupg, Support

Mar 31 2022

bernhard added a comment to T5910: CVE-2018-25032 for zlib <=1.2.11 (CVSS 8.1 high).

Not in the way it is used by gpg. See T5880

Mar 31 2022, 9:01 AM · gnupg (gpg22), CVE, gpg4win

Mar 30 2022

werner closed T5910: CVE-2018-25032 for zlib <=1.2.11 (CVSS 8.1 high) as Resolved.

Not in the way it is used by gpg. See T5880

Mar 30 2022, 6:04 PM · gnupg (gpg22), CVE, gpg4win
bernhard created T5910: CVE-2018-25032 for zlib <=1.2.11 (CVSS 8.1 high).
Mar 30 2022, 4:53 PM · gnupg (gpg22), CVE, gpg4win

Mar 28 2022

werner closed T5902: GnuPG dirmngr sends incorrect l parameter to a WKD server as Resolved.

Good idea. Thanks. Goes onto 2.3 and 2.2

Mar 28 2022, 4:15 PM · dirmngr, gnupg, wkd, Bug Report
ikloecker added a comment to T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine.
  1. As things stand right now, someone with a Public key created on gpg version 2.3 on a macOS cannot privately communicate with someone using a Linux server, news group or Linux Desktop.
Mar 28 2022, 10:52 AM · gnupg, Support
eehakkin created T5902: GnuPG dirmngr sends incorrect l parameter to a WKD server.
Mar 28 2022, 10:17 AM · dirmngr, gnupg, wkd, Bug Report
werner added a comment to T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine.

Use a gpg 2.3 version:

Mar 28 2022, 12:00 AM · gnupg, Support

Mar 25 2022

TonyBarganski reopened T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine as "Open".

Hi Werner
.
Firstly, let me say how much I appreciate the work you and others do at OpenPG.org! Really.

Mar 25 2022, 8:17 PM · gnupg, Support
werner closed T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine as Resolved.
  • No we can't because current GnuPG 2.2 versions are able to decrypt such AEAD data.
Mar 25 2022, 7:37 PM · gnupg, Support
werner renamed T5885: Better message than "Inappropriate ioctl for device" for tty pinentries from gpg --import of secret key from stdin fails confusingly to Better message than "Inappropriate ioctl for device" for tty pinentries.
Mar 25 2022, 1:30 PM · Feature Request, pinentry, gnupg
TonyBarganski added a comment to T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine.
  1. So, firstly, can we get an error message that states something to that effect AND can also be displayed by Mutt?
Mar 25 2022, 11:51 AM · gnupg, Support
werner edited projects for T5886: Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine, added: gnupg; removed Mutt.

Packet 20 is the new AEAD packet which GnuPG 2.3 can generate and does generate if all recipients have new keys generated with such a versions. However, the version of gpg you use now does not support AEAD and thus fails.

Mar 25 2022, 12:04 AM · gnupg, Support

Mar 21 2022

werner added a comment to T5778: Wish to add a generic comment or hint to encrypted data.

Using an armor header would allow for this. But well, this blows up the data and frankly, I fear that it can lead to unexpected side effects. Better to use a respective file name or MIME header.

Mar 21 2022, 11:02 PM · gnupg, Restricted Project
Jakuje added a comment to T5885: Better message than "Inappropriate ioctl for device" for tty pinentries.

Adding

GPG_TTY=$(tty)
export GPG_TTY

makes this working so thank you for the pointer.

Mar 21 2022, 4:23 PM · Feature Request, pinentry, gnupg
William added a project to T5888: uid changed from [ultimate] to [ unknown]: gnupg.
Mar 21 2022, 3:15 PM · gnupg (gpg23), Bug Report

Mar 18 2022

werner added a comment to T5885: Better message than "Inappropriate ioctl for device" for tty pinentries.

Is your GPG_TTY set so that pinentry can find the right tty?

Mar 18 2022, 5:36 PM · Feature Request, pinentry, gnupg
Jakuje added a comment to T5885: Better message than "Inappropriate ioctl for device" for tty pinentries.

the -v does not show more useful info on the gpg side:

# gpg2 --quick-gen-key admin
About to create a key for:
    "admin"
Mar 18 2022, 3:00 PM · Feature Request, pinentry, gnupg
werner added a comment to T5885: Better message than "Inappropriate ioctl for device" for tty pinentries.

Please run with option -v to see what's wrong with pinentry.

Mar 18 2022, 2:22 PM · Feature Request, pinentry, gnupg
Jakuje created T5885: Better message than "Inappropriate ioctl for device" for tty pinentries.
Mar 18 2022, 1:25 PM · Feature Request, pinentry, gnupg