pinentry timeout patch

Ben Kibbey bjk at luxsci.net
Sat Oct 20 20:28:57 CEST 2007


On Mon, Oct 15, 2007 at 04:48:17PM +0200, Werner Koch wrote:
> On Sun, 14 Oct 2007 00:53, bjk at luxsci.net said:
> > Attached is a patch for pinentry (ncurses and gtk2, gtk1 and QT still
> > need to be done) that adds a command line option --timeout and protocol
> > option SETTIMEOUT. pinentry will return ASSUAN_Timeout if there was no
> > user input after the set amount of seconds. 
> 
> Thanks.  
> 
> I have some doubts that it is okay to use gtk_main_quit from a signal
> handler.  Did you checked this okay? 

Seems to work fine except when a button was clicked and the text entry
was empty. Attached is a patch to fix it.

-- 
Benjamin J. Kibbey bjk at luxsci.net/jabber/freenode
3019 F5FC AA33 5BC7 BE9F 09D2 393E DBD2 40D5 FA7E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pinentry-0.7.3+timeout-2.diff
Type: text/x-diff
Size: 7388 bytes
Desc: not available
Url : /pipermail/attachments/20071020/af0aa86c/attachment.bin 


More information about the Gnupg-devel mailing list