Add compatibility with other Linked Signature algorithms
authorChocobozzz <me@florianbigard.com>
Tue, 23 Oct 2018 09:38:48 +0000 (11:38 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 14 Nov 2018 15:32:27 +0000 (16:32 +0100)
commitdf66d81583e07ce049daeeef1edc6a87b57b3684
tree2a12747cd442713807e2b7d93899bc621d303459
parentb83b8dd5aef03084133c5983de6f312e7d1654b8
Add compatibility with other Linked Signature algorithms
29 files changed:
scripts/travis.sh
server.ts
server/helpers/custom-jsonld-signature.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/tests/activitypub.ts [deleted file]
server/tests/api/activitypub/client.ts [new file with mode: 0644]
server/tests/api/activitypub/helpers.ts [new file with mode: 0644]
server/tests/api/activitypub/index.ts [new file with mode: 0644]
server/tests/api/activitypub/json/mastodon/bad-body-http-signature.json [new file with mode: 0644]
server/tests/api/activitypub/json/mastodon/bad-http-signature.json [new file with mode: 0644]
server/tests/api/activitypub/json/mastodon/bad-public-key.json [new file with mode: 0644]
server/tests/api/activitypub/json/mastodon/create-bad-signature.json [new file with mode: 0644]
server/tests/api/activitypub/json/mastodon/create.json [new file with mode: 0644]
server/tests/api/activitypub/json/mastodon/http-signature.json [new file with mode: 0644]
server/tests/api/activitypub/json/mastodon/public-key.json [new file with mode: 0644]
server/tests/api/activitypub/json/peertube/announce-without-context.json [new file with mode: 0644]
server/tests/api/activitypub/json/peertube/invalid-keys.json [new file with mode: 0644]
server/tests/api/activitypub/json/peertube/keys.json [new file with mode: 0644]
server/tests/api/activitypub/security.ts [new file with mode: 0644]
server/tests/api/index-4.ts
server/tests/index.ts
server/tests/utils/index.ts
server/tests/utils/miscs/sql.ts [new file with mode: 0644]
server/tests/utils/miscs/stubs.ts [new file with mode: 0644]
server/tests/utils/requests/activitypub.ts [new file with mode: 0644]
yarn.lock