Trying to streamline the sync process.
When an identity's key or cert is invalidated, we no longer remove it from storage but instead remove its public key, private, and cert. Adding invalidateEmail to storage, but may move this to identities as it seems like too much info for storage. Updating the controllers to call syncEmails instead of syncEmailKeypairs.
Showing
- browserid/static/dialog/controllers/checkregistration_controller.js 1 addition, 1 deletion...static/dialog/controllers/checkregistration_controller.js
- browserid/static/dialog/controllers/dialog_controller.js 3 additions, 3 deletionsbrowserid/static/dialog/controllers/dialog_controller.js
- browserid/static/dialog/resources/browserid-identities.js 14 additions, 23 deletionsbrowserid/static/dialog/resources/browserid-identities.js
- browserid/static/dialog/resources/storage.js 11 additions, 0 deletionsbrowserid/static/dialog/resources/storage.js
- browserid/static/dialog/test/qunit/browserid-identities_unit_test.js 43 additions, 4 deletions...tatic/dialog/test/qunit/browserid-identities_unit_test.js
- browserid/static/dialog/test/qunit/browserid-storage_unit_test.js 12 additions, 3 deletions...d/static/dialog/test/qunit/browserid-storage_unit_test.js
Loading
Please register or sign in to comment