diff options
author | Ben Kibbey <[email protected]> | 2015-04-17 01:00:30 +0000 |
---|---|---|
committer | Ben Kibbey <[email protected]> | 2015-04-17 01:00:30 +0000 |
commit | 062eadfa35739e6266118953c6e70ef343eebd73 (patch) | |
tree | 0d364efde74e9c0ced31b95f7694e0d98de72ab6 /common/status.h | |
parent | Allow --gen-key to inquire a passphrase. (diff) | |
download | gnupg-bjk/passphrase-inquire.tar.gz gnupg-bjk/passphrase-inquire.zip |
Inform a user about inquire length limit.bjk/passphrase-inquire
* 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.
Diffstat (limited to 'common/status.h')
-rw-r--r-- | common/status.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/status.h b/common/status.h index 9219bf4d9..3c78eda08 100644 --- a/common/status.h +++ b/common/status.h @@ -125,7 +125,9 @@ enum STATUS_PINENTRY_LAUNCHED, STATUS_ERROR, - STATUS_SUCCESS + STATUS_SUCCESS, + + STATUS_INQUIRE_MAXLEN, }; |