[PATCH pinentry 0/4] Disallow echo disabling when prompting for a PIN.

Werner Koch wk at gnupg.org
Wed Aug 22 10:29:48 CEST 2018


On Tue, 21 Aug 2018 21:31, gnupg-devel at gnupg.org said:

> (I assume you meant "always displayed" or similar here.)

Sure.

> For the curses pinentry, "[no echo]" is always displayed when
> echoing is disabled.

I noticed that.

> It's implemented with the patch below, which uses the presence of
> "PIN" in the prompt text to distinguish between a PIN prompt and a
> passphrase prompt (same logic already used in gpg-agent).

It ist not ideal but the best solution we have right now.  It would be
better if gpg-agent could tell pinentry who is the requestor (gpg-agent
or scdaemon); this requires quite some re-structuring in gpg-agent.  So
this would be something for the future.


Salam-Shalom,

   Werner


-- 
#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20180822/4d69af55/attachment.sig>


More information about the Gnupg-devel mailing list