Fix error when RFC9421 signatures are used (#35109)

This commit is contained in:
David Roetzel 2025-06-20 11:44:26 +02:00 committed by GitHub
commit 0ec6c26af3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 1 deletions

View file

@ -82,7 +82,7 @@ module SignatureVerification
end
def actor_from_key_id
key_id = signature_key_id
key_id = signed_request.key_id
domain = key_id.start_with?('acct:') ? key_id.split('@').last : key_id
if domain_not_allowed?(domain)