aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators
diff options
context:
space:
mode:
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) {