diff options
Diffstat (limited to 'templates/generate/vpn/rsa-key')
4 files changed, 3 insertions, 7 deletions
diff --git a/templates/generate/vpn/rsa-key/bits/node.tag/node.def.in b/templates/generate/vpn/rsa-key/bits/node.tag/node.def.in index 2eae9cc..198ec58 100644 --- a/templates/generate/vpn/rsa-key/bits/node.tag/node.def.in +++ b/templates/generate/vpn/rsa-key/bits/node.tag/node.def.in @@ -1,3 +1,3 @@ help: Generate local RSA key with specified number of bits -run: sudo @SUDOUSRDIR@/gen_local_rsa_key.pl "$5" /dev/random +run: sudo @SUDOUSRDIR@/gen_local_rsa_key.pl "$5" allowed: echo -n '<16-4096>' diff --git a/templates/generate/vpn/rsa-key/bits/node.tag/random/node.def b/templates/generate/vpn/rsa-key/bits/node.tag/random/node.def deleted file mode 100644 index 42118b5..0000000 --- a/templates/generate/vpn/rsa-key/bits/node.tag/random/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Generate local RSA key with specified number of bits and random device diff --git a/templates/generate/vpn/rsa-key/bits/node.tag/random/node.tag/node.def.in b/templates/generate/vpn/rsa-key/bits/node.tag/random/node.tag/node.def.in deleted file mode 100644 index 81a9633..0000000 --- a/templates/generate/vpn/rsa-key/bits/node.tag/random/node.tag/node.def.in +++ /dev/null @@ -1,3 +0,0 @@ -help: Generate local RSA key with specified number of bits and random device -run: sudo @SUDOUSRDIR@/gen_local_rsa_key.pl "$5" "$7" -allowed: echo -n '/dev/random /dev/urandom' diff --git a/templates/generate/vpn/rsa-key/node.def.in b/templates/generate/vpn/rsa-key/node.def.in index 482f32c..eab5a4f 100644 --- a/templates/generate/vpn/rsa-key/node.def.in +++ b/templates/generate/vpn/rsa-key/node.def.in @@ -1,2 +1,2 @@ -help: Generate local RSA key (default: bits=2192 device=/dev/random) -run: sudo @SUDOUSRDIR@/gen_local_rsa_key.pl 2192 /dev/random +help: Generate local RSA key (default: bits=2192) +run: sudo @SUDOUSRDIR@/gen_local_rsa_key.pl 2192 |