diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-18 11:53:04 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-19 10:53:16 +0100 |
commit | ce33ee01cd3806201b676c318e9aa930032921b2 (patch) | |
tree | a067f57a571f417fc7b70f39af4302cd17183b07 /server/helpers/custom-validators | |
parent | 555846c99fa43b237814d32bd55d8124405187d3 (diff) | |
download | PeerTube-ce33ee01cd3806201b676c318e9aa930032921b2.tar.gz PeerTube-ce33ee01cd3806201b676c318e9aa930032921b2.tar.zst PeerTube-ce33ee01cd3806201b676c318e9aa930032921b2.zip |
Use RsaSignature2017
Diffstat (limited to 'server/helpers/custom-validators')
-rw-r--r-- | server/helpers/custom-validators/activitypub/signature.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/custom-validators/activitypub/signature.ts b/server/helpers/custom-validators/activitypub/signature.ts index 683ed2b1c..cfb65361e 100644 --- a/server/helpers/custom-validators/activitypub/signature.ts +++ b/server/helpers/custom-validators/activitypub/signature.ts | |||
@@ -2,7 +2,7 @@ import { exists } from '../misc' | |||
2 | import { isActivityPubUrlValid } from './misc' | 2 | import { isActivityPubUrlValid } from './misc' |
3 | 3 | ||
4 | function isSignatureTypeValid (signatureType: string) { | 4 | function isSignatureTypeValid (signatureType: string) { |
5 | return exists(signatureType) && signatureType === 'GraphSignature2012' | 5 | return exists(signatureType) && signatureType === 'RsaSignature2017' |
6 | } | 6 | } |
7 | 7 | ||
8 | function isSignatureCreatorValid (signatureCreator: string) { | 8 | function isSignatureCreatorValid (signatureCreator: string) { |