HomePhabricator
Diffusion Comm 412d852d37f0

[keyserver] Introduce responder validators

Description

[keyserver] Introduce responder validators

Summary: Introduce validators for entry, keys, siwe, message report, relationship and search responders and tests, most of which are taken from real requests that I've logged. I decided to not split it in multiple diffs because it's mostly just 1-2 validators per responder type and each change is localized to the responder.

Test Plan: yarn jest

Reviewers: kamil, tomek

Reviewed By: tomek

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D7685

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Apr 25 2023, 6:51 AM
Reviewer
tomek
Differential Revision
D7685: [keyserver] Introduce responder validators
Parents
rCOMM512692827a6a: [lib] Introduce server update info validators
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM412d852d37f0: [keyserver] Introduce responder validators (authored by Michal Gniadek <michal.gniadek@swmansion.com>).May 5 2023, 5:44 AM