Skip to content

Commit 160feb6

Browse files
authored
Merge pull request #207 from dev-sec/el-9
add support for EL9
2 parents f89879c + b49cff2 commit 160feb6

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ruby-version: ['2.6', '2.7', '3.0']
17+
ruby-version: ['2.7', '3.0', '3.1']
1818

1919
steps:
2020
- uses: actions/checkout@v2

libraries/ssh_crypto.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def valid_ciphers
4646
case inspec.os[:release]
4747
when /^6\./
4848
ciphers = ciphers53
49-
when /^7\./, /^8\./
49+
when /^7\./, /^8\./, /^9\./
5050
ciphers = ciphers66
5151
end
5252
when 'amazon', 'fedora', 'alpine', 'arch'
@@ -107,7 +107,7 @@ def valid_kexs
107107
kex = nil
108108
when /^7\./
109109
kex = kex66
110-
when /^8\./
110+
when /^8\./, /^9\./
111111
kex = kex80
112112
end
113113
# https://pkgs.alpinelinux.org/packages?name=openssh
@@ -167,7 +167,7 @@ def valid_macs
167167
# Because extended support (EUS) updates for 6.x minor releases is no longer available,
168168
# only the settings available for the supported (latest) 6.x release are recommended.
169169
macs = macs53_el65
170-
when /^7\./, /^8\./
170+
when /^7\./, /^8\./, /^9/
171171
macs = macs66
172172
end
173173
when 'amazon', 'fedora', 'alpine', 'arch'
@@ -216,7 +216,7 @@ def valid_privseparation
216216
ps = ps53
217217
when /^7\./
218218
ps = ps59
219-
when /^8\./
219+
when /^8\./, /^9\./
220220
ps = ps75
221221
end
222222
when 'ubuntu'
@@ -252,7 +252,7 @@ def valid_algorithms
252252
case inspec.os[:release]
253253
when /^6\./
254254
alg = alg53
255-
when /^7\./
255+
when /^7\./, /^8\./, /^9\./
256256
alg = alg66
257257
end
258258
when 'amazon', 'fedora', 'alpine', 'arch'

0 commit comments

Comments
 (0)