Skip to content

Commit

Permalink
(#9302) Add Ruby 3.3 to CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Aug 14, 2024
1 parent 700c826 commit c65e6b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rspec_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
- {os: ubuntu-latest, ruby: '3.1'}
- {os: ubuntu-20.04, ruby: '3.2'} # openssl 1.1.1
- {os: ubuntu-22.04, ruby: '3.2'} # openssl 3
- {os: ubuntu-22.04, ruby: '3.3'} # openssl 3 / latest Ruby
- {os: ubuntu-latest, ruby: 'jruby-9.4.3.0'}
- {os: windows-2019, ruby: '3.1'}
- {os: windows-2019, ruby: '3.2'} # openssl 3
- {os: windows-2019, ruby: '3.3'} # openssl 3 / latest Ruby

runs-on: ${{ matrix.cfg.os }}
env:
Expand Down
4 changes: 2 additions & 2 deletions spec/unit/x509/cert_provider_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def expects_private_file(path)
# password is 74695716c8b6
expect {
provider.load_private_key('encrypted-key')
}.to raise_error(OpenSSL::PKey::PKeyError, /Could not parse PKey: (no start line|bad decrypt)/)
}.to raise_error(OpenSSL::PKey::PKeyError, /Could not parse PKey/)
end

it 'decrypts an RSA key previously saved using 3DES' do
Expand Down Expand Up @@ -315,7 +315,7 @@ def expects_private_file(path)
# password is 74695716c8b6
expect {
provider.load_private_key('encrypted-ec-key')
}.to raise_error(OpenSSL::PKey::PKeyError, /(unknown|invalid) curve name|Could not parse PKey: (no start line|bad decrypt)/)
}.to raise_error(OpenSSL::PKey::PKeyError, /(unknown|invalid) curve name|Could not parse PKey/)
end
end
end
Expand Down

0 comments on commit c65e6b5

Please sign in to comment.