jake
|
55e9d02136
|
[ENG-307] Key manager features (#467)
* working key management in settings page
* sync with library button
* fix `rspc` feature and add passphrase generation
* untested key manager rework
* trying to return values from mutations
* update library manager and remove settiong master PW
* update bindings
* set static secret key/master password
* prompt user for master password if correct one hasn't been provided yet
* add `hasMasterPassword` route
* add `clearMasterPassword` route + remove dead code
* tweak `set_master_password()` and add dedicated error
* tweak UI, fix `few hooks than expected`, add unmount+lock button
* remove old comment
* fmt
* clippy
* move static key/password setting so it doesn't fail sometimes
* add dedicated `get_key()` and remove keys from memory
* add `getKey` route
* update bindings
* use `const` instead of `let`
* comment updates
* update schema to remove salt
* add string parse error
* generate passphrase within key manager
* generate new migrations
* feature gate serde support in `crypto` crate
* fmt
* more specific error types
* foramatting
* add locking mechanism to keysettings page (not working?)
* fix react hook issues
Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
* remove empty onclick
* add keymanager dropdown menu
* working key backup functionality
* add experimental master password changing support
* update bindings
* semi-working change master password dialog
* use gear/lock icons to clean up key manager UI
* make settings button functional
* make buttons uniform and format code
* fix double base64 encode
* add change master password dialog and secret key dialog
* code cleanup
* restore backup dialog
* change UI wording
* make a start on restoring from a backup
* potentially working keystore restore
* don't overwrite verification key if one is set
* working backup restore + fix master password changing
* fix typo in static password/verification key check logic
* change wording to make UI clearer
* disable mount button if key is empty
* handle errors+remove type annotations
* show total imported keys on backup restoration
* add zxcvbn package
* change input border colour based on zxcvbn score
* clippy and formatting
* password strength meter
* remove nbsp
* add button type to stop early form submission
* use `react-hook-form` for backup restoration dialog
* more `react-hook-form` stuff
* attempt to fix password meter
* small cleanup
* Fix password meter
* update colours
Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
|
2022-12-02 10:18:21 +00:00 |
|