[PATCH] Added user defined pinentry prompts for SCD.

Ben Kibbey bjk at luxsci.net
Thu Jan 12 00:25:31 CET 2012


On Wed, Jan 11, 2012 at 01:07:29PM +0100, Werner Koch wrote:
> On Wed, 11 Jan 2012 04:19, bjk at luxsci.net said:
> > This adds scdaemon "OPTION pin-prompt" and "OPTION pin-admin-prompt"
> > along with special escapes to replace in the prompt string to inform the
> > user of a signature count and admin PIN attempts remaining.
> 
> Would you mind to describe a use case for this feature?

To inform the user where the pinentry came from or what the pinentry is
for. For example, my server program has clients the connect to it and
these clients can set a client name that the server can use to keep
track of in log files. Using this new option, the server program can set
the pinentry prompt to inform the user of what client needs the
pinentry rather than only prompting for a PIN.

I noticed a discussion in the ML of setting the pinentry title but this
patch modifies the pinentry description strings. A title patch would be
good to have, too.

I posted the patch here so folks can review it and maybe suggest a
better way of going about it. It does need other application support
(only app-openpgp has been modified to make use of it). Maybe it would
be better to make a pin-prompt branch?

Have a good one,

-- 
Ben Kibbey
[XMPP: bjk AT jabber DOT org] - [IRC: (bjk) FreeNode/OFTC]



More information about the Gnupg-devel mailing list