Skip to content
Snippets Groups Projects
Unverified Commit dfb6907e authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

HTTP signatures spec no longer requires algorithms field (#7525)

Fix #7520
parent 6bed372a
No related branches found
No related tags found
No related merge requests found
......@@ -107,9 +107,7 @@ module SignatureVerification
def incompatible_signature?(signature_params)
signature_params['keyId'].blank? ||
signature_params['signature'].blank? ||
signature_params['algorithm'].blank? ||
signature_params['algorithm'] != 'rsa-sha256'
signature_params['signature'].blank?
end
def account_from_key_id(key_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment