Page MenuHome GnuPG
Feed Advanced Search

Dec 7 2015

werner closed T2133: pinentry qt 4 password corruption as Resolved.
Dec 7 2015, 10:44 AM · pinentry, Bug Report
werner removed a project from T2133: pinentry qt 4 password corruption: Restricted Project.
Dec 7 2015, 10:44 AM · pinentry, Bug Report
werner added a comment to T2133: pinentry qt 4 password corruption.

0.9.7 released.

Dec 7 2015, 10:44 AM · pinentry, Bug Report
neal added a comment to T2139: pinentry option to see the password in cleartext.

When this feature becomes available, then we should probably disable
"gtk-entry-password-hint-timeout". See the following Debian bug report for details:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801757

Dec 7 2015, 10:09 AM · pinentry, Feature Request, gpg4win

Dec 1 2015

bernhard added a comment to T2139: pinentry option to see the password in cleartext.

Ready for implementation by Andre.

Dec 1 2015, 11:49 AM · pinentry, Feature Request, gpg4win
bernhard reassigned T2139: pinentry option to see the password in cleartext from bernhard to aheinecke.
Dec 1 2015, 11:49 AM · pinentry, Feature Request, gpg4win
bernhard added a comment to T2139: pinentry option to see the password in cleartext.
So if you want to go ahead with the current plan, that's fine with me.

Thanks for your feedback.
I was wondering specifically about the use-case when you want to enter
and "ok" the passphrase. The regular flow for this as I understand it would=
be

  typing the passphrase and then "enter" or "return"

I think it is okay to have "tab" cycle between options, but including the=20
option of toggling visibility, because somebody who want to enter the=20
passphrase would (in my understand) always do the above flow and not=20
tab-tab-enter.

Dec 1 2015, 10:11 AM · pinentry, Feature Request, gpg4win

Nov 27 2015

dkg added a comment to T2139: pinentry option to see the password in cleartext.

pinentry-gtk-2 does currently support the tab-tab-enter use case. Using 0.9.6-4
from debian, i can use tab to cycle between the textentry dialog and cancel and OK.

I see the same behavior from pinentry-gnome3 (0.9.6-4), tab workflow is:

  • textentry
  • Cancel
  • OK

for pinentry-qt (same version as tested above) the tab ordering is:

  • textentry
  • OK
  • Cancel

That said, i agree that i'm the only person who has raised this, and i'm
perfectly willing to be retrained to use more efficient keyboard flows if
they're presented to me. So if you want to go ahead with the current plan,
that's fine with me.

I agree that consistency with common UI patterns on the platform of choice are
worth emulating -- we don't need to invent or maintain our own UI patterns that
are idiosyncratic to GnuPG.

Nov 27 2015, 8:11 PM · pinentry, Feature Request, gpg4win
bernhard added a comment to T2139: pinentry option to see the password in cleartext.

(2nd try, the mailinterface failed for me.)

http://www.aelog.org/password-visibility-in-kpassworddialog/

Good that you found it.
In the comments Bogdan has a point.
The screenshots also do not look convincing, but I agree it makes sense to be
consistent there. Could we also get a screenshot about this implementation
for Windows 8 they are talking about?

For GTK we should implement it the way werner has outlined and as has been
discussed on the mailing list. So that users with more "Keyboard centric"
workflow have the GTK alternative available.

As gtk-pinentry

  1. currently does not allow tab-return
  2. and it does not make sense as a workflow
  3. we are lacking further evidence if there are users that still use this for a password entry. (Not response by dkg.)

I'd say the discussion on the mailinglist is fully superceded.

In my view we should
a) design it close to pinentry-qt, because it also will be used on Windows

mostly and the consistency with other Windows password dialogs has a lot of 
weight

b) Look at other wide spread gtk-dialog for this functionality and use

   the better design considerin Bogdans comment with a "switch".

The icon could possibly used in both implementations. (If the license allows
this. Oxygen used to have a bit less practical licene coming with it.)

Best,
Bernhar

Nov 27 2015, 5:32 PM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

Bernhard:

I've tried out KDE 5 and noticed that the standard password dialog there already
has such an option. http://www.aelog.org/password-visibility-in-kpassworddialog/

My strong preference for Pinentry-qt would be to make it similar. As a unified
UI adds value and pinentry-qt is afail most often used with Windows and KDE
desktops. And the solution outlined in the link above is also very similar to
the Windows 10 password entry.

For GTK we should implement it the way werner has outlined and as has been
discussed on the mailing list. So that users with more "Keyboard centric"
workflow have the GTK alternative available.

Would this be acceptable for you?

Nov 27 2015, 10:29 AM · pinentry, Feature Request, gpg4win
aheinecke added a comment to T2133: pinentry qt 4 password corruption.

Werner, I know that nothing much in pinentry has changed since 0.9.6 but this
bug is pretty bad for pinentry-qt. It would be good to have a new release.

Nov 27 2015, 9:53 AM · pinentry, Bug Report

Nov 20 2015

neal removed a project from T2076: every input in pinentry-gtk-2 results in core dump: Info Needed.
Nov 20 2015, 10:33 PM · Gentoo, Bug Report, pinentry
neal closed T2076: every input in pinentry-gtk-2 results in core dump as Resolved.
Nov 20 2015, 10:33 PM · Gentoo, Bug Report, pinentry
neal added a comment to T2076: every input in pinentry-gtk-2 results in core dump.

Given that this bug does not appear to be reproducable with 0.9.6, I'm marking
this as resolved.

Nov 20 2015, 10:33 PM · Gentoo, Bug Report, pinentry
werner added a comment to T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry.

Keep the bug open. We won't fix it for the next release.

Nov 20 2015, 2:06 PM · Bug Report, gpgagent
neal added a comment to T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry.

werner: What is your call to action? Should pinentry always be shutdown or is
the status quo acceptable? Thanks.

Nov 20 2015, 1:32 PM · Bug Report, gpgagent
bernhard added a comment to T2139: pinentry option to see the password in cleartext.

@dkg,
what do you think about T2139 (bernhard on Nov 02 2015, 10:09 AM / Roundup)?

Nov 20 2015, 8:59 AM · pinentry, Feature Request, gpg4win

Nov 19 2015

aheinecke removed a project from T1961: pinentry-qt4 needs -std=c++11 to compile with gcc-5.1: Restricted Project.
Nov 19 2015, 10:18 AM · Bug Report, pinentry
aheinecke added a comment to T1961: pinentry-qt4 needs -std=c++11 to compile with gcc-5.1.

I'm marking this as resolved as the currently released version of pinentry
compiles with gcc-5.1

Nov 19 2015, 10:18 AM · Bug Report, pinentry
aheinecke closed T1961: pinentry-qt4 needs -std=c++11 to compile with gcc-5.1 as Resolved.
Nov 19 2015, 10:18 AM · Bug Report, pinentry

Nov 18 2015

neal closed T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim as Resolved.
Nov 18 2015, 5:19 PM · Bug Report, pinentry
neal added a comment to T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim.

dkg: No worries. Thanks for testing.

Nov 18 2015, 5:19 PM · Bug Report, pinentry
dkg reopened T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim as "Open".
Nov 18 2015, 3:47 PM · Bug Report, pinentry
dkg added a comment to T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim.

I've just tested 0.9.6 using the same procedure as T1777 (dkg on May 14 2015, 12:01 AM / Roundup), and i have no
problem entering text either. I think this is resolved. sorry for the delay in
feedback.

Nov 18 2015, 3:47 PM · Bug Report, pinentry
neal added a comment to T1836: gpg-agent --no-detach breaks pinentry-curses, pinentry-tty.

It would nice to have an exactly sequence of commands that cause this problem.

Nov 18 2015, 2:00 PM · Too Old, Info Needed, Bug Report, pinentry
neal closed T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim as Resolved.
Nov 18 2015, 11:28 AM · Bug Report, pinentry
neal removed a project from T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim: Restricted Project.
Nov 18 2015, 11:28 AM · Bug Report, pinentry
neal added a comment to T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim.

Given the amount of time since the request for testing, I don't think we are
going to get a response. As such, I'm going to close this issue and mark it as
resolved. If there is still a problem please either reopen this bug report or
file a one. Thanks.

Nov 18 2015, 11:28 AM · Bug Report, pinentry

Nov 9 2015

gnotaras added projects to T2145: Enhance pinentry-qt dialog title with key specific info to facilitate auto-typing: Feature Request, pinentry.
Nov 9 2015, 9:57 AM · pinentry, Feature Request

Nov 6 2015

neal closed T1239: pinentry-gtk2 hangs when GNOME a11y is enable as Resolved.
Nov 6 2015, 12:41 PM · Bug Report, pinentry
neal added a comment to T1239: pinentry-gtk2 hangs when GNOME a11y is enable.

I'm marking this as resolved. If it is still an issue, please feel free to
reopen. Thanks.

Nov 6 2015, 12:41 PM · Bug Report, pinentry
neal removed a project from T1239: pinentry-gtk2 hangs when GNOME a11y is enable: Restricted Project.
Nov 6 2015, 12:41 PM · Bug Report, pinentry

Nov 2 2015

bernhard updated subscribers of T2139: pinentry option to see the password in cleartext.

Hi!

@dkg:
Can you tell me more about your tab-return use case? Do you have hints/personal
observations about how many people are affected?
In the gtk2 pinentry this did not work so far (See my T2139 (bernhard on Oct 29 2015, 04:42 PM / Roundup)) other
implementation do not seem to allow it (I've also tested kdm login screen)
and it does not make much sense either when you can press "return" right away.
So to me it is still unclear how many people are affected.

@aheinecke: Thanks for contributing another case.
I think it is a good solution for a system login screen, where a login-change
probably is harder to do.
I think this slightly changes when you think about passphrases for pinentry
that may get entered less often and some people keep a backup on paper (which is
actually good under some circumstances) and I would claim that a passphrase
change on a key on average is easier to do than a system password.

@werner: You wrote that you've checked some other implementation, it would be cool
to have a list of those. Screenshots would be even better.

@all, my current design ideas are

  • to have a text below the entry field, close to it, saying "show password" and a on-off switch or second best a check-box, third best a button.

Rationale: Because the space requirement is mainly in width. An on-off switch

probably has the most natural mapping, but this depend on the overal GUI design
of the system. On some a real slider-switch may not be available or look alien,
then we should use what ever users will recognise as an on-off thing.
The text is much less work than to select/design an icon and it uses
less height.
  • It is okay to have that in the accessibility tab list, even after the entry field, because I personally believe that a lot more people want the natural order when using tab at all. Right now the data for how many people actually have the tab-enter habit is unknown, maybe Daniel can help us out here.
Nov 2 2015, 10:09 AM · pinentry, Feature Request, gpg4win

Oct 30 2015

aheinecke added a comment to T2139: pinentry option to see the password in cleartext.

Btw. The Windows 10 login screen implements this as a button that you can not
tab to and only shows the password for as long as you keep clicking it.
It also disables / hides the show password button once the password entry field
loses input focus.

They use a heavily abstracted eye icon and no tooltip. Probably with the
rationale that if a user clicks there and it shows the password
(unintentionally) he can quickly release the mouse button again before someone
can read the password.

Oct 30 2015, 1:30 PM · pinentry, Feature Request, gpg4win

Oct 29 2015

dkg added a comment to T2139: pinentry option to see the password in cleartext.

On Thu 2015-10-29 04:34:03 -0400, Bernhard Reiter via BTS wrote:

Oct 29 2015, 6:51 PM · pinentry, Feature Request, gpg4win
bernhard added a comment to T2139: pinentry option to see the password in cleartext.

@dkg: I have been thinking about your use case:

Some people are used to pinentry and
have a common keyboard-based type, tab, hit enter workflow.

I wonder about what fraction of people we are speaking of.
In many applications, just like pinentry, you can just hit "enter" right away
so there is no need to first hit "tab". First hitting "tab" does not make sense
for these kind of dialoges.

Then in some implementation like pinentry-gtk2 0.8.3-2,
this does not work right now, because the next tab is "cancel" which users then
would reach. So it depends on the standard for dialog windows where the
ok and cancel buttons are. Was there any problem report on pinentry-gtk-2?
I am not sure if any pinentry-gtk-2 user actually had this problem?

Oct 29 2015, 4:42 PM · pinentry, Feature Request, gpg4win
bernhard updated subscribers of T2139: pinentry option to see the password in cleartext.
Oct 29 2015, 9:34 AM · pinentry, Feature Request, gpg4win
bernhard added a comment to T2139: pinentry option to see the password in cleartext.

Daniel:
Thanks for your comment and adding the use case. I saw your suggestions
on the list like changing the tab order.

More specifically: Would it be fine with you to implement this without
a warning dialog that requires another click or attention?

Oct 29 2015, 9:34 AM · pinentry, Feature Request, gpg4win

Oct 28 2015

dkg added a comment to T2139: pinentry option to see the password in cleartext.

Some people are used to pinentry and have a common keyboard-based type, tab, hit
enter workflow.

Please make sure that this workflow doesn't accidentally switch their password
to visible when this change is implemented.

Oct 28 2015, 6:57 PM · pinentry, Feature Request, gpg4win
bernhard added a comment to T2139: pinentry option to see the password in cleartext.

My suggestion is also, to seek for an icon that is more self-explanatory.
Actually I would like the "gtk_switch" gui component, though Werner is right
that it takes up a bit more of space.

Oct 28 2015, 5:46 PM · pinentry, Feature Request, gpg4win
bernhard added projects to T2139: pinentry option to see the password in cleartext: gpg4win, Feature Request, pinentry, gnupg (gpg21).
Oct 28 2015, 5:45 PM · pinentry, Feature Request, gpg4win
werner closed T2059: Rate limit password attempts by pinentry., a subtask of T2034: pinentry emacs features need documentation, as Resolved.
Oct 28 2015, 5:28 PM · Bug Report, pinentry

Oct 22 2015

aheinecke updated subscribers of T2133: pinentry qt 4 password corruption.
Oct 22 2015, 11:00 AM · pinentry, Bug Report
aheinecke added a comment to T2133: pinentry qt 4 password corruption.

Uh that's an embarassing error.

Thanks for your analysis and fix. I haven't seen problems with this in my tests
but the UTF8 Byte array is indeed temporary and the pin pointer is invalid after
it's destruction.

I've commited the your fix (with an ammended commit message so it confirms to
the msg style used in pinentry) with f143d21

Werner I've assigned it to you as this needs a release :/ Sorry.

Oct 22 2015, 11:00 AM · pinentry, Bug Report
aheinecke assigned T2133: pinentry qt 4 password corruption to werner.
Oct 22 2015, 11:00 AM · pinentry, Bug Report
aheinecke added a project to T2133: pinentry qt 4 password corruption: Restricted Project.
Oct 22 2015, 11:00 AM · pinentry, Bug Report

Oct 21 2015

dmllr added a comment to T2133: pinentry qt 4 password corruption.

ah, it seems there is a slightly different coding style. adjusted.

Oct 21 2015, 2:44 PM · pinentry, Bug Report
dmllr added a comment to T2133: pinentry qt 4 password corruption.

D335: 698_0001-Keep-a-reference-to-the-pin-when-converting-it-from-.patch

Oct 21 2015, 2:44 PM · pinentry, Bug Report
dmllr added a comment to T2133: pinentry qt 4 password corruption.

Here's the patch

Oct 21 2015, 2:43 PM · pinentry, Bug Report
dmllr added a comment to T2133: pinentry qt 4 password corruption.

D336: 697_0001-Keep-a-reference-to-the-pin-when-converting-it-from-.patch

Oct 21 2015, 2:43 PM · pinentry, Bug Report
dmllr added a project to T2133: pinentry qt 4 password corruption: pinentry.
Oct 21 2015, 2:41 PM · pinentry, Bug Report

Oct 13 2015

aheinecke closed T1758: pinentry Qt4 frontend broken with libc++ as Resolved.
Oct 13 2015, 2:03 PM · Bug Report, pinentry
aheinecke added a comment to T1758: pinentry Qt4 frontend broken with libc++.

An option to explicitly disable qt5 was added as part of T2105

Oct 13 2015, 2:03 PM · Bug Report, pinentry

Oct 11 2015

Ionic reopened T1758: pinentry Qt4 frontend broken with libc++ as "Open".
Oct 11 2015, 10:28 PM · Bug Report, pinentry
Ionic added a comment to T1758: pinentry Qt4 frontend broken with libc++.

Thanks. I can confirm the issue being fixed, although I have only tested with
Qt4 (which this bug report is against, anyway.)

I probably need to get hacking on pinentry again, though, because your latest
changes do not allow explicit selection of Qt4 xor Qt5 and thus lead to
non-reproducible builds...

Oct 11 2015, 10:28 PM · Bug Report, pinentry

Oct 2 2015

kristianf closed T2105: Pinentry: Configure flag to specify Qt4 or Qt5 as Resolved.
Oct 2 2015, 2:10 PM · Bug Report, pinentry
kristianf removed a project from T2105: Pinentry: Configure flag to specify Qt4 or Qt5: Restricted Project.
Oct 2 2015, 2:10 PM · Bug Report, pinentry
kristianf added a comment to T2105: Pinentry: Configure flag to specify Qt4 or Qt5.

looks good to me

Oct 2 2015, 10:44 AM · Bug Report, pinentry
aheinecke added a comment to T2105: Pinentry: Configure flag to specify Qt4 or Qt5.

Right. Hopefully fixed with 48ab8cd

I wonder why this worked for me. If I try to run your testcase it fails with
bash / dash / zsh.

Oct 2 2015, 10:28 AM · Bug Report, pinentry
kristianf added a comment to T2105: Pinentry: Configure flag to specify Qt4 or Qt5.

Thanks, but I'm afraid that's not sufficient; the issue of the whitespace after
have_qt5_libs still exists after that commit for bash.

See the following test case: $ cat ./test.sh
#!/bin/bash
have_qt5_libs="no";
echo ${have_qt5_libs}

have_qt5_libs2 = "no";
echo ${have_qt5_libs2}

$ ./test.sh
no
./test.sh: line 5: have_qt5_libs2: command not found

The good news is that besides this buglet I've now pushed the updated revision
to our testing repository and have yet to get any bug reports. The patch I've
pushed is
https://gitweb.gentoo.org/repo/gentoo.git/tree/app-crypt/pinentry/files/pinentry-0.9.6-add-disable-pinentry-qt5-option.patch#n38
which doesn't experience this issue.

Oct 2 2015, 10:09 AM · Bug Report, pinentry
aheinecke added a comment to T2105: Pinentry: Configure flag to specify Qt4 or Qt5.

I've fixed the variable assignment with rev. e9d063e
Sorry. Worked for me on debian jessie with dash.

Oct 2 2015, 9:52 AM · Bug Report, pinentry

Sep 29 2015

kristianf added a comment to T2105: Pinentry: Configure flag to specify Qt4 or Qt5.

"+ have_qt5_libs = no;" result in command not found issues in configure so I
changed this to "+ have_qt5_libs="no";".

I've done some preliminary packaging tests and things seems to be working as
expected, will give it some more local testing before pushing it onto users in
testing

Sep 29 2015, 9:00 PM · Bug Report, pinentry

Sep 25 2015

kristianf added a comment to T2105: Pinentry: Configure flag to specify Qt4 or Qt5.

Thank you, that is exactly the kind of mechanism I was looking for. I'll give it
a try to packaging over the next few days.

Sep 25 2015, 7:35 PM · Bug Report, pinentry
aheinecke added a project to T2105: Pinentry: Configure flag to specify Qt4 or Qt5: Restricted Project.
Sep 25 2015, 4:05 PM · Bug Report, pinentry
aheinecke added a comment to T2105: Pinentry: Configure flag to specify Qt4 or Qt5.

The rationale behind this was that it should just compile with Qt > 4.4 and take
the newest version available. But yes with Qt packaging in different names
between 4 and 5 etc. I can see that this can be problematic.

With: 08ec9556c8a384ea7bb5d42d3f6aab6c2f6a8786 I've added an option
"disable-pinentry-qt5" to explicitly disable looking for qt5.

Does this solve your problem?

Sep 25 2015, 4:05 PM · Bug Report, pinentry

Sep 22 2015

werner set External Link to https://bugs.gentoo.org/show_bug.cgi?id=560158 on T2076: every input in pinentry-gtk-2 results in core dump.
Sep 22 2015, 3:21 PM · Gentoo, Bug Report, pinentry
neal added a comment to T2076: every input in pinentry-gtk-2 results in core dump.

ciil: Thanks for the update!

Sep 22 2015, 2:56 PM · Gentoo, Bug Report, pinentry

Sep 21 2015

werner added a comment to T1239: pinentry-gtk2 hangs when GNOME a11y is enable.

0.9.6 has meanwhile been released - any news?

Sep 21 2015, 9:02 AM · Bug Report, pinentry
werner removed a project from T1463: pinentry-curses crashes with SIGSEGV if can't find terminfo: Restricted Project.
Sep 21 2015, 9:01 AM · Gentoo, Bug Report, pinentry
werner closed T1463: pinentry-curses crashes with SIGSEGV if can't find terminfo as Resolved.
Sep 21 2015, 9:01 AM · Gentoo, Bug Report, pinentry
werner added a comment to T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim.

0.9.6 has been released - does it work?

Sep 21 2015, 9:01 AM · Bug Report, pinentry

Sep 18 2015

neal updated subscribers of T2105: Pinentry: Configure flag to specify Qt4 or Qt5.
Sep 18 2015, 11:33 PM · Bug Report, pinentry
neal assigned T2105: Pinentry: Configure flag to specify Qt4 or Qt5 to aheinecke.
Sep 18 2015, 11:33 PM · Bug Report, pinentry
kristianf added projects to T2105: Pinentry: Configure flag to specify Qt4 or Qt5: pinentry, Bug Report.
Sep 18 2015, 11:32 PM · Bug Report, pinentry

Sep 17 2015

neal added a project to T2103: Improve the pinentry password quality indication: gnupg.
Sep 17 2015, 1:59 PM · gnupg (gpg23), Feature Request
neal lowered the priority of T2103: Improve the pinentry password quality indication from Unbreak Now! to Low.
Sep 17 2015, 1:59 PM · gnupg (gpg23), Feature Request
neal added a comment to T2103: Improve the pinentry password quality indication.

All of the pinentry's use the same metric, which is very naive. From
agent/call-pinentry.c:

/* Estimate the quality of the passphrase PW and return a value in the

range 0..100.  */

static int
estimate_passphrase_quality (const char *pw)
{

  int goodlength = opt.min_passphrase_len + opt.min_passphrase_len/3;
  int length;
  const char *s;

  if (goodlength < 1)
    return 0;

  for (length = 0, s = pw; *s; s++)
    if (!spacep (s))
      length ++;

  if (length > goodlength)
    return 100;
  return ((length*10) / goodlength)*10;

}

Sep 17 2015, 1:58 PM · gnupg (gpg23), Feature Request

Sep 15 2015

ciil added a comment to T2076: every input in pinentry-gtk-2 results in core dump.

Sorry for not having provided more information earlier. The bug seemed to only appear
on my work machine (and I've been to busy at work the last few weeks to provide more
information), but now I can reliably reproduce it on my home machine, too, funnily
enough after a clean re-install of Arch Linux.

It certainly seems to be the same bug as the Gentoo bug #560158 you linked. I cannot
reproduce the behavior in either gdb or valgrind, but without those the command fails
every time.

I've since downloaded and manually built 0.9.5 and 0.9.6. I could reproduce it in the
standalone 0.9.5 build (again, neither valgrind nor gdb could be coerced into also
showing the behavior. The issue seems to be fixed in 0.9.6, though! Arch doesn't yet
provide the new version as an official package. I'll tell you if the issue's also fixed
when that package comes out.

Still have no idea what caused it though.

Sep 15 2015, 8:09 PM · Gentoo, Bug Report, pinentry
skeuomorf added projects to T2103: Improve the pinentry password quality indication: pinentry, Bug Report.
Sep 15 2015, 6:22 PM · gnupg (gpg23), Feature Request
neal added a comment to T2076: every input in pinentry-gtk-2 results in core dump.

Kristian Fiskerstrand pointed out that there is more information about this bug
at: https://bugs.gentoo.org/show_bug.cgi?id=560158

Sep 15 2015, 11:58 AM · Gentoo, Bug Report, pinentry

Sep 9 2015

werner closed T2057: Add a command line option to pinentry that disables emacs support, a subtask of T2034: pinentry emacs features need documentation, as Resolved.
Sep 9 2015, 4:29 PM · Bug Report, pinentry
werner closed T2057: Add a command line option to pinentry that disables emacs support as Resolved.
Sep 9 2015, 4:29 PM · Bug Report, pinentry
micah added projects to T2093: agent confirm default: Feature Request, pinentry.
Sep 9 2015, 4:17 PM · pinentry, Feature Request

Aug 31 2015

neal removed a project from T1806: Pinentry-qt should have support for Qt5: Restricted Project.
Aug 31 2015, 12:36 AM · pinentry, Feature Request
neal closed T1806: Pinentry-qt should have support for Qt5 as Resolved.
Aug 31 2015, 12:36 AM · pinentry, Feature Request

Aug 28 2015

aheinecke closed T1758: pinentry Qt4 frontend broken with libc++ as Resolved.
Aug 28 2015, 11:02 PM · Bug Report, pinentry
aheinecke added a comment to T1758: pinentry Qt4 frontend broken with libc++.

I am pretty sure this should be fixed with the current master version of pinentry.

This version does no longer use the std::string stuff as it uses the usual qt
widgets.

Feel free to reopen this bug but I am so sure about it that I'll mark it as
resolved now :-)

Aug 28 2015, 11:02 PM · Bug Report, pinentry

Aug 27 2015

fleblanc closed T2065: Error when generating keys in a headless environement as Resolved.
Aug 27 2015, 6:10 PM · Bug Report, Arch, pinentry, gnupg (gpg21)
fleblanc added a comment to T2065: Error when generating keys in a headless environement.

Hi Neal, you are right about the entropy. I tought it was gpg but I think it's
because my system is too minimal to produce enough entropy. I finally decided to
generate my keys in another machine and transfer them to my minimal
installation. Now it works perfectly, with pinentry 0.9.5.

Thanks for your help,

Regards,

Felix

Aug 27 2015, 6:09 PM · Bug Report, Arch, pinentry, gnupg (gpg21)

Aug 24 2015

werner claimed T2049: conflicting pkg-config detection and initialization.
Aug 24 2015, 4:38 PM · Gentoo, Bug Report, pinentry
werner updated subscribers of T2049: conflicting pkg-config detection and initialization.
Aug 24 2015, 4:38 PM · Gentoo, Bug Report, pinentry
neal closed T2034: pinentry emacs features need documentation as Resolved.
Aug 24 2015, 4:35 PM · Bug Report, pinentry
neal added a comment to T2065: Error when generating keys in a headless environement.

I can't reproduce this. I'm using pinentry 0.9.5 and GnuPG from git. When I
generate a key, it talks nearly 3 minutes for GnuPG to gather the required
amount of entropy, but it eventually returns. Attaching to gpg-agent using gdb,
it appears that gpg-agent is "suck" in the generate key function:

  #9  0x00007f13a08da9ce in ?? () from /lib/x86_64-linux-gnu/libgcrypt.so.20
  (gdb) 
  #10 0x00007f13a08ca2db in gcry_pk_genkey ()
     from /lib/x86_64-linux-gnu/libgcrypt.so.20
  (gdb) 
  #11 0x000000000041f51f in agent_genkey (ctrl=0x1b69e80, cache_nonce=0x0, 
      keyparam=0x7f1398001e70 "(genkey(rsa(nbits 4:1024)))", keyparamlen=27, 
      no_protection=0, override_passphrase=0x0, preset=0, outbuf=0x7f139fccfdb0)
      at ../../../gnupg/agent/genkey.c:479
  479	  rc = gcry_pk_genkey (&s_key, s_keyparam );

So, I seriously doubt that this is a problem with pinentry. And also I doubt
that it is a problem with GnuPG. Most likely, you need to wait for the system
to generate more entropy.

If you think gpg or gpg-agent is really hung, it would be nice if you could use
gdb to attach and then get a backtrace and post that here.

Thanks!

Neal

Aug 24 2015, 1:16 PM · Bug Report, Arch, pinentry, gnupg (gpg21)
neal added a project to T2076: every input in pinentry-gtk-2 results in core dump: Info Needed.
Aug 24 2015, 11:01 AM · Gentoo, Bug Report, pinentry
neal added a comment to T2076: every input in pinentry-gtk-2 results in core dump.

Thanks for the report. I'm having trouble reproducing this. I run pinentry
(from the build directory) as follows:

  $ valgrind gtk+-2/pinentry-gtk-2
  ==3611== Memcheck, a memory error detector
  ==3611== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  ==3611== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
  ==3611== Command: gtk+-2/pinentry-gtk-2
  ==3611== 
  OK Pleased to meet you
  getpin
  D 012345678901234567890
  OK

I enter a 21 character password and pinentry doesn't crash and valgrind doesn't
report any error. I tried with both 0.9.5 and the latest version from git.

Are you able to reproduce the problem using the above method? Can you provide
an example of how to cause the crash using only pinentry?

Thanks.

Aug 24 2015, 11:01 AM · Gentoo, Bug Report, pinentry

Aug 21 2015

ciil added a comment to T2076: every input in pinentry-gtk-2 results in core dump.

Aug 21 2015, 12:08 PM · Gentoo, Bug Report, pinentry
ciil added projects to T2076: every input in pinentry-gtk-2 results in core dump: pinentry, Bug Report, Gentoo.
Aug 21 2015, 12:07 PM · Gentoo, Bug Report, pinentry

Aug 13 2015

fleblanc added a comment to T2065: Error when generating keys in a headless environement.

Here is the content of my gpg-agent.conf:
debug-pinentry
log-file /home/fxleblanc/gpg-errors.txt
pinentry-program /usr/bin/pinentry-curses

Here is the content of my log file:
gpg: reading options from '/home/fxleblanc/.gnupg/gpg.conf'
gpg (GnuPG) 2.1.6; Copyright (C) 2015 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat
trust hashing cardio ipc clock lookup extprog

gpg: signal Interrupt caught ... exiting

I interrupted the program because it wasn't doing anything after I entered my
passphrase.

Aug 13 2015, 11:30 PM · Bug Report, Arch, pinentry, gnupg (gpg21)
werner reassigned T1961: pinentry-qt4 needs -std=c++11 to compile with gcc-5.1 from werner to aheinecke.
Aug 13 2015, 6:23 PM · Bug Report, pinentry
werner updated subscribers of T2065: Error when generating keys in a headless environement.
Aug 13 2015, 6:14 PM · Bug Report, Arch, pinentry, gnupg (gpg21)