get the nonce from the SIWE message provided by the user and check if it exists in our nonces table. if it doesn't, return an error. if it does, remove it and proceed.
Depends on D9440
Paths
| Differential D9441 Authored by varun on Oct 9 2023, 9:11 PM.
Details
Summary get the nonce from the SIWE message provided by the user and check if it exists in our nonces table. if it doesn't, return an error. if it does, remove it and proceed. Depends on D9440 Test Plan tried to use the same nonce for consecutive sign-in requests and only the first request succeeded.
Diff Detail
Event TimelineHerald added a reviewer: • jon. · View Herald TranscriptOct 9 2023, 9:11 PM2023-10-09 21:11:52 (UTC-7) Harbormaster completed remote builds in B23136: Diff 31850.Oct 9 2023, 9:28 PM2023-10-09 21:28:40 (UTC-7) This revision is now accepted and ready to land.Oct 9 2023, 11:20 PM2023-10-09 23:20:14 (UTC-7) Closed by commit rCOMM04be4bd3ba84: [identity] verify nonce in siwe message (authored by varun). · Explain WhyOct 10 2023, 9:25 PM2023-10-10 21:25:01 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 31887 services/identity/src/client_service.rs
services/identity/src/siwe.rs
|