From a020c3ac4bb4bb22d909261d370811d35e9799b8 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 19 Jan 2015 12:39:19 +0100 Subject: Bug #348: remove unnecessary restrictions on the PSK format. --- .../node.tag/authentication/pre-shared-secret/node.def | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def index b1cc826..da82f16 100644 --- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def @@ -1,22 +1,7 @@ help: Pre-shared secret key type: txt -syntax:expression: pattern $VAR(@) "^[-\+\&\!\@\#\$\%\^\*\(\)\,\.\:_a-zA-Z0-9]+$" ; "invalid pre-shared secret key \"$VAR(@)\" - -Only these characters are allowed to be used for setting pre-shared secret key : - alphanumeric characters a-z A-Z 0-9 - special characters - + & ! @ # $ % ^ * ( ) , . : _ - -Use of single quotes to set pre-shared secret key is recommended. If you are -using special characters in the pre-shared scret key then single quotes are -required. -Example usage : 'aA1-&!@,.:_2Bb' -" comp_help: -These characters are allowed to be used for setting pre-shared secret key : - alphanumeric characters a-z A-Z 0-9 - special characters - + & ! @ # $ %% ^ * ( ) , . : _ - Use of single quotes to set pre-shared secret key is recommended. If you are using special characters in the pre-shared scret key then single quotes are required. -- cgit v1.2.3