jojo/modules/test
elle b00582aa0c
federation: add support for RFC9421 signatures
Adds support for verifying
[RFC 9421](https://www.rfc-editor.org/rfc/rfc9421.html)
HTTP message signatures.

Adds support for signing HTTP requests using the
[RFC 9421](https://www.rfc-editor.org/rfc/rfc9421.html) algorithm.

Adds support for multiple RFC 9421 signers.

Only attempts to sign RSA v1.5 signatures, since they are the only
signatures supported by Mastodon.

However, this commit lays the groundwork for future support of
additional signature algorithms.

Adds a basic integration test case for RFC 9421 signing + verification.

Adds unit test cases for `ClientKey` RSA keys.

Adds unit tests for `ClientKey` ECDSA + Ed25519 key methods.

Adds more unit test cases for RSA key methods.

Adds basic unit tests for the `setting.Algorithm` enum type.
2026-05-12 15:52:28 +00:00
..
distant_federation_server_mock.go federation: add support for RFC9421 signatures 2026-05-12 15:52:28 +00:00
logchecker.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
logchecker_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
utils.go fix(ui): document token validity in key verification view (#9002) 2025-11-14 23:40:03 +01:00
utils_test.go test(util): MockProtect when mocking multiple times 2024-06-02 15:24:06 +02:00