aboutsummaryrefslogtreecommitdiff
path: root/lib/puppet
diff options
context:
space:
mode:
authorTim Meusel <tim@bastelfreak.de>2020-08-06 21:31:27 +0200
committerTim Meusel <tim@bastelfreak.de>2020-09-06 17:27:48 +0200
commiteef4923bebf6ea2c2dc9e37526b95782cb63089c (patch)
tree6f05ecae25bbd38a72388260272e068cd89c69a2 /lib/puppet
parent1743b72e06d33e85b8eec11582f4b13fb59bfa3c (diff)
downloadpuppet-sshkeys_core-eef4923bebf6ea2c2dc9e37526b95782cb63089c.tar.gz
puppet-sshkeys_core-eef4923bebf6ea2c2dc9e37526b95782cb63089c.tar.bz2
(MODULES-10765) Implement ecdsa-sha2-nistp256-cert-v01@openssh.com support
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/type/ssh_authorized_key.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/type/ssh_authorized_key.rb b/lib/puppet/type/ssh_authorized_key.rb
index 4a4fb24..ce8fd92 100644
--- a/lib/puppet/type/ssh_authorized_key.rb
+++ b/lib/puppet/type/ssh_authorized_key.rb
@@ -64,7 +64,7 @@ module Puppet
newvalues :'ssh-dss', :'ssh-rsa', :'ecdsa-sha2-nistp256', :'ecdsa-sha2-nistp384', :'ecdsa-sha2-nistp521', :'ssh-ed25519',
:'sk-ecdsa-sha2-nistp256@openssh.com', :'sk-ssh-ed25519@openssh.com', :'ssh-rsa-cert-v01@openssh.com',
- :'ssh-ed25519-cert-v01@openssh.com', :'ssh-dss-cert-v01@openssh.com'
+ :'ssh-ed25519-cert-v01@openssh.com', :'ssh-dss-cert-v01@openssh.com', :'ecdsa-sha2-nistp256-cert-v01@openssh.com'
aliasvalue(:dsa, :'ssh-dss')
aliasvalue(:ed25519, :'ssh-ed25519')
@@ -167,7 +167,7 @@ module Puppet
ecdsa-sha2-nistp384|ecdsa-sha2-nistp521|ecdsa-sk|ed25519-sk|
sk-ecdsa-sha2-nistp256@openssh.com|sk-ssh-ed25519@openssh.com|
ssh-rsa-cert-v01@openssh.com|ssh-ed25519-cert-v01@openssh.com|
- ssh-dss-cert-v01@openssh.com)\s+([^ ]+)\s*(.*)$}x
+ ssh-dss-cert-v01@openssh.com|ecdsa-sha2-nistp256-cert-v01@openssh.com)\s+([^ ]+)\s*(.*)$}x
def self.keyline_regex
REGEX
end