aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index dca792b1b..44f676a15 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -589,11 +589,7 @@ const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = {
589const HTTP_SIGNATURE = { 589const HTTP_SIGNATURE = {
590 HEADER_NAME: 'signature', 590 HEADER_NAME: 'signature',
591 ALGORITHM: 'rsa-sha256', 591 ALGORITHM: 'rsa-sha256',
592 HEADERS_TO_SIGN: [ '(request-target)', 'host', 'date', 'digest' ], 592 HEADERS_TO_SIGN: [ '(request-target)', '(created)', 'host', 'date', 'digest' ],
593 REQUIRED_HEADERS: {
594 ALL: [ '(request-target)', 'host', 'date' ],
595 POST: [ '(request-target)', 'host', 'date', 'digest' ]
596 },
597 CLOCK_SKEW_SECONDS: 1800 593 CLOCK_SKEW_SECONDS: 1800
598} 594}
599 595