diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-09 09:43:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-09 09:43:36 +0200 |
commit | 543affef08b10cd94f42a37938f0fa17feddda77 (patch) | |
tree | 23f80a82fa668855a73baacb0b3715c746d47d63 /server/initializers/constants.ts | |
parent | 439567eb8aeefa8a91e36ed3d7f907280f6a4dfe (diff) | |
download | PeerTube-543affef08b10cd94f42a37938f0fa17feddda77.tar.gz PeerTube-543affef08b10cd94f42a37938f0fa17feddda77.tar.zst PeerTube-543affef08b10cd94f42a37938f0fa17feddda77.zip |
Don't sign (created) when using rsa-sha256
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 44f676a15..909fffdb6 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -589,7 +589,7 @@ const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = { | |||
589 | const HTTP_SIGNATURE = { | 589 | const HTTP_SIGNATURE = { |
590 | HEADER_NAME: 'signature', | 590 | HEADER_NAME: 'signature', |
591 | ALGORITHM: 'rsa-sha256', | 591 | ALGORITHM: 'rsa-sha256', |
592 | HEADERS_TO_SIGN: [ '(request-target)', '(created)', 'host', 'date', 'digest' ], | 592 | HEADERS_TO_SIGN: [ '(request-target)', 'host', 'date', 'digest' ], |
593 | CLOCK_SKEW_SECONDS: 1800 | 593 | CLOCK_SKEW_SECONDS: 1800 |
594 | } | 594 | } |
595 | 595 | ||