diff options
author | Jenkins <jenkins@jenkins.ninjawedding.org> | 2018-05-17 11:17:21 +0000 |
---|---|---|
committer | Jenkins <jenkins@jenkins.ninjawedding.org> | 2018-05-17 11:17:21 +0000 |
commit | 2636a23092306bdb07250add02d2851476d58bc2 (patch) | |
tree | d1c396ac03b7356e95c8da165f601a431ab05553 /app/controllers/concerns/signature_verification.rb | |
parent | 4bf43e6f3e93643d989a2872763b41505fab2206 (diff) | |
parent | 7293b9fc6190acd6d2a481c158c718a7a8299c73 (diff) |
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'app/controllers/concerns/signature_verification.rb')
-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) |