diff options
author | Tim Meusel <tim@bastelfreak.de> | 2020-08-06 20:25:21 +0200 |
---|---|---|
committer | Tim Meusel <tim@bastelfreak.de> | 2020-08-06 20:51:56 +0200 |
commit | 77f63f04b407dce25f2f5533601075c580a9d727 (patch) | |
tree | 40f105061d70c32b3bdbc261fd0aee6a62260393 /lib/puppet | |
parent | 53e65867c7974910189e62476e08258689333e47 (diff) | |
download | puppet-sshkeys_core-77f63f04b407dce25f2f5533601075c580a9d727.tar.gz puppet-sshkeys_core-77f63f04b407dce25f2f5533601075c580a9d727.tar.bz2 |
(MODULES-10765) Implement ssh-rsa-cert-v01@openssh.com support
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/type/ssh_authorized_key.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/puppet/type/ssh_authorized_key.rb b/lib/puppet/type/ssh_authorized_key.rb index 953b1a6..2cc7a33 100644 --- a/lib/puppet/type/ssh_authorized_key.rb +++ b/lib/puppet/type/ssh_authorized_key.rb @@ -63,7 +63,7 @@ module Puppet desc 'The encryption type used.' 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' + :'sk-ecdsa-sha2-nistp256@openssh.com', :'sk-ssh-ed25519@openssh.com', :'ssh-rsa-cert-v01@openssh.com' aliasvalue(:dsa, :'ssh-dss') aliasvalue(:ed25519, :'ssh-ed25519') @@ -164,7 +164,8 @@ module Puppet # regular expression suitable for use by a ParsedFile based provider REGEX = %r{^(?:(.+)\s+)?(ssh-dss|ssh-ed25519|ssh-rsa|ecdsa-sha2-nistp256| ecdsa-sha2-nistp384|ecdsa-sha2-nistp521|ecdsa-sk|ed25519-sk| - sk-ecdsa-sha2-nistp256@openssh.com|sk-ssh-ed25519@openssh.com)\s+([^ ]+)\s*(.*)$}x + sk-ecdsa-sha2-nistp256@openssh.com|sk-ssh-ed25519@openssh.com| + ssh-rsa-cert-v01@openssh.com)\s+([^ ]+)\s*(.*)$}x def self.keyline_regex REGEX end |