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

brian m. carlson sandals at crustytoothpaste.net
Fri Jun 5 00:27:41 UTC 2015


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.
-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20150605/5a9e2a5f/attachment.sig>


More information about the pkg-gnupg-maint mailing list