diff options
| author | Werner Koch <[email protected]> | 2020-07-08 12:54:10 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2020-07-08 12:54:10 +0000 |
| commit | 999d25d47d45a0f594c84d51c041da0b24d68c5d (patch) | |
| tree | 45aaf29bc026dc728e2ae79e26e09c53bae04ffd /sm/call-agent.c | |
| parent | gpgsm: Replace all assert calls by log_assert. (diff) | |
| download | gnupg-999d25d47d45a0f594c84d51c041da0b24d68c5d.tar.gz gnupg-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 <[email protected]>
Diffstat (limited to 'sm/call-agent.c')
| -rw-r--r-- | sm/call-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/call-agent.c b/sm/call-agent.c index 9287091bc..5f0e8ed61 100644 --- a/sm/call-agent.c +++ b/sm/call-agent.c @@ -1322,7 +1322,7 @@ gpgsm_agent_ask_passphrase (ctrl_t ctrl, const char *desc_msg, int repeat, return gpg_error_from_syserror (); snprintf (line, DIM(line), "GET_PASSPHRASE --data%s -- X X X %s", - repeat? " --repeat=1 --check --qualitybar":"", + repeat? " --repeat=1 --check":"", arg4); xfree (arg4); |
