From ce33ee01cd3806201b676c318e9aa930032921b2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 18 Dec 2017 11:53:04 +0100 Subject: Use RsaSignature2017 --- server/helpers/custom-validators/activitypub/signature.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/helpers/custom-validators') 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' import { isActivityPubUrlValid } from './misc' function isSignatureTypeValid (signatureType: string) { - return exists(signatureType) && signatureType === 'GraphSignature2012' + return exists(signatureType) && signatureType === 'RsaSignature2017' } function isSignatureCreatorValid (signatureCreator: string) { -- cgit v1.2.3