mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Don't sign (created) when using rsa-sha256
This commit is contained in:
@@ -589,7 +589,7 @@ const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = {
|
|||||||
const HTTP_SIGNATURE = {
|
const HTTP_SIGNATURE = {
|
||||||
HEADER_NAME: 'signature',
|
HEADER_NAME: 'signature',
|
||||||
ALGORITHM: 'rsa-sha256',
|
ALGORITHM: 'rsa-sha256',
|
||||||
HEADERS_TO_SIGN: [ '(request-target)', '(created)', 'host', 'date', 'digest' ],
|
HEADERS_TO_SIGN: [ '(request-target)', 'host', 'date', 'digest' ],
|
||||||
CLOCK_SKEW_SECONDS: 1800
|
CLOCK_SKEW_SECONDS: 1800
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user