Page MenuHome GnuPG
Feed Advanced Search

Jul 25 2016

justus closed T2355: --import of a keypair together with --batch results in no pinentry and i/o errors as Resolved.
Jul 25 2016, 11:02 AM · Bug Report, gpgagent, gnupg (gpg21), Windows, gnupg, Windows 32, pinentry

Jul 22 2016

dranft added a comment to T2355: --import of a keypair together with --batch results in no pinentry and i/o errors.

I think the problem is that your key export fails, because you pointed
--homedir at the (presumably) empty directory "%tmp%\_tempKeyring".

The export did not use any filter and tried to export a key as can be seen in
Msg8313 "error receiving key from agent"
The import itself also stated no errors as it can be seen in T2355 (dranft on May 12 2016, 03:00 PM / Roundup), but this
imported secret key cannot be used (or exported) anymore.
Also important: This is no longer reproducible in 2.1.14 (which might be enough
to set the bug to fixed)

Jul 22 2016, 3:11 PM · Bug Report, gpgagent, gnupg (gpg21), Windows, gnupg, Windows 32, pinentry
justus claimed T2355: --import of a keypair together with --batch results in no pinentry and i/o errors.
Jul 22 2016, 2:48 PM · Bug Report, gpgagent, gnupg (gpg21), Windows, gnupg, Windows 32, pinentry
justus added a comment to T2355: --import of a keypair together with --batch results in no pinentry and i/o errors.

I don't believe this demonstrates a bug.

I think the problem is that your key export fails, because you pointed --homedir at the (presumably)
empty directory "%tmp%\_tempKeyring". This leads to the not very helpful error message about the
eof. If the export were successful, gpg would have written the key to stdout.

For reference, here is what I tried. First GNUPGHOME points to a home with the key I want to export:

    $ echo $GNUPGHOME
    /tmp/tmp.T7I4M9RIc3
    $ g10/gpg --list-keys alpha
    gpg: please do a --check-trustdb
    pub   dsa1024 1999-03-08 [SCA]
          A0FF4590BB6122EDEF6E3C542D727CC768697734
    uid           [ unknown] Alfa Test (demo key) <alfa@example.net>
    uid           [ unknown] Alpha Test (demo key) <alpha@example.net>
    uid           [ unknown] Alice (demo key)
    sub   elg1024 1999-03-08 [E]

You need some kind of pinentry program, because you may be asked for the current passphrase or an
export passphrase:

    $ cat $GNUPGHOME/gpg-agent.conf
    pinentry-program /usr/bin/pinentry-x11

Now export the key:

    $ g10/gpg --export-secret-keys alpha >/tmp/alpha.gpg

Now I create an empty home, and import the key in batch mode:

    $ export GNUPGHOME=$(mktemp -d)
    $ g10/gpg --batch --import /tmp/alpha.gpg
    gpg: keybox '/tmp/tmp.bL2caQmZri/pubring.kbx' created
    gpg: /tmp/tmp.bL2caQmZri/trustdb.gpg: trustdb created
    gpg: key 2D727CC768697734: public key "Alfa Test (demo key) <alfa@example.net>" imported
    gpg: key 2D727CC768697734: secret key imported
    gpg: Total number processed: 3
    gpg:               imported: 1
    gpg:       secret keys read: 3
    gpg:   secret keys imported: 2

Could you please check if that works for you?

Jul 22 2016, 2:48 PM · Bug Report, gpgagent, gnupg (gpg21), Windows, gnupg, Windows 32, pinentry

Jun 2 2016

aheinecke updated subscribers of T2375: regression: "could not grab keyboard".
Jun 2 2016, 4:40 PM · Bug Report, pinentry
aheinecke added a comment to T2375: regression: "could not grab keyboard".

Hi, thanks for testing master.

I can semi reproduce this. For me it works the first time but a second call to
getpin fails.

$ ./pinentry-gtk-2
OK Pleased to meet you
getpin
D hello
OK
getpin

  • (pinentry-gtk-2:29090): CRITICAL **: could not grab keyboard

ERR 83886179 Operation cancelled <Pinentry>

And indeed this goes away with f4b5049c68a79d5e4faba06447db5440936cefeb~1

Looking at the code I don't see a reason for this. Maybe the dialog?
The code without the dialog 71b51e02cf20174ba7144765e985f7e889eaa429 also allows
me to repeatedly call getpin.

Werner: Any idea? I'm a bit clueless which change in the patch could have caused
that.

Jun 2 2016, 4:40 PM · Bug Report, pinentry

Jun 1 2016

afenkart added projects to T2375: regression: "could not grab keyboard": pinentry, Bug Report.
Jun 1 2016, 4:08 PM · Bug Report, pinentry

May 17 2016

werner added projects to T2357: "minimal dunb-terminal": Not A Bug, Debian.
May 17 2016, 2:21 PM · Debian, Not A Bug, Bug Report, pinentry
werner closed T2357: "minimal dunb-terminal" as Resolved.
May 17 2016, 1:55 PM · Debian, Not A Bug, Bug Report, pinentry
werner added a comment to T2357: "minimal dunb-terminal".

Please report this to Debian. This is not a part of upstream Pinentry.

May 17 2016, 1:55 PM · Debian, Not A Bug, Bug Report, pinentry

May 13 2016

rygpeter added projects to T2357: "minimal dunb-terminal": pinentry, Bug Report.
May 13 2016, 7:07 PM · Debian, Not A Bug, Bug Report, pinentry

May 12 2016

dranft renamed T2355: --import of a keypair together with --batch results in no pinentry and i/o errors from --import of a keypair together with --batch and --homedir results in no pinentry and i/o errors to --import of a keypair together with --batch results in no pinentry and i/o errors.
May 12 2016, 3:07 PM · Bug Report, gpgagent, gnupg (gpg21), Windows, gnupg, Windows 32, pinentry
dranft added a comment to T2355: --import of a keypair together with --batch results in no pinentry and i/o errors.

PS: forget the --homedir thing, it is even reprodicable in the default folder in
%appdata%.

May 12 2016, 3:07 PM · Bug Report, gpgagent, gnupg (gpg21), Windows, gnupg, Windows 32, pinentry
dranft added a comment to T2355: --import of a keypair together with --batch results in no pinentry and i/o errors.

Sorry, forgot my import cmdline:

C:\Program Files (x86)\GNU\GnuPG\2.1.12\bin>gpg --batch --homedir
%tmp%\_tempKeyring --import "P:\2EEC2B65A2B4B3EF.sec.asc"
gpg: Die "Keybox" `C:/Users/ranftd/AppData/Local/Temp/_tempKeyring/pubring.kbx'
wurde erstellt
gpg: C:/Users/ranftd/AppData/Local/Temp/_tempKeyring/trustdb.gpg: trust-db erzeugt
gpg: Schlüssel A2B4B3EF: Öffentlicher Schlüssel "Daniel Ranft (Giegerich &
Partner GmbH)" importiert
gpg: Schlüssel A2B4B3EF: "Daniel Ranft (Giegerich & Partner GmbH)" nicht geändert
gpg: Schlüssel A2B4B3EF: geheimer Schlüssel importiert
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 4
gpg: importiert: 1
gpg: unverändert: 1
gpg: gelesene geheime Schlüssel: 3
gpg: unveränderte geh. Schl.: 2
gpg: keine ultimativ vertrauenswürdigen Schlüssel gefunden

May 12 2016, 3:00 PM · Bug Report, gpgagent, gnupg (gpg21), Windows, gnupg, Windows 32, pinentry
dranft set Version to 2.1.12 on T2355: --import of a keypair together with --batch results in no pinentry and i/o errors.
May 12 2016, 2:58 PM · Bug Report, gpgagent, gnupg (gpg21), Windows, gnupg, Windows 32, pinentry
dranft added projects to T2355: --import of a keypair together with --batch results in no pinentry and i/o errors: pinentry, Windows 32, gnupg, Windows, gnupg (gpg21), gpgagent, Bug Report.
May 12 2016, 2:58 PM · Bug Report, gpgagent, gnupg (gpg21), Windows, gnupg, Windows 32, pinentry

Apr 20 2016

werner lowered the priority of T2320: pinentry: Fix -Wimplicit-function-declaration warning in pinentry-curses.c [patch] from Normal to Low.
Apr 20 2016, 9:03 AM · Bug Report, pinentry

Apr 16 2016

gupsgr raised the priority of T2320: pinentry: Fix -Wimplicit-function-declaration warning in pinentry-curses.c [patch] from Low to Normal.
Apr 16 2016, 9:13 AM · Bug Report, pinentry
gupsgr added projects to T2320: pinentry: Fix -Wimplicit-function-declaration warning in pinentry-curses.c [patch]: pinentry, Bug Report.
Apr 16 2016, 9:12 AM · Bug Report, pinentry

Apr 15 2016

aheinecke added a project to T2139: pinentry option to see the password in cleartext: Restricted Project.
Apr 15 2016, 10:45 AM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

I've now pushed a patch to the GTK variant based on werner's original work with
the message box and the string button labels.

I was unable to get the tab order working correctly so that the visibility
button comes last in GTK. I've tried it with gtk_container_set_focus_chain but
it did not work as expected. When set on the wvbox it disabled tab changes
altogether. When set on the cbbox or bbbox it somewhat worked (e.g. when I
removed a widget from my list it was no longer tabbable) but it would not add
the repeat edit and the visibility toggle button although both were part of my list.
Probably a problem because of the sublayouts?

I noted this in the code so if someone wants to change that you are welcome :-)

Apr 15 2016, 10:45 AM · pinentry, Feature Request, gpg4win
bernhard added a comment to T2139: pinentry option to see the password in cleartext.

Am Donnerstag, 14. April 2016 16:24:59 schrieb Andre Heinecke via BTS:

But from the discussion here and back then I took that draft to be no
longer up to date and that the MessageBox Question approach with small icon
buttons is not wanted.

Apr 15 2016, 9:18 AM · pinentry, Feature Request, gpg4win

Apr 14 2016

aheinecke claimed T2139: pinentry option to see the password in cleartext.
Apr 14 2016, 4:25 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

I know your first draft.

But from the discussion here and back then I took that draft to be no longer up
to date and that the MessageBox Question approach with small icon buttons is not
wanted.

I also don't know where we agreed that an Eye icon is a bad idea for this action.
This icon in similar to the one of the Windows Login screen and the same one
used in KDE. So it is recognizable for this action.

If you strongly favor the Message box variant I can change it to that.

Apr 14 2016, 4:25 PM · pinentry, Feature Request, gpg4win
werner added a comment to T2139: pinentry option to see the password in cleartext.

No string changes in gpg-agent please.

Apr 14 2016, 4:12 PM · pinentry, Feature Request, gpg4win
werner added a comment to T2139: pinentry option to see the password in cleartext.

I though we agreed that a watching eye is not a good icon for various reasons?

For the GTK version I already proposed a different layout:
it is still available at https://wiki.gnupg.org/ScratchWK . That fallback
solution tales away to much real estate

Apr 14 2016, 4:11 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

Apr 14 2016, 4:09 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

Better screenshot of the fallback showing a real call by gpg-agent instead of a
"getpin"

Apr 14 2016, 4:09 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

Neal: I've commited this with: 71b51e02cf20174ba7144765e985f7e889eaa429

The Make passphrase visible is in the tab order after the line edit. I don't
know how to best change this in GTK and the "Save passphrace using libsecret"
button would have the same problem.

I don't think it's a real problem though as you would have to tab + space to
make the password visible. Tab + Enter would just accept the dialog.

If you think this ok you can set this issue to resolved. You can also change the
setting you mentioned in T2139 (neal on Dec 07 2015, 10:09 AM / Roundup) . I don't know how. :-)

We might want to change the strings in gpg-agent though. I would prefer: "Show
passphrase" instead of "Make passphrase visible".

Apr 14 2016, 4:08 PM · pinentry, Feature Request, gpg4win
aheinecke reassigned T2139: pinentry option to see the password in cleartext from aheinecke to neal.
Apr 14 2016, 4:08 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

Apr 14 2016, 4:08 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

Apr 14 2016, 3:29 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

Fallback variant. (Qt5 Version with XDG_CURRENT_DESKTOP=GNOME)

The checkbox comes after the cancel button in the Tab order and will not
activate when pressing enter.

This is how I'll add it to the GTK variant now.

Apr 14 2016, 3:29 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

Apr 14 2016, 3:27 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

I've implemented this for Qt now.

The Qt5 variant with breeze icon theme looks like the attached screenshot. This
is how it will look on Windows and for KDE plasma 5 users.

If the Qt version is too old (The API for the line edit action was added in
Qt5.2) or there is no icon for the visibility actions it falls back to a textual
checkbox.
This also avoids licensing problems with the icons as the icons are loaded
through QIcon::fromTheme.

Apr 14 2016, 3:27 PM · pinentry, Feature Request, gpg4win

Apr 1 2016

werner added a comment to T2254: Add FLTK frontend for pinentry (for weak computers).

No, FLTK is not lightweight. It actually adds the requirement for a C++
compiler to GnuPG. And pinentry-w32 shall of course not die!

Apr 1 2016, 5:06 PM · pinentry, Feature Request

Mar 23 2016

aheinecke added a comment to T2254: Add FLTK frontend for pinentry (for weak computers).

Werner what is your opinion on this?

pinentry-w32 is broken. It does not handle variable string sizes and there is no
easy way to fix that. Afaik it was never intended as the "default" windows
pinentry but only as a crutch for windows ce experiments.

Would fltk be lightweight enough for your to replace pinentry-w32 in your
installer? In that case I think we should take a serious look at this patch as a
minimal pinentry version for windows.

(And delete pinentry-w32 instead)

Mar 23 2016, 6:52 PM · pinentry, Feature Request
aheinecke assigned T2254: Add FLTK frontend for pinentry (for weak computers) to werner.
Mar 23 2016, 6:52 PM · pinentry, Feature Request
aheinecke added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

I think this can be resolved. Yes older versions did not allow pasting but
recent versions do allow this. So we've fixed the bug in recent versions ->
resolved. No?

The reporter says he is using ubuntu 14 (i assume 14.4) where the default
pinentry is pinentry-gtk2 0.8.3

Mar 23 2016, 6:44 PM · Feature Request, Info Needed, pinentry

Mar 18 2016

werner added a comment to T2286: gpg-agent not working on AIX 6.1 TL09.

What is the output of

  gpgconf --list-dirs

?

Mar 18 2016, 6:15 PM · gnupg, Bug Report

Mar 13 2016

sarathingpg raised the priority of T2286: gpg-agent not working on AIX 6.1 TL09 from Normal to Unbreak Now!.
Mar 13 2016, 11:02 PM · gnupg, Bug Report
sarathingpg added a project to T2286: gpg-agent not working on AIX 6.1 TL09: pinentry.
Mar 13 2016, 11:02 PM · gnupg, Bug Report

Mar 3 2016

justus added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

Yes you are using pinentry, and we need to know what kind of pinentry (there are
several flavors) and which version you are using in order to help you.

Please do 'pinentry --version' and report the output.

To see whether this pinentry is the one you are using, or to play around with it
and the variants, you can do:

echo -e "SETDESC Does this look like your pinentry window?\nGETPIN" | pinentry

You can try replacing pinentry with pinentry-qt for example.

Mar 3 2016, 2:46 PM · Feature Request, Info Needed, pinentry

Feb 26 2016

ueno added a comment to T2263: use FD passing instead of /tmp/emacs$UID/pinentry.

I have done some experiment with it, and it works (though I had
to add ASSUAN_*_FDPASSING flags to a couple of places in gnupg).
However, I think I still need some more opinions to make it a
reviewable state.

First, to make all the things work, gpg would need a new
option (or an envvar?) to tell the FD number. Naively, it could
be named as --emacs-fd, which only works if INSIDE_EMACS is set.
However, it might be too specific, and sounds over-engineering to
me.

Instead, we could add a more generic option, say, --pinentry-fd.
With that option, any pinentry could talk to the caller through
the FD with the Assuan protocol. For security, the effect of the
option shall be restricted only when --pinentry-mode=loopback is
set and working.

In that case, it's tempting to make gpg-agent directly talk to
the FD, instead of spawning pinentry. However, it cannot take
advantage of pinentry's libsecret support and the diversion to
other pinentries (GTK+, ...). Also, it might be a similar
concept of --pinentry-program, which I proposed and was rejected.

What do you think?

Actually, I'm not sure about the current recommendation on the
custom passphrase input options. Given the recent bug fixes,
could --pinentry-mode=loopback be publicly promoted? If so,
I'm happy to withdraw this (and perhaps INSIDE_EMACS stuff) and
add a hack to use --pinentry-mode=loopback.

Feb 26 2016, 10:09 AM · pinentry, Feature Request

Feb 25 2016

neal added a comment to T2263: use FD passing instead of /tmp/emacs$UID/pinentry.

I think this is reasonable. If you want to implement it, I'll review the
patches. Thanks.

Feb 25 2016, 11:17 AM · pinentry, Feature Request

Feb 24 2016

aheinecke added a comment to T2254: Add FLTK frontend for pinentry (for weak computers).

I wonder if we could / should use this as a replacement for Pinentry-w32?

Pinentry-w32 should die and FLTK could be lightweight enough that werner would
include it in gnupg-w32?

Feb 24 2016, 2:25 PM · pinentry, Feature Request
ueno added a comment to T2263: use FD passing instead of /tmp/emacs$UID/pinentry.

Does this mean that pinentry-emacs will only work when an emacs instance calls

gpg?

Yes, it is the intention of this proposal.

Does pinentry-emacs need to support the case that a program other than

emacs calls gpg?

I don't think it is worth being supported. It would be rather confusing if a
GUI program internally using gpg asked passphrases from Emacs window.

Feb 24 2016, 3:09 AM · pinentry, Feature Request

Feb 23 2016

neal added a comment to T2254: Add FLTK frontend for pinentry (for weak computers).

I tend to agree with Werner: adding another pinentry program increases our
maintenance burden, but the new pinentry doesn't add any convincing features,
AFAIK. If there are some significant benefits, please add them. Otherwise, I
think I'll change this issue to wont-fix. Sorry. Nevertheless, thank you for
your contribution! I hope you'll find another way to contribute.

Feb 23 2016, 9:33 PM · pinentry, Feature Request
neal added a comment to T2263: use FD passing instead of /tmp/emacs$UID/pinentry.

Does this mean that pinentry-emacs will only work when an emacs instance calls
gpg? Does pinentry-emacs need to support the case that a program other than
emacs calls gpg?

Feb 23 2016, 9:30 PM · pinentry, Feature Request
ueno set Version to 0.9.7 on T2263: use FD passing instead of /tmp/emacs$UID/pinentry.
Feb 23 2016, 8:29 AM · pinentry, Feature Request
ueno added projects to T2263: use FD passing instead of /tmp/emacs$UID/pinentry: Feature Request, pinentry.
Feb 23 2016, 8:29 AM · pinentry, Feature Request
ueno added a comment to T2034: pinentry emacs features need documentation.

It has been there since the 21.1 release. The relevant commits are:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b021ef186f6062705a29ae8e3840ad32db451811
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=719349f6d0e464d4f71963b87f6bfa08ac630aa7

Feb 23 2016, 8:14 AM · Bug Report, pinentry

Feb 22 2016

neal added a comment to T2034: pinentry emacs features need documentation.

@ueno: This is reasonable. Thanks for the explanation. Do you happen to know
approximately what version started to enable these protections?

Feb 22 2016, 11:32 AM · Bug Report, pinentry
werner added a comment to T2254: Add FLTK frontend for pinentry (for weak computers).

Given that FLTK is a C++ library and we already have a Qt frontend, I am not
sure whether adding this is a good idea. The problem is the usual ABI break due
to compiler or library changes. We already had our problems in the past with
the two Qt versions we supported. Adding FLTK would introduce those problems again.

Why are Qt or GTK+ not sufficient for small boxes?

Feb 22 2016, 9:53 AM · pinentry, Feature Request
ueno reopened T2034: pinentry emacs features need documentation as "Open".
Feb 22 2016, 3:18 AM · Bug Report, pinentry
ueno added a comment to T2034: pinentry emacs features need documentation.

D315: 782_0001-doc-Make-Emacs-frontend-description-more-accurate.patch

Feb 22 2016, 3:18 AM · Bug Report, pinentry
ueno added a comment to T2034: pinentry emacs features need documentation.

Thanks for writing this up, Neal. However, I found the claim a bit
inaccurate by now. I am attaching a proposed fix for this.

Emacs keeps all key presses buffered.
(You can see the recent key presses by typing @code{C-h l}
(@code{view-lossage}) in emacs.)

This is not the case with the common `read-passwd' function, which
clears the log on every key press. See:
http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/subr.el#n2126

Because of this concern, Emacs doesn't
enable this by default (the user has to run @code{(pinentry-start)},
e.g., from his or her @code{.emacs} file, explicitly).

This is no longer true. Emacs checks the allow-emacs-pinentry option
of gpg-agent, and start it if desired.

Further, Emacs is a huge program,
which doesn't provide any process isolation to speak of. As such,
having it handle the passphrase adds a huge chunk of code to the
user's trusted computing base.

Yes. However, all official packages on elpa.gnu.org are digitally
signed and supposed to work courteously. Users can still use unsigned
or 3rd party packages, but I think it is similar to the situation
where distribution packages are used.

In conclusion, I would say the Emacs pinentry provides the same level
of security as the current pinentry-gtk2 (as long as the
implementation is sane). My only concern was that Emacs `read-passwd'
is implemented in Elisp and thus cannot use secure memory. However,
it is also true for pinentry-gtk2, which uses the default GtkEntry
now.

Feb 22 2016, 3:18 AM · Bug Report, pinentry

Feb 16 2016

madrat added a comment to T2254: Add FLTK frontend for pinentry (for weak computers).

"There are not many comments."
The code should comment itself, and /* some comment for block */ really need
only for description the strongly non-obvious actions - like complex math,
optimization (with answer why optimize here) or factorization algorithm O(1) :-).

Feb 16 2016, 9:31 AM · pinentry, Feature Request
madrat added a comment to T2254: Add FLTK frontend for pinentry (for weak computers).

Dear Neal, I thank you for answer.

This issue's the main goal is getting an answer to a question - Do you plan
support FLTK. I suppose that it may be closed with comment "not need this
toolkit" - so I do not format according to the GNU coding standards - There are
many contentious issues about the format code - 80 chars per line is more then
enough for assembler, but for C++ with templates - not sure.
Your code is your rules, so If you plan to accept FLTK support - I fix all notes.

"Using email"
email "madrat@users.noreply.github.com" is also my email, which I use in
github.com and because I use local git, it will be inserted automatically.

"the rest of the code has a fair number of violations"
For my studies and knowledge - can you post sample of violation?

Feb 16 2016, 9:21 AM · pinentry, Feature Request

Feb 15 2016

neal closed T2243: pinentry sends libsecret error messages to stdout, which causes IPC error as Resolved.
Feb 15 2016, 9:18 AM · Bug Report, pinentry
neal added a comment to T2243: pinentry sends libsecret error messages to stdout, which causes IPC error.

I reported this to the libsecret maintainers, but it turns out that it was our
bug. Stef kindly replied a patch, which I've now applied (2f5bfa0). Looking
again at dkg's original message, he doesn't suggest that the problem is with
libsecret, but in fact correctly identified pinentry at the culprit.

Feb 15 2016, 9:18 AM · Bug Report, pinentry
lennylenny added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

see attached, this is a part of gpg, enter password, I need to be able
to paste into that field. Nobody seems to know how to fix this!

Feb 15 2016, 7:43 AM · Feature Request, Info Needed, pinentry
lennylenny added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

Feb 15 2016, 7:43 AM · Feature Request, Info Needed, pinentry
lennylenny added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

I'm not using pinetry, it is part of the pgp software. just trying to
get to the bottom of this. I am a user, not a programmer. Pinetry just
makes the popup that's asking for the password. I attached a screenshot
of it.

Feb 15 2016, 7:43 AM · Feature Request, Info Needed, pinentry

Feb 14 2016

krejzi added a comment to T2244: pinentry not saving/using saved GPG key password.

This is Linux From Scratch, pinentry 0.9.7, pinentry -> pinentry-gtk-2, with
fallback to ncurses. No other pinentry program works.

This is KDE environment, Qt pinentry crashes. I can confirm that there's a
keyring password in the Login keyring, which is the only keyring I use.

Nonetheless, the password won't be asked again while the gpg-agent is running,
the password was entered at least once, and the "Remember password (or
whatever)" box was checked.

As soon as gpg-agent is terminated or a session restarted (which also terminates
gpg-agent), next time I try to use the pgp key, I get asked for its passphrase.

Feb 14 2016, 5:00 PM · pinentry, Feature Request
neal added a comment to T2244: pinentry not saving/using saved GPG key password.

What distribution are you using? What pinentry program? Can you take a look
using seahorse to make sure that your password is saved. Once it is saved, it
shouldn't be removed.

Feb 14 2016, 4:54 PM · pinentry, Feature Request
neal added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

Note: recent versions of pinentry-gtk-2 are using native widgets. If you are
using that program and not the latest version of pinentry, then please try that
first.

Feb 14 2016, 4:10 PM · Feature Request, Info Needed, pinentry
neal added a project to T2249: Pinetry field "enter passphrase" won't let me paste in: Info Needed.
Feb 14 2016, 4:08 PM · Feature Request, Info Needed, pinentry
neal added a comment to T2249: Pinetry field "enter passphrase" won't let me paste in.

There is no version 2.0.22 of pinentry (the most recent version is 0.9.7). Can
you please figure out what version of pinentry you are using and which pinentry
program (there are five: pinentry-gnome3, pinentry-gtk-2, pinentry-qt,
pinentry-curses and pinentry-tty). Thanks!

Feb 14 2016, 4:08 PM · Feature Request, Info Needed, pinentry
neal added a project to T2254: Add FLTK frontend for pinentry (for weak computers): pinentry.
Feb 14 2016, 3:24 PM · pinentry, Feature Request

Feb 10 2016

lennylenny added projects to T2249: Pinetry field "enter passphrase" won't let me paste in: pinentry, Bug Report.
Feb 10 2016, 10:03 AM · Feature Request, Info Needed, pinentry
lennylenny set Version to 2.0.22 on T2249: Pinetry field "enter passphrase" won't let me paste in.
Feb 10 2016, 10:03 AM · Feature Request, Info Needed, pinentry

Feb 9 2016

segfault set Version to 0.8.3 to 0.9.7 on T2248: pinentry-gtk-2 causes GNOME3 menus to hang.
Feb 9 2016, 4:30 PM · Bug Report, pinentry
segfault added projects to T2248: pinentry-gtk-2 causes GNOME3 menus to hang: pinentry, Bug Report.
Feb 9 2016, 4:30 PM · Bug Report, pinentry

Feb 8 2016

neal added a comment to T2245: pinentry on wrong monitor.

I think I wasn't clear. I have two monitors, but only one X DISPLAY. This is
about the screen, not the X display, where the pinentry is shown.

Feb 8 2016, 3:01 PM · Stalled, Feature Request, pinentry
werner added a comment to T2245: pinentry on wrong monitor.

You may use gpg-agent's --keep-display to force the pinentry to show up on the
display you started the agent. The agent needs to be started explicit, though.

Feb 8 2016, 1:09 PM · Stalled, Feature Request, pinentry
werner added a comment to T2243: pinentry sends libsecret error messages to stdout, which causes IPC error.

A library should never ever send any diagnostics to stdout. That does not only
break pinentry but also all other tools which output to stdout. I suggest to
report that to libsecret.

Feb 8 2016, 1:06 PM · Bug Report, pinentry

Feb 7 2016

neal added projects to T2245: pinentry on wrong monitor: pinentry, Bug Report.
Feb 7 2016, 11:18 PM · Stalled, Feature Request, pinentry

Feb 6 2016

krejzi set Version to 0.9.7 on T2244: pinentry not saving/using saved GPG key password.
Feb 6 2016, 5:45 PM · pinentry, Feature Request
krejzi added projects to T2244: pinentry not saving/using saved GPG key password: Feature Request, pinentry.
Feb 6 2016, 5:45 PM · pinentry, Feature Request

Feb 5 2016

neal claimed T2243: pinentry sends libsecret error messages to stdout, which causes IPC error.
Feb 5 2016, 10:27 PM · Bug Report, pinentry
dkg updated subscribers of T2243: pinentry sends libsecret error messages to stdout, which causes IPC error.
Feb 5 2016, 10:21 PM · Bug Report, pinentry
dkg added projects to T2243: pinentry sends libsecret error messages to stdout, which causes IPC error: pinentry, Bug Report.
Feb 5 2016, 10:20 PM · Bug Report, pinentry

Jan 15 2016

werner lowered the priority of T1998: Can't use extended characters in passphrase from Normal to Low.
Jan 15 2016, 4:44 PM · pinentry, Not A Bug, Bug Report, gnupg

Jan 5 2016

dkg reopened T1982: pinentry-qt should fallback to curses if $DISPLAY is set but unavailable as "Open".
Jan 5 2016, 6:15 AM · pinentry, Feature Request
dkg added a comment to T1982: pinentry-qt should fallback to curses if $DISPLAY is set but unavailable.

Hm, this is indeed fixed for pinentry-gtk2 and pinentry-gnome3, but pinentry-qt
is still broken:

0 $ DISPLAY=:3 pinentry-qt
QXcbConnection: Could not connect to display :3
Aborted
134 $

Jan 5 2016, 6:15 AM · pinentry, Feature Request

Dec 17 2015

rhansen added a comment to T2188: can't paste password in pinentry-gnome3.

Yes, pasting into pinentry-gtk-2 with the middle mouse button does work.

I noticed that pinentry-gnome3 uses GcrSystemPrompt, which is documented as
being a system modal prompt. I'm not very familiar with libgcr, but maybe
pinentry-gnome3 could use GcrPromptDialog if no-grab is set.

Dec 17 2015, 6:26 AM · Bug Report, pinentry

Dec 16 2015

neal added a comment to T2188: can't paste password in pinentry-gnome3.

The gnome3 problem is due to libgcr, which disables and manages the dialog.

I'll take a look at the gtk2 issue soon. Does pasting with the middle mouse
button work?

Dec 16 2015, 3:08 PM · Bug Report, pinentry

Dec 13 2015

archange added a comment to T2177: pinentry: Passphrase not recognized in Thunderbird/Enigmail.

Actually there is something more.

While using pinentry-gtk-2 in a terminal does work, it still fails in
Thunderbird/Enigmail (passphrase not recognized).

And pinentry-gnome3, that works in the terminal too, doesn’t work in
Thunderbird/Enigmail as stated before (it fails just like if set to pinentry-tty
or pinentry-curses).

Dec 13 2015, 4:19 PM · FAQ, Bug Report, pinentry
archange added a comment to T2177: pinentry: Passphrase not recognized in Thunderbird/Enigmail.

So, found it why trying what you asked me for.

It has to do with Input Method. GTK3 is working because it’s the only toolkit
that properly recognize all the dead keys on my setup (some of the characters I
use are only available through dead keys). QT4 was working because of this line
in my .xprofile:

export QT4_IM_MODULE=xim

Replacing QT4 with GTK makes pinentry-gtk-2 work too. However, this seems not
supported by QT5 (the correct var is QT_IM_MODULE), because xim seems to be
obsolete so they don’t support it. But some of my dead keys are not working, so
this is most likely a bug on QT/KDE side…

And since I run a QT5 terminal, -curses and -tty don’t work.

So, I think this can be closed, and that it’s time to open/search a bug
regarding this on QT/KDE side.

Dec 13 2015, 3:58 PM · FAQ, Bug Report, pinentry
rhansen set Version to 0.9.5 on T2188: can't paste password in pinentry-gnome3.
Dec 13 2015, 8:38 AM · Bug Report, pinentry
rhansen added projects to T2188: can't paste password in pinentry-gnome3: pinentry, Bug Report.
Dec 13 2015, 8:38 AM · Bug Report, pinentry

Dec 11 2015

aheinecke removed a project from T2139: pinentry option to see the password in cleartext: gnupg (gpg21).
Dec 11 2015, 6:40 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2177: pinentry: Passphrase not recognized in Thunderbird/Enigmail.

if there is a behavioral change regarding the encoding a difference between qt4
and qt5 this would be a bug. Both convert the input to UTF-8, I think GTK does
too. I've just tested it and it worked.

So they should be the same. Can you provide an example test case by starting
pinentry from the command line and using "getpin"?

Dec 11 2015, 1:26 PM · FAQ, Bug Report, pinentry
werner added a project to T2177: pinentry: Passphrase not recognized in Thunderbird/Enigmail: FAQ.
Dec 11 2015, 1:06 PM · FAQ, Bug Report, pinentry
werner lowered the priority of T2177: pinentry: Passphrase not recognized in Thunderbird/Enigmail from Unbreak Now! to Normal.
Dec 11 2015, 1:06 PM · FAQ, Bug Report, pinentry
werner added a comment to T2177: pinentry: Passphrase not recognized in Thunderbird/Enigmail.

There is no encoding at all for passphrase - GnUPG uses whatever the user types.
Thus if the passphrase was originally entered on a Latin-1 TTY and later a GUI
with UTF-8 input is used, you run into problems.

We can't cange that because that breaks existing passphrases. For new
installations it should not be a problem becuase modern systems are all UTF-8
(modulo Windows)

Dec 11 2015, 1:06 PM · FAQ, Bug Report, pinentry
neal added a comment to T2177: pinentry: Passphrase not recognized in Thunderbird/Enigmail.

I wonder if it is an encoding problem.

Dec 11 2015, 11:17 AM · FAQ, Bug Report, pinentry

Dec 10 2015

archange added projects to T2177: pinentry: Passphrase not recognized in Thunderbird/Enigmail: pinentry, Bug Report.
Dec 10 2015, 4:31 PM · FAQ, Bug Report, pinentry
archange set Version to 0.9.7 on T2177: pinentry: Passphrase not recognized in Thunderbird/Enigmail.
Dec 10 2015, 4:31 PM · FAQ, Bug Report, pinentry