[pkg-gnupg-maint] Bug#787690: Bug#787690: pinentry-gtk2: always fails with "No passphrase given"

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jun 5 00:38:27 UTC 2015


On Thu 2015-06-04 20:27:41 -0400, brian m. carlson wrote:
> On Thu, Jun 04, 2015 at 07:59:22PM -0400, Daniel Kahn Gillmor wrote:
>> Yikes, i can confirm this.  Thanks for the report.
>> 
>> Interestingly, if i paste a string of 34 characters into pinentry-gtk-2,
>> it works fine.  It's only if i type them one at a time that the failure
>> happens.
>> 
>> Temporary workaround while i sort this out with upstream:
>> 
>>   * you can try installing pinentry-gnome3, which will use the gcr
>>     message prompting, or pinentry-qt4 if you prefer the qt toolkits.
>
> I've found another temporary workaround, which is to #define MIN_SIZE to
> 32 in gtksecentry.c.  I think what's happening is that the code to
> increase the buffer size is failing somewhere.  I thought I'd mention
> that it solves the problem for me in case it's helpful for
> troubleshooting.  It should work for 0 < len(passphrase) < 64.

What's particularly weird is that this file doesn't seem to have changed
since 0.9.2, and i can't seem to reproduce the problem with
pinentry-gtk-2.  What was the last version of pinentry-gtk-2 that you
used that didn't have this problem?

     --dkg



More information about the pkg-gnupg-maint mailing list