Details
Details
- Reviewers
varun kamil - Commits
- rCOMM817c5955a206: [identity] Implement RestoreUser RPCs
Registered a password and a wallet user. Verified that for both:
- RPC fails if username/wallet address not found (cannot get user ID)
- Fails if nonce / SIWE verification fails
- The RPC verifies the device list (the last test case from D13222 is the only valid one)
- The RPC updates device list and sets new primary device
- The RPC performs device key upload
- The RPC removes all old devices' data, OTKs and access tokens
- The RPC returns new CSAT
- For wallet users, social proof is updated in DDB
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
services/identity/src/client_service.rs | ||
---|---|---|
1368–1372 ↗ | (On Diff #43848) | I discovered that this allows us to avoid using .map_err(handle_db_error)?; everywhere. We can simply .await?;. |
services/identity/src/client_service.rs | ||
---|---|---|
1368–1372 ↗ | (On Diff #43848) | oh awesome, yeah that would be great, thanks |