diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-17 04:03:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 04:03:28 +0200 |
commit | dfb6907e08350ca487e2978a85013f4525526bdf (patch) | |
tree | 099310c952789a58cc7d1b81ea29ca0226fdd11d /app | |
parent | 6bed372ad2d8da87f0f3cfa478e688c48aa94702 (diff) |
HTTP signatures spec no longer requires algorithms field (#7525)
Fix #7520
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/concerns/signature_verification.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/concerns/signature_verification.rb b/app/controllers/concerns/signature_verification.rb index f289228d3..41aa1c8a6 100644 --- a/app/controllers/concerns/signature_verification.rb +++ b/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) |