Page MenuHome GnuPG
Feed Advanced Search

Oct 15 2021

gniibe triaged T5658: pinentry-curses color option as Normal priority.
Oct 15 2021, 2:29 AM · Documentation, pinentry
gniibe triaged T5659: pinentry-curses disable colors as Normal priority.
Oct 15 2021, 2:27 AM · pinentry, Feature Request

Oct 14 2021

stes added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

My previous patch is not perfect as the screenshot in attach shows. The clear() is not really sufficient as it only redraws the portion below the frame in the new background color (black instead of white).

Oct 14 2021, 4:48 PM · pinentry
stes added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

In the patch in attach I do a clear screen in the non-ncurses case.

Oct 14 2021, 4:12 PM · pinentry
stes added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

Hello Tim and Yukata Iibe (gniibe),

Oct 14 2021, 2:00 PM · pinentry

Oct 13 2021

gniibe closed T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories as Resolved.
Oct 13 2021, 3:54 AM · pinentry, gpa, toolchain, Bug Report
gniibe edited projects for T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly, added: Restricted Project; removed Support.
Oct 13 2021, 3:26 AM · pinentry
gniibe added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

Thank you for locating the bug!

Oct 13 2021, 3:25 AM · pinentry

Oct 12 2021

mooney added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

Oct 12 2021, 8:49 PM · pinentry
mooney added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

Hi gniibe!

Oct 12 2021, 8:46 PM · pinentry

Oct 5 2021

gniibe lowered the priority of T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly from Normal to Low.

Thank you for your investigation.

Oct 5 2021, 2:24 AM · pinentry

Oct 4 2021

mooney added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

Hi gniibe!

Oct 4 2021, 9:19 PM · pinentry

Oct 2 2021

mooney added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

After testing about a dozen different term types and doing some library tracing, it appears to be that any terminfo type for which has_colors() is false (so the start_color code is never called) works correctly.

Oct 2 2021, 10:13 AM · pinentry
mooney added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

Hi gniibe!

Oct 2 2021, 5:49 AM · pinentry
gniibe added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

Another link: http://hea-www.harvard.edu/~fine/opinions/xterm-problems.html

Oct 2 2021, 4:20 AM · pinentry

Oct 1 2021

mooney added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

All of my testing has been done while connecting via ssh to my OpenIndiana workstation. I'm using PuTTY 0.76 as my terminal/SSH client.

Oct 1 2021, 6:03 AM · pinentry
mooney added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

It appears to you identified the problem really quickly again. If I select the entire screen and paste it, the dialog text is there:

Oct 1 2021, 5:46 AM · pinentry
gniibe added a comment to T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

@mooney Just in case when it's color related problem, could you try to cut&paste the text of the screen when pinentry should display a dialog box?

Oct 1 2021, 5:38 AM · pinentry
gniibe claimed T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly.

I found some links:
XTerm FAQ:
https://invisible-island.net/xterm/xterm.faq.html
Why not just use TERM set to "xterm"?
https://invisible-island.net/ncurses/ncurses.faq.html#xterm_generic
What $TERM should I use?
https://tools.ietf.org/doc/xterm/xterm.faq.html#xterm_terminfo

Oct 1 2021, 5:36 AM · pinentry

Sep 17 2021

mid-kid added a comment to T5551: gpg-agent: DISPLAY is not set when calling pinentry-qt.

I see, I wasn't aware of this. Thanks for fixing!

Sep 17 2021, 12:22 PM · qt, pinentry, gnupg
werner closed T5551: gpg-agent: DISPLAY is not set when calling pinentry-qt as Resolved.

Thanks for commenting. I close this bug then.

Sep 17 2021, 8:07 AM · qt, pinentry, gnupg

Sep 16 2021

gouttegd added a comment to T5551: gpg-agent: DISPLAY is not set when calling pinentry-qt.

Your proposed fix (in your first comment) has actually already been applied (commit 1305baf0994059f458b1d5ca28a355c12932fab3 in master, backported to the -2.2 branch in 455ba49071dea7588c9de11785b3092e45e4560b). It is part of gnupg-2.2.31 released today. :)

Sep 16 2021, 11:11 PM · qt, pinentry, gnupg
mid-kid added a comment to T5551: gpg-agent: DISPLAY is not set when calling pinentry-qt.

The Qt upstream bug report has just been rejected. I hope something can be done here...

Sep 16 2021, 4:31 PM · qt, pinentry, gnupg

Sep 14 2021

werner closed T5322: gpg erroring when the terminal is too small to show the ncurses pinentry dialog as Resolved.
Sep 14 2021, 1:56 PM · gnupg (gpg22), gpgagent, pinentry, Bug Report

Aug 26 2021

jpalus added a comment to T5569: pinentry qt4 fails to compile in pinentry 1.2.0.

Package maintainer from PLD here. We still ship Qt4 and therefore provide pinentry qt4 for as long as it's supported. I have no problem with dropping it if it's no longer support, but last release still supported Qt4, there's no mention of dropping such support in NEWS and both code as well as configure.ac appear to still carry Qt4 support which is a bit confusing.

Aug 26 2021, 4:57 PM · Bug Report, pinentry
ikloecker added a comment to T5569: pinentry qt4 fails to compile in pinentry 1.2.0.

Qt4 is no longer supported. Please use the previous released version plus commit rP2859eddfb0c9: qt: Fix build against Qt4 to build pinentry for Qt4. For everything else use 1.2.0.

Aug 26 2021, 3:13 PM · Bug Report, pinentry
werner added projects to T5569: pinentry qt4 fails to compile in pinentry 1.2.0: pinentry, Bug Report.
Aug 26 2021, 2:17 PM · Bug Report, pinentry
jankratochvil added a comment to T5548: pinentry default timeout does not match documentation.

I have rather created D536 as IMO the timeout should be changed, not the documentation.

Aug 26 2021, 10:39 AM · Documentation, pinentry, Bug Report
jankratochvil requested review of D536: --timeout documented default (0) != real default (60).
Aug 26 2021, 10:38 AM · pinentry

Aug 25 2021

werner triaged T5548: pinentry default timeout does not match documentation as Normal priority.
Aug 25 2021, 4:28 PM · Documentation, pinentry, Bug Report
werner closed T5566: Release Pinentry 1.2.x as Resolved.
Aug 25 2021, 2:34 PM · Release Info, pinentry
werner updated the task description for T5566: Release Pinentry 1.2.x.
Aug 25 2021, 2:34 PM · Release Info, pinentry
werner triaged T5566: Release Pinentry 1.2.x as Normal priority.
Aug 25 2021, 2:00 PM · Release Info, pinentry

Aug 24 2021

werner closed T5517: Improvements for symmetric encryption as Resolved.
Aug 24 2021, 8:01 PM · pinentry, Restricted Project

Aug 16 2021

ikloecker changed the status of T5543: pinentry-qt: Accessibility switch to repeat on enter from Open to Testing.
Aug 16 2021, 10:58 AM · pinentry, Restricted Project
ikloecker moved T5543: pinentry-qt: Accessibility switch to repeat on enter from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 16 2021, 10:57 AM · pinentry, Restricted Project

Aug 13 2021

werner changed the edit policy for pinentry.
Aug 13 2021, 11:12 PM

Aug 12 2021

ikloecker reassigned T5517: Improvements for symmetric encryption from ikloecker to aheinecke.
Aug 12 2021, 4:18 PM · pinentry, Restricted Project
ikloecker moved T5517: Improvements for symmetric encryption from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 12 2021, 4:17 PM · pinentry, Restricted Project
ikloecker closed T5553: pinentry-qt: Simplify formatted passphrase feature, a subtask of T5517: Improvements for symmetric encryption, as Resolved.
Aug 12 2021, 4:17 PM · pinentry, Restricted Project
ikloecker closed T5553: pinentry-qt: Simplify formatted passphrase feature as Resolved.
Aug 12 2021, 4:17 PM · pinentry, Restricted Project
ikloecker moved T5553: pinentry-qt: Simplify formatted passphrase feature from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 12 2021, 4:17 PM · pinentry, Restricted Project
ikloecker moved T5553: pinentry-qt: Simplify formatted passphrase feature from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 12 2021, 10:19 AM · pinentry, Restricted Project
ikloecker triaged T5553: pinentry-qt: Simplify formatted passphrase feature as Normal priority.
Aug 12 2021, 10:19 AM · pinentry, Restricted Project
ikloecker moved T5517: Improvements for symmetric encryption from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 12 2021, 10:02 AM · pinentry, Restricted Project
ikloecker claimed T5517: Improvements for symmetric encryption.
Aug 12 2021, 10:01 AM · pinentry, Restricted Project

Aug 11 2021

ikloecker added a comment to T3659: pinentry falls back to curses on wayland.

@fvogt I've now added a logging category. Thanks for the suggestion.

Aug 11 2021, 5:50 PM · Restricted Project, Wayland, Feature Request, pinentry

Aug 9 2021

mid-kid added a comment to T5551: gpg-agent: DISPLAY is not set when calling pinentry-qt.

Yeah, that sounds good to me.

Aug 9 2021, 1:13 PM · qt, pinentry, gnupg

Aug 8 2021

gouttegd added a comment to T5551: gpg-agent: DISPLAY is not set when calling pinentry-qt.

I would prefer to see a fix/hack in pinentry-qt instead.

Aug 8 2021, 4:08 PM · qt, pinentry, gnupg

Aug 6 2021

mid-kid added a comment to T5551: gpg-agent: DISPLAY is not set when calling pinentry-qt.

I see. Thanks!

Aug 6 2021, 2:30 PM · qt, pinentry, gnupg
werner added a comment to T5551: gpg-agent: DISPLAY is not set when calling pinentry-qt.

To minimize the risk of regressions.

Aug 6 2021, 12:23 PM · qt, pinentry, gnupg
mid-kid added a comment to T5551: gpg-agent: DISPLAY is not set when calling pinentry-qt.

Not to be bothersome, but why? DISPLAY seems like the universal method of selecting a display to put things on, where a lot of applications don't support --display or equivalent, especially now there's no equivalent for wayland. It's especially confusing to me when the keep-display option will pass DISPLAY instead of --display. This would also prevent other such scenarios with 3rd party qt/gtk plugins or alternative pinentry implementations.

Aug 6 2021, 11:55 AM · qt, pinentry, gnupg
werner triaged T5551: gpg-agent: DISPLAY is not set when calling pinentry-qt as Normal priority.
Aug 6 2021, 11:07 AM · qt, pinentry, gnupg

Aug 5 2021

ikloecker moved T5543: pinentry-qt: Accessibility switch to repeat on enter from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 5 2021, 9:41 AM · pinentry, Restricted Project
Jakuje created T5548: pinentry default timeout does not match documentation.
Aug 5 2021, 9:31 AM · Documentation, pinentry, Bug Report

Aug 4 2021

aheinecke added a parent task for T5543: pinentry-qt: Accessibility switch to repeat on enter: T5535: Kleopatra: Check that accessibility is also supported for VS-NfD.
Aug 4 2021, 3:16 PM · pinentry, Restricted Project
aheinecke triaged T5543: pinentry-qt: Accessibility switch to repeat on enter as High priority.
Aug 4 2021, 1:54 PM · pinentry, Restricted Project
fvogt added a comment to T3659: pinentry falls back to curses on wayland.

As far as I understood, $WAYLAND_DISPLAY does not need to be set because there is a well-defined default, but I guess most of the time it's set anyway.

Aug 4 2021, 10:10 AM · Restricted Project, Wayland, Feature Request, pinentry

Aug 3 2021

ikloecker added a comment to T3659: pinentry falls back to curses on wayland.

QGuiApplication checks $XDG_SESSION_TYPE maybe to find out whether to use X11 or Wayland if $DISPLAY and $WAYLAND_DISPLAY are both set.

Aug 3 2021, 4:58 PM · Restricted Project, Wayland, Feature Request, pinentry
fvogt added a comment to T3659: pinentry falls back to curses on wayland.

I gave it a try and it works here now with $DISPLAY unset, thanks!

Aug 3 2021, 11:03 AM · Restricted Project, Wayland, Feature Request, pinentry

Aug 2 2021

ikloecker changed the status of T5517: Improvements for symmetric encryption from Open to Testing.
Aug 2 2021, 5:43 PM · pinentry, Restricted Project
ikloecker moved T5517: Improvements for symmetric encryption from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 2 2021, 5:42 PM · pinentry, Restricted Project
ikloecker closed T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt, a subtask of T5517: Improvements for symmetric encryption, as Resolved.
Aug 2 2021, 5:41 PM · pinentry, Restricted Project
ikloecker closed T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt as Resolved.
Aug 2 2021, 5:41 PM · pinentry, Restricted Project
ikloecker moved T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 2 2021, 5:41 PM · pinentry, Restricted Project
ikloecker moved T3659: pinentry falls back to curses on wayland from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 2 2021, 5:41 PM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker closed T3659: pinentry falls back to curses on wayland as Resolved.

Should now work for pinentry-qt on Wayland even if DISPLAY is not set.

Aug 2 2021, 5:38 PM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker moved T3659: pinentry falls back to curses on wayland from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 2 2021, 5:08 PM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker added a project to T3659: pinentry falls back to curses on wayland: Restricted Project.
Aug 2 2021, 5:08 PM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker claimed T3659: pinentry falls back to curses on wayland.
Aug 2 2021, 5:08 PM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker closed T5377: pinentry-qt dialog cannot be raised under Linux/Wayland as Resolved.

This has been fixed with rP9dd46926f8d5: qt: Fix showing of pinentry window on Wayland.

Aug 2 2021, 3:29 PM · pinentry, Bug Report
ikloecker moved T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 2 2021, 10:26 AM · pinentry, Restricted Project
ikloecker added a comment to T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt.

Notification when trying to enter empty passphrase:


Notification when trying to enter passphrase that does not satisfy multiple constraints:

Notification when trying to enter passphrase that is too short:

Aug 2 2021, 9:55 AM · pinentry, Restricted Project

Jul 28 2021

ikloecker triaged T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt as Normal priority.
Jul 28 2021, 10:10 AM · pinentry, Restricted Project

Jul 26 2021

ikloecker changed the status of T4950: pinentry: Add warning when capslock is on from Open to Testing.

@aheinecke Please test this on Windows

Jul 26 2021, 3:44 PM · Restricted Project, Restricted Project, pinentry
ikloecker moved T4950: pinentry: Add warning when capslock is on from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jul 26 2021, 3:43 PM · Restricted Project, Restricted Project, pinentry
ikloecker added a project to T5528: pinentry-qt: Pinentry window not shown on Wayland: Wayland.
Jul 26 2021, 3:42 PM · Wayland, Restricted Project, pinentry, Bug Report
fvogt added a comment to T3659: pinentry falls back to curses on wayland.

Huh, can't believe I somehow missed that this actually got a reply three years ago...

Jul 26 2021, 2:50 PM · Restricted Project, Wayland, Feature Request, pinentry

Jul 22 2021

LRitzdorf added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

It's worth noting that this issue is particularly impactful for devices with small screens whose sizes cannot be changed. A Raspberry Pi with an Adafruit touchscreen would almost certainly have issues, for example.
This also applies to mobile devices. For context, I use Termux on my Android phone, and this issue manifests there. I can enter the passphrase for an existing key and decrypt/sign with it, but any attempt to create a new key throws me into the same loop that the OP describes. (Interestingly, this happens whether or not I actually supply a new passphrase.)
Since I am on a mobile device in this scenario, my terminal dimensions are 56x115. I'm not familiar with the implementation details of GPG, but is there any chance we could fall back to a single-line, sudo-style password prompt if pinentry fails (or have pinentry fall back to that internally if the normal mode fails)? That should work on terminals of just about any size.
(As an additional note, I've also tried flipping into landscape orientation, hoping that would increase my screen width sufficiently. However, my keyboard then occupies most of the screen, and I receive the expected error message, gpg: agent_genkey failed: Screen or window too small.)
EDIT: I'm running GPG 2.3.1 and pinentry 1.1.1.

Jul 22 2021, 4:24 PM · pinentry, Bug Report
ikloecker closed T5528: pinentry-qt: Pinentry window not shown on Wayland as Resolved.
Jul 22 2021, 2:52 PM · Wayland, Restricted Project, pinentry, Bug Report
ikloecker moved T5528: pinentry-qt: Pinentry window not shown on Wayland from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jul 22 2021, 2:51 PM · Wayland, Restricted Project, pinentry, Bug Report
ikloecker moved T5528: pinentry-qt: Pinentry window not shown on Wayland from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jul 22 2021, 11:29 AM · Wayland, Restricted Project, pinentry, Bug Report
ikloecker claimed T5528: pinentry-qt: Pinentry window not shown on Wayland.
Jul 22 2021, 11:28 AM · Wayland, Restricted Project, pinentry, Bug Report
ikloecker created T5528: pinentry-qt: Pinentry window not shown on Wayland.
Jul 22 2021, 11:28 AM · Wayland, Restricted Project, pinentry, Bug Report
ikloecker added a comment to T4950: pinentry: Add warning when capslock is on.

Implemented for X11 and Windows.

Jul 22 2021, 10:01 AM · Restricted Project, Restricted Project, pinentry

Jul 19 2021

ikloecker added a comment to T5517: Improvements for symmetric encryption.

For formatting there are four modes: Formatting forced off (the default)/force on/on/off. The latter two modes allow the user to change the option.

Jul 19 2021, 10:36 AM · pinentry, Restricted Project

Jul 15 2021

ikloecker moved T4950: pinentry: Add warning when capslock is on from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jul 15 2021, 4:26 PM · Restricted Project, Restricted Project, pinentry

Jul 12 2021

aheinecke reassigned T4950: pinentry: Add warning when capslock is on from aheinecke to ikloecker.
Jul 12 2021, 10:31 AM · Restricted Project, Restricted Project, pinentry

Jul 6 2021

ikloecker moved T5517: Improvements for symmetric encryption from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jul 6 2021, 9:11 AM · pinentry, Restricted Project

Jul 1 2021

aheinecke added projects to T5517: Improvements for symmetric encryption: Restricted Project, pinentry.
Jul 1 2021, 10:15 AM · pinentry, Restricted Project

Jun 25 2021

werner added a comment to T5322: gpg erroring when the terminal is too small to show the ncurses pinentry dialog.

That might depend on your pinentry version. With a pre-1.1.1 pinentry and 2.2.28 I get this:

Jun 25 2021, 11:12 AM · gnupg (gpg22), gpgagent, pinentry, Bug Report

Apr 28 2021

bagnaram closed T5410: pinentry-gnome3 no longer functions in Wayland as Resolved.
Apr 28 2021, 4:38 AM · pinentry
bagnaram added a comment to T5410: pinentry-gnome3 no longer functions in Wayland.

Thank you all for the help. I thought this was a bug with pinentry itself but appears to be dbus related based on the above command.

Apr 28 2021, 4:38 AM · pinentry
gniibe added a comment to T5410: pinentry-gnome3 no longer functions in Wayland.

To set DISPLAY, dbus-update-activation-environment is your friend.

Apr 28 2021, 3:43 AM · pinentry
gniibe added a comment to T5410: pinentry-gnome3 no longer functions in Wayland.

FYI, for me, on a machine with Debian GNU/Linux, I use Sway, it works fine with pinentry-gnome3.

Apr 28 2021, 3:34 AM · pinentry
bagnaram added a comment to T5410: pinentry-gnome3 no longer functions in Wayland.

I have installed the Gnome keyring prompter and there seems to be a problem using the Wayland display

Apr 28 2021, 12:46 AM · pinentry

Apr 26 2021

werner triaged T5410: pinentry-gnome3 no longer functions in Wayland as Normal priority.

Please install the Gnome Key Ring prompter tool or use the plain GTK pinentry.

Apr 26 2021, 2:17 PM · pinentry

Apr 24 2021

bagnaram created T5410: pinentry-gnome3 no longer functions in Wayland.
Apr 24 2021, 1:10 AM · pinentry

Apr 20 2021

gniibe closed T5384: pinentry coverity static analysis reports as Resolved.
Apr 20 2021, 2:28 AM · pinentry, Bug Report

Apr 16 2021

gniibe added a comment to T5384: pinentry coverity static analysis reports.

Fixed in rP7f7fd8bcfd74: tty: Fix error return paths and its resource leaks.

Apr 16 2021, 5:59 AM · pinentry, Bug Report