Skip to content

Commit f89879c

Browse files
authored
Merge pull request #206 from dev-sec/debian_11
add more support for debian 11
2 parents b809e0b + a87f59a commit f89879c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

libraries/ssh_crypto.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def valid_ciphers
3939
case inspec.os[:release]
4040
when /^6\./, /^7\./
4141
ciphers = ciphers53
42-
when /^8\./, /^9\./, /^10\./
42+
when /^8\./, /^9\./, /^10\./, /^11\./
4343
ciphers = ciphers66
4444
end
4545
when 'redhat', 'centos', 'oracle', 'rocky', 'almalinux'
@@ -155,7 +155,7 @@ def valid_macs
155155
macs = macs53
156156
when /^7\./
157157
macs = macs59
158-
when /^8\./, /^9\./, /^10\./
158+
when /^8\./, /^9\./, /^10\./, /^11\./
159159
macs = macs66
160160
end
161161
when 'redhat', 'centos', 'oracle', 'rocky', 'almalinux'
@@ -206,7 +206,7 @@ def valid_privseparation
206206
case inspec.os[:release]
207207
when /^6\./
208208
ps = ps53
209-
when /^10\./
209+
when /^10\./, /^11\./
210210
ps = ps75
211211
end
212212
when 'redhat', 'centos', 'oracle', 'rocky', 'almalinux'
@@ -245,7 +245,7 @@ def valid_algorithms
245245
case inspec.os[:release]
246246
when /^7\./
247247
alg = alg60
248-
when /^8\./, /^9\./
248+
when /^8\./, /^9\./, /^10\./, /^11\./
249249
alg = alg66
250250
end
251251
when 'redhat', 'centos', 'oracle', 'rocky', 'almalinux'

0 commit comments

Comments
 (0)