These credentials are used e.g. to create a new backup, and they should match the result returned from the SIWE panel.
Details
Details
- Reviewers
kamil bartek - Commits
- rCOMM56bb03f4fad7: [native] Save the correct backup credentials
Register a new SIWE user, log out, restore (this creates a new backup), log out, restore (this tests whether the new backup is correct). Confirm that the 2nd restoration works.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| native/account/restore-backup-screen.react.js | ||
|---|---|---|
| 38–39 ↗ | (On Diff #46705) | Alternatively, you can also this wrap into SIWESocialProof type we have already defined to improve readability more |
| native/account/restore-backup-screen.react.js | ||
|---|---|---|
| 38–39 ↗ | (On Diff #46705) | Makes sense! We can make it even better by using the same type for all the message-signature pairs. |
| native/account/restore-backup-screen.react.js | ||
|---|---|---|
| 38–39 ↗ | (On Diff #46705) | Using SIWESocialProof is a bit problematic, because it gets later directly stringified and saved in the keyserver DB, so renaming its fields isn't worth it. |