]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Don't sign (created) when using rsa-sha256
authorChocobozzz <me@florianbigard.com>
Mon, 9 May 2022 07:43:36 +0000 (09:43 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 9 May 2022 07:43:36 +0000 (09:43 +0200)
server/initializers/constants.ts

index 44f676a15b06de034f7d212ce47e13e647e84836..909fffdb632baf4400d37aaa9c46c76de3038880 100644 (file)
@@ -589,7 +589,7 @@ const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = {
 const HTTP_SIGNATURE = {
   HEADER_NAME: 'signature',
   ALGORITHM: 'rsa-sha256',
-  HEADERS_TO_SIGN: [ '(request-target)', '(created)', 'host', 'date', 'digest' ],
+  HEADERS_TO_SIGN: [ '(request-target)', 'host', 'date', 'digest' ],
   CLOCK_SKEW_SECONDS: 1800
 }