diff options
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) { |