FAQ | This is a LIVE service | Changelog

Commit 3a15f927 authored by Tony Finch's avatar Tony Finch

test: use --debug-quick-random to generate keys with gpg 2.0+

The /dev/random on this RHEL test VM refuses to provide any data.
parent a919ba4b
...@@ -11,7 +11,9 @@ use T; ...@@ -11,7 +11,9 @@ use T;
################################################################ ################################################################
my @genkey = qw(gpg --gen-key --batch --quiet); my @genkey = qw(gpg --gen-key --batch --quiet);
push @genkey, '--quick-random' if $gpgvers lt "2.0"; push @genkey, ($gpgvers lt "2.0")
? '--quick-random'
: '--debug-quick-random';
for my $key (qw(one two)) { for my $key (qw(one two)) {
works "generated key $key", <<"GENKEY" => @genkey; works "generated key $key", <<"GENKEY" => @genkey;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment