Created attachment 251665 [details] Upgrade security/rubygem-cose to 1.2.1 GitLab using security/rubygem-cose trough security/rubygem-webauthn required by GitLab will throw 500 internal server errors on FreeBSD 14 using OpenSSL. This is caused by OpenSSL::PKey::PKeyError (pkeys are immutable on OpenSSL 3.0): cose (1.2.0) lib/cose/key/ec2.rb:74:in `public_key=' cose (1.2.0) lib/cose/key/ec2.rb:74:in `to_pkey' And has been addressed in rubygem-cose 1.2.1 https://github.com/cedarcode/cose-ruby/commit/28ee497fa7d9d49e72d5a5e97a567c0b58fdd822 Attached are patches for security/rubygem-cose and security/rubygem-webauthn
Created attachment 251666 [details] security/rubygem-webauthn: Chase ruby-gem-cose 1.2.1
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=14d3fff949f67684021be5a8e0c5244a6bddd520 commit 14d3fff949f67684021be5a8e0c5244a6bddd520 Author: Ruben van Staveren <ruben@verweg.com> AuthorDate: 2024-06-24 14:35:26 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2024-06-27 04:39:00 +0000 security/rubygem-cose: update to 1.2.1 Fixes problem with openssl 3.0 Changes: https://github.com/cedarcode/cose-ruby/blob/master/CHANGELOG.md#v121---2022-07-03 PR: 279942 security/rubygem-cose/Makefile | 4 ++-- security/rubygem-cose/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
Committed thanks.