aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-18 11:53:04 +0100
committerChocobozzz <me@florianbigard.com>2017-12-19 10:53:16 +0100
commitce33ee01cd3806201b676c318e9aa930032921b2 (patch)
treea067f57a571f417fc7b70f39af4302cd17183b07 /server/helpers/custom-validators
parent555846c99fa43b237814d32bd55d8124405187d3 (diff)
downloadPeerTube-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.ts2
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'
2import { isActivityPubUrlValid } from './misc' 2import { isActivityPubUrlValid } from './misc'
3 3
4function isSignatureTypeValid (signatureType: string) { 4function isSignatureTypeValid (signatureType: string) {
5 return exists(signatureType) && signatureType === 'GraphSignature2012' 5 return exists(signatureType) && signatureType === 'RsaSignature2017'
6} 6}
7 7
8function isSignatureCreatorValid (signatureCreator: string) { 8function isSignatureCreatorValid (signatureCreator: string) {