[DRE-maint] Bug#1032070: Update openssl gem to 3.0.1 to fix Exception: EVP_PKEY_new_mac_key: malloc failure

Pirate Praveen praveen at onenetbeyond.org
Mon Feb 27 11:18:12 GMT 2023


Package: libruby3.1
Severity: important
Version: 3.1.2-6

While testing gitlab 15.6.8 on experimental, gitlab-rake gitlab:check 
command failed with following error,

Checking Gitaly ...

Gitaly: ... Exception: EVP_PKEY_new_mac_key: malloc failure

Checking Gitaly ... Finished

Looking around for this error, I found 
https://stackoverflow.com/questions/74300774/opensslhmacerror-evp-pkey-new-mac-key-malloc-failure-in-rails-app 
and from there 
https://github.com/jwt/ruby-jwt/pull/530#discussion_r1002904506 which 
indicated this is fixed in openssl 3.0.1 gem. Does ruby 3.1.3 include 
openssl 3.0.1? If not, can we update just the openssl part?

This will help us to run gitlab on bookworm eventually.



More information about the Pkg-ruby-extras-maintainers mailing list