mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
tests: Speed up the genkey1024.test by using not so strong random.
* agent/gpg-agent.c (oDebugQuickRandom): New. (opts): New option --debug-quick-random. (main): Use new option. * common/asshelp.c (start_new_gpg_agent): Add hack to pass an additional argument for the agent name. * tests/openpgp/defs.inc: Pass --debug-quick-random to the gpg-agent starting parameters. * tests/openpgp/version.test: Ditto. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
982a6e6e55
commit
9546aa3cc8
8 changed files with 72 additions and 17 deletions
|
@ -293,6 +293,14 @@ When running in server mode, wait @var{n} seconds before entering the
|
|||
actual processing loop and print the pid. This gives time to attach a
|
||||
debugger.
|
||||
|
||||
@item --debug-quick-random
|
||||
@opindex debug-quick-random
|
||||
This option inhibits the use the very secure random quality level
|
||||
(Libgcrypt’s @code{GCRY_VERY_STRONG_RANDOM}) and degrades all request
|
||||
down to standard random quality. It is only used for testing and
|
||||
shall not be used for any production quality keys. This option is
|
||||
only effective when given on the command line.
|
||||
|
||||
@item --no-detach
|
||||
@opindex no-detach
|
||||
Don't detach the process from the console. This is mainly useful for
|
||||
|
|
|
@ -1710,7 +1710,10 @@ This is dummy option. It has no effect when used with @command{gpg2}.
|
|||
@item --agent-program @var{file}
|
||||
@opindex agent-program
|
||||
Specify an agent program to be used for secret key operations. The
|
||||
default value is the @file{/usr/bin/gpg-agent}.
|
||||
default value is determined by running @command{gpgconf} with the
|
||||
option @option{--list-dirs}. Note that the pipe symbol (@code{|}) is
|
||||
used for a regression test suite hack and may thus not be used in the
|
||||
file name.
|
||||
@ifclear gpgtwoone
|
||||
This is only used
|
||||
as a fallback when the environment variable @code{GPG_AGENT_INFO} is not
|
||||
|
|
|
@ -358,7 +358,9 @@ Change the default name of the policy file to @var{filename}.
|
|||
@item --agent-program @var{file}
|
||||
@opindex agent-program
|
||||
Specify an agent program to be used for secret key operations. The
|
||||
default value is the @file{/usr/local/bin/gpg-agent}.
|
||||
default value is determined by running the command @command{gpgconf}.
|
||||
Note that the pipe symbol (@code{|}) is used for a regression test
|
||||
suite hack and may thus not be used in the file name.
|
||||
@ifclear gpgtwoone
|
||||
This is only used
|
||||
as a fallback when the environment variable @code{GPG_AGENT_INFO} is not
|
||||
|
|
|
@ -1199,7 +1199,11 @@ Try to be as quiet as possible.
|
|||
|
||||
@item --agent-program @var{file}
|
||||
@opindex agent-program
|
||||
Specify the agent program to be started if none is running.
|
||||
Specify the agent program to be started if none is running. The
|
||||
default value is determined by running @command{gpgconf} with the
|
||||
option @option{--list-dirs}. Note that the pipe symbol (@code{|}) is
|
||||
used for a regression test suite hack and may thus not be used in the
|
||||
file name.
|
||||
|
||||
@ifset gpgtwoone
|
||||
@item --dirmngr-program @var{file}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue