Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more support for debian 11 #206

Merged
merged 1 commit into from
Aug 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions libraries/ssh_crypto.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def valid_ciphers
case inspec.os[:release]
when /^6\./, /^7\./
ciphers = ciphers53
when /^8\./, /^9\./, /^10\./
when /^8\./, /^9\./, /^10\./, /^11\./
ciphers = ciphers66
end
when 'redhat', 'centos', 'oracle', 'rocky', 'almalinux'
Expand Down Expand Up @@ -155,7 +155,7 @@ def valid_macs
macs = macs53
when /^7\./
macs = macs59
when /^8\./, /^9\./, /^10\./
when /^8\./, /^9\./, /^10\./, /^11\./
macs = macs66
end
when 'redhat', 'centos', 'oracle', 'rocky', 'almalinux'
Expand Down Expand Up @@ -206,7 +206,7 @@ def valid_privseparation
case inspec.os[:release]
when /^6\./
ps = ps53
when /^10\./
when /^10\./, /^11\./
ps = ps75
end
when 'redhat', 'centos', 'oracle', 'rocky', 'almalinux'
Expand Down Expand Up @@ -245,7 +245,7 @@ def valid_algorithms
case inspec.os[:release]
when /^7\./
alg = alg60
when /^8\./, /^9\./
when /^8\./, /^9\./, /^10\./, /^11\./
alg = alg66
end
when 'redhat', 'centos', 'oracle', 'rocky', 'almalinux'
Expand Down