diff options
| author | Werner Koch <[email protected]> | 2020-11-06 14:43:08 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2020-11-06 14:43:08 +0000 |
| commit | c896112fa3f7f3289b5198bfac992160feb0ad0a (patch) | |
| tree | 7d50500198176f50bf47b259a800c663a415c335 /g10/misc.c | |
| parent | agent: Add genpin inquiry for pinentry (diff) | |
| download | gnupg-c896112fa3f7f3289b5198bfac992160feb0ad0a.tar.gz gnupg-c896112fa3f7f3289b5198bfac992160feb0ad0a.zip | |
agent: Minor tweaks to the new genpin inquiry.
* agent/call-pinentry.c (generate_pin): Use STRING random which is
sufficient for a passphrase.
(inq_cb): s/rc/err/. Do not print two errors in case generate_pin
fails. Lowercase strings as per GNU standards.
(setup_genpin): Fix translation test.
(setup_qualitybar): Ditto.
--
Our policy is to use VERY_STRONG for a long term public key but not
for symmetric keys.
The GNU standards to demand that strings start with a lowercase
because that seems to be needed if it follows a prefix of for example
"gpg:". I don't actually like this becuase we need different strings
in interactive and standard mode but the majory of strings in GnuPGare
written this way. If a translation is necessary it can be done with
an en_GB or so locale.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/misc.c')
0 files changed, 0 insertions, 0 deletions
