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

Fix #7520
master
Eugen Rochko 7 years ago committed by GitHub
parent 6bed372ad2
commit dfb6907e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/controllers/concerns/signature_verification.rb

@ -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)

Loading…
Cancel
Save