diff options
author | Werner Koch <wk@gnupg.org> | 2022-06-27 18:02:03 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2022-06-27 18:06:40 +0200 |
commit | ae2f1f0785e429d6dbb577a1fcf9a880aaff8e49 (patch) | |
tree | be877253450635c7b211fa1c5fcccaa19044f8a0 /doc | |
parent | agent: Flush before calling ftruncate. (diff) | |
download | gnupg2-ae2f1f0785e429d6dbb577a1fcf9a880aaff8e49.tar.xz gnupg2-ae2f1f0785e429d6dbb577a1fcf9a880aaff8e49.zip |
agent: Do not consider --min-passphrase-len for the magic wand.
* agent/call-pinentry.c (generate_pin): Lock to exactly 30 octets.
* g10/gpg.c (main) <aGenRandom>: Add Level 30.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpg.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index f6c445658..08de40b0a 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -610,13 +610,14 @@ Print message digest of algorithm @var{algo} for all given files or STDIN. With the second form (or a deprecated "*" for @var{algo}) digests for all available algorithms are printed. -@item --gen-random @var{0|1|2} @var{count} +@item --gen-random @var{0|1|2|16|30} @var{count} @opindex gen-random Emit @var{count} random bytes of the given quality level 0, 1 or 2. If @var{count} is not given or zero, an endless sequence of random bytes will be emitted. If used with @option{--armor} the output will be -base64 encoded. PLEASE, don't use this command unless you know what -you are doing; it may remove precious entropy from the system! +base64 encoded. The special level 16 uses a quality level of 1 and +outpust end endless stream of hex-encoded octets. The special level +30 outputs random as 30 zBase-32 characters. @item --gen-prime @var{mode} @var{bits} @opindex gen-prime |