summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-09 13:28:23 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-09 13:28:23 +0100
commit28254a24ca160c4e0d18305227c31b1821f2617e (patch)
tree5146365968ae2858592fdbc85246ee56297dec23 /interface-definitions
parent79a30983dd73c22212c74c9eb69cac91407690df (diff)
downloadvyos-1x-28254a24ca160c4e0d18305227c31b1821f2617e.tar.gz
vyos-1x-28254a24ca160c4e0d18305227c31b1821f2617e.zip
user: T2020: bugfix on wrong regex preventing ssh-ed25519 public keys
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-login-user.xml.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/interface-definitions/system-login-user.xml.in b/interface-definitions/system-login-user.xml.in
index 970bcf799..55fa69d8b 100644
--- a/interface-definitions/system-login-user.xml.in
+++ b/interface-definitions/system-login-user.xml.in
@@ -33,7 +33,6 @@
<regex>\$6\$[a-zA-Z0-9\./]*\$[a-zA-Z0-9\./]{86}</regex>
</constraint>
<constraintErrorMessage>Invalid encrypted password for $VAR(../../@).</constraintErrorMessage>
-
</properties>
</leafNode>
<leafNode name="plaintext-password">
@@ -90,7 +89,7 @@
<description/>
</valueHelp>
<constraint>
- <regex>(ssh-dss|ssh-rsa|ecdsa-sha2-nistp256|ecdsa-sha2-nistp384|ecdsa-sha2-nistp521|ssh-ed25519s)</regex>
+ <regex>(ssh-dss|ssh-rsa|ecdsa-sha2-nistp256|ecdsa-sha2-nistp384|ecdsa-sha2-nistp521|ssh-ed25519)</regex>
</constraint>
</properties>
</leafNode>