1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Inform a user about inquire length limit.

* common/status.h (INQUIRE_MAXLEN): New.
* g10/call-agent.c (default_inquire_cb): Send STATUS_INQUIRE_MAXLEN.
client when inquiring a passphrase over pinentry-loopback.

--
This is to inform a user about the maximum length of a passphrase. The
limit is the same that gpg-agent uses.
This commit is contained in:
Ben Kibbey 2015-04-16 21:00:30 -04:00
parent 233b5fedab
commit f126ca6156
2 changed files with 7 additions and 1 deletions

View file

@ -125,7 +125,9 @@ enum
STATUS_PINENTRY_LAUNCHED,
STATUS_ERROR,
STATUS_SUCCESS
STATUS_SUCCESS,
STATUS_INQUIRE_MAXLEN,
};