summaryrefslogtreecommitdiff
path: root/templates/generate/vpn/rsa-key
diff options
context:
space:
mode:
authorKim Hagen <user.name>2017-02-08 19:51:42 +0100
committerKim Hagen <user.name>2017-02-08 19:51:42 +0100
commit9608b691012160836fd0fdcc1c8f9357d89c4de1 (patch)
treeca2b0be8720400af2e9349c35c4d81af64c96991 /templates/generate/vpn/rsa-key
parent33e24e989996ec809e1be696866258ce987cc527 (diff)
downloadvyatta-op-vpn-9608b691012160836fd0fdcc1c8f9357d89c4de1.tar.gz
vyatta-op-vpn-9608b691012160836fd0fdcc1c8f9357d89c4de1.zip
change ipsec newhostkey command with openssl command
Diffstat (limited to 'templates/generate/vpn/rsa-key')
-rw-r--r--templates/generate/vpn/rsa-key/bits/node.tag/node.def.in2
-rw-r--r--templates/generate/vpn/rsa-key/bits/node.tag/random/node.def1
-rw-r--r--templates/generate/vpn/rsa-key/bits/node.tag/random/node.tag/node.def.in3
-rw-r--r--templates/generate/vpn/rsa-key/node.def.in4
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