HTTP signatures spec no longer requires algorithms field (#7525)
Fix #7520
This commit is contained in:
parent
a922fb60f5
commit
71399bf1d5
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue