Do not support OpenSSL 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby-json-jwt (Ubuntu) |
Fix Released
|
Undecided
|
Lucas Kanashiro | ||
Jammy |
Fix Released
|
Undecided
|
Michał Małoszewski | ||
Kinetic |
Fix Released
|
Undecided
|
Lucas Kanashiro | ||
ruby-openid-connect (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The ruby-json-jwt package build, as well as autopkgtest, do not work properly because of OpenSSL 3 and users could encounter some failure messages. The code which provides the changes, enables support for OpenSSL 3.
The situation before the patch was applied was really unfortunate for users who were not able to fully use the library with the default version of OpenSSL in jammy.
Backport upstream fix to Jammy
Link to the commit: https:/
[Test Plan]
** Reproduction **
Message:
OpenSSL:
rsa#set_key= is incompatible with OpenSSL 3.0
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# ./spec/
# ./spec/
# ./spec/
Make a container for testing:
First option:
$ lxc launch images:ubuntu/jammy jammy-test
$ lxc shell jammy-test
Then simply build the package.
Use: ‘dpkg-buildpackage’ command which will generate the package.
Full command with proper flags: dpkg-buildpackage -S -nc -d -us -uc
You shouldn’t notice failures.
** Verification **
Follow the reproduction steps above to ensure that the messages no longer appear.
[Where problems could occur]
Any code change might change the behavior of the package in a specific situation and cause other errors.
Users that rely on the library API related to OpenSSL might encounter errors.
--- original report ---
ruby-openid-
Failures:
1) OpenIDConnect:
Failure/Error: instance.
OpenSSL:
rsa#set_key= is incompatible with OpenSSL 3.0
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# ./spec/
# ./spec/
# ./spec/
2) OpenIDConnect:
Failure/Error:
expect do
end.not_to raise_error
expected no Exception, got #<OpenSSL:
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# ./spec/
# ./spec/
# ./spec/
Finished in 32.37 seconds (files took 0.73441 seconds to load)
234 examples, 2 failures, 2 pending
Actually, this is an issue with ruby-json-jwt, and not ruby-openid-connect itself which only depends on it.