diff options
author | Werner Koch <wk@gnupg.org> | 2020-07-08 14:54:10 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-07-08 14:54:10 +0200 |
commit | 999d25d47d45a0f594c84d51c041da0b24d68c5d (patch) | |
tree | 45aaf29bc026dc728e2ae79e26e09c53bae04ffd /g10/call-agent.c | |
parent | gpgsm: Replace all assert calls by log_assert. (diff) | |
download | gnupg2-999d25d47d45a0f594c84d51c041da0b24d68c5d.tar.xz gnupg2-999d25d47d45a0f594c84d51c041da0b24d68c5d.zip |
Do not use the pinentry's qualitybar
* agent/genkey.c (agent_ask_new_passphrase): No qualitybar.
* g10/call-agent.c (agent_get_passphrase): Ditto.
* sm/call-agent.c (gpgsm_agent_ask_passphrase): Ditto.
--
The concept of a passphrase quality indicator is anyway questionable
because user are smart enough to trick them out and they also tend to
limit the actually used entropy.
Except for the red/green switching (to show whether constraints are
fulfilled) our qualitybar is pretty bad and thus worse than none.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10/call-agent.c')
-rw-r--r-- | g10/call-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c index 858d81375..86040edc7 100644 --- a/g10/call-agent.c +++ b/g10/call-agent.c @@ -1940,7 +1940,7 @@ agent_get_passphrase (const char *cache_id, snprintf (line, DIM(line), "GET_PASSPHRASE --data --repeat=%d%s%s -- %s %s %s %s", repeat, - ((repeat && check) || newsymkey)? " --check --qualitybar":"", + ((repeat && check) || newsymkey)? " --check":"", (have_newsymkey && newsymkey)? " --newsymkey":"", arg1? arg1:"X", arg2? arg2:"X", |