From 28254a24ca160c4e0d18305227c31b1821f2617e Mon Sep 17 00:00:00 2001 From: Christian Poessinger <christian@poessinger.com> Date: Sun, 9 Feb 2020 13:28:23 +0100 Subject: user: T2020: bugfix on wrong regex preventing ssh-ed25519 public keys --- interface-definitions/system-login-user.xml.in | 3 +-- 1 file changed, 1 insertion(+), 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> -- cgit v1.2.3