Add HTTP signature check before linked signature
authorChocobozzz <me@florianbigard.com>
Fri, 19 Oct 2018 09:41:19 +0000 (11:41 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 19 Oct 2018 10:59:52 +0000 (12:59 +0200)
commitf7509cbec875ec4ee3201cce08839f2a02676c1c
tree5dbfcff41a175aa7d4b7d396ca90fe26049d0164
parent333210d862fdba4bb114b756d4f964789f480196
Add HTTP signature check before linked signature

It's faster, and will allow us to use RSA signature 2018 (with upstream
jsonld-signature module) without too much incompatibilities in the
peertube federation
package.json
server/helpers/activitypub.ts
server/helpers/peertube-crypto.ts
server/initializers/constants.ts
server/lib/job-queue/handlers/utils/activitypub-http-utils.ts
server/middlewares/activitypub.ts
server/middlewares/validators/activitypub/signature.ts
yarn.lock