aboutsummaryrefslogtreecommitdiffstats
path: root/agent/genkey.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-07-08 12:54:10 +0000
committerWerner Koch <[email protected]>2020-07-08 12:54:10 +0000
commit999d25d47d45a0f594c84d51c041da0b24d68c5d (patch)
tree45aaf29bc026dc728e2ae79e26e09c53bae04ffd /agent/genkey.c
parentgpgsm: Replace all assert calls by log_assert. (diff)
downloadgnupg-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 'agent/genkey.c')
-rw-r--r--agent/genkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/genkey.c b/agent/genkey.c
index 6f863db95..970876ba1 100644
--- a/agent/genkey.c
+++ b/agent/genkey.c
@@ -368,7 +368,7 @@ agent_ask_new_passphrase (ctrl_t ctrl, const char *prompt,
}
pi->max_length = MAX_PASSPHRASE_LEN + 1;
pi->max_tries = 3;
- pi->with_qualitybar = 1;
+ pi->with_qualitybar = 0;
pi->with_repeat = 1;
pi2->max_length = MAX_PASSPHRASE_LEN + 1;
pi2->max_tries = 3;