Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Framasoft
PeerTube
PeerTube
Commits
543affef
Verified
Commit
543affef
authored
May 09, 2022
by
Chocobozzz
Browse files
Don't sign (created) when using rsa-sha256
parent
439567eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/initializers/constants.ts
View file @
543affef
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment