Adds validators for server socket messages with tests, and enables output validation in the socket implementation.
Depends on D7714
Paths
| Differential D7749 Authored by michal on May 9 2023, 1:36 AM.
Details
Summary Adds validators for server socket messages with tests, and enables output validation in the socket implementation. Depends on D7714 Test Plan Check if web and ios app work fine, and there aren't any errors.
Diff Detail
Event TimelineHerald added subscribers: atul, ashoat. · View Herald TranscriptMay 9 2023, 1:37 AM2023-05-09 01:37:01 (UTC-7)
Harbormaster completed remote builds in B19160: Diff 26241.May 9 2023, 1:54 AM2023-05-09 01:54:43 (UTC-7) This revision is now accepted and ready to land.May 10 2023, 1:02 AM2023-05-10 01:02:38 (UTC-7) michal added a child revision: D7750: [keyserver] Convert websocket input.May 10 2023, 6:54 AM2023-05-10 06:54:54 (UTC-7) michal added a child revision: D7783: [lib] Split thread-types.May 10 2023, 9:49 AM2023-05-10 09:49:09 (UTC-7) michal removed a child revision: D7783: [lib] Split thread-types.May 11 2023, 2:14 AM2023-05-11 02:14:53 (UTC-7) Comment Actions
michal added a child revision: D7783: [lib] Split thread-types.May 15 2023, 3:45 AM2023-05-15 03:45:09 (UTC-7) Harbormaster completed remote builds in B19329: Diff 26443.May 15 2023, 4:00 AM2023-05-15 04:00:37 (UTC-7) Closed by commit rCOMM018eff6c2ed6: [keyserver] Validate websocket output (authored by Michal Gniadek <michal.gniadek@swmansion.com>). · Explain WhyMay 15 2023, 5:00 AM2023-05-15 05:00:14 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 26454 keyserver/src/socket/socket.js
keyserver/src/utils/validation-utils.js
lib/types/message-types.js
lib/types/request-types.js
lib/types/socket-types.js
lib/types/update-types.js
|