Skip to content

Commit

Permalink
reprioritize etm macs
Browse files Browse the repository at this point in the history
    See:

    * #66
    * https://stribika.github.io/2015/01/04/secure-secure-shell.html

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
  • Loading branch information
arlimus committed Jan 13, 2015
1 parent 621dea5 commit 286cece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/get_ssh_macs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def self.get_macs(node, weak_hmac)
macs_59['weak'] = macs_59['default'] + ',hmac-sha1'

macs_66 = {}
macs_66.default = 'hmac-sha2-512-etm@openssh.com,hmac-sha2-512,hmac-sha2-256-etm@openssh.com,hmac-sha2-256,umac-128-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-ripemd160'
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'
macs_66['weak'] = macs_66['default'] + ',hmac-sha1'

# determine the mac for the operating system
Expand Down

0 comments on commit 286cece

Please sign in to comment.