Check that the values in SIWEMessage are as expected. Throw a ServerError in siweAuthResponder if not.
Depends on D6030
Paths
| Differential D6031 Authored by atul on Dec 24 2022, 7:59 PM.
Details Summary Check that the values in SIWEMessage are as expected. Throw a ServerError in siweAuthResponder if not. Depends on D6030 Test Plan Tried calling the endpoint with various inputs (correct and malformed). Set breakpoints throughout and ensured that things worked as expected. Also moved siweStatement to lib so it could be shared outside of native.
Diff Detail
Event Timelineatul edited the summary of this revision. (Show Details)Dec 24 2022, 8:01 PM2022-12-24 20:01:46 (UTC-8) Harbormaster completed remote builds in B14741: Diff 20105.Dec 24 2022, 8:13 PM2022-12-24 20:13:18 (UTC-8) This revision is now accepted and ready to land.Dec 25 2022, 7:25 PM2022-12-25 19:25:43 (UTC-8) This revision was landed with ongoing or failed builds.Dec 27 2022, 12:52 AM2022-12-27 00:52:53 (UTC-8) Closed by commit rCOMM8b26e15c7991: [keyserver] Introduce `isValidSIWEMessage` and use it to validate `message` in… (authored by atul). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster completed remote builds in B14763: Diff 20138.Dec 27 2022, 1:04 AM2022-12-27 01:04:54 (UTC-8)
Revision Contents
Diff 20139 keyserver/src/responders/user-responders.js
landing/siwe.react.js
lib/utils/siwe-utils.js
|