diff --git a/lib/puppet/parser/functions/get_ssh_macs.rb b/lib/puppet/parser/functions/get_ssh_macs.rb index 554d74f..de5b3f6 100644 --- a/lib/puppet/parser/functions/get_ssh_macs.rb +++ b/lib/puppet/parser/functions/get_ssh_macs.rb @@ -27,6 +27,9 @@ macs_59 = {} macs_59.default = 'hmac-sha2-512,hmac-sha2-256,hmac-ripemd160' macs_59['weak'] = macs_59['default'] + ',hmac-sha1' + + macs_60 = {} + macs_60.default = 'hmac-sha2-512,hmac-sha2-256' macs_66 = {} macs_66.default = 'hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160' @@ -43,6 +46,8 @@ m['ubuntu'] = {} m['ubuntu']['12'] = macs_59 m['ubuntu']['14'] = macs_66 + m['ubuntu']['18'] = macs_60 + m['ubuntu']['20'] = macs_60 m['ubuntu'].default = macs_59 m['debian'] = {}