bitwarden_rs/src/api
BlackDex de86aa671e Fix Key Rotation during password change
When ticking the 'Also rotate my account's encryption key' box, the key
rotated ciphers are posted after the change of password.

During the password change the security stamp was reseted which made
the posted key's return an invalid auth. This reset is needed to prevent other clients from still being able to read/write.

This fixes this by adding a new database column which stores a stamp exception which includes the allowed route and the current security stamp before it gets reseted.
When the security stamp check fails it will check if there is a stamp exception and tries to match the route and security stamp.

Currently it only allows for one exception. But if needed we could expand it by using a Vec<UserStampException> and change the functions accordingly.

fixes #1240
2020-12-14 19:58:23 +01:00
..
core Fix Key Rotation during password change 2020-12-14 19:58:23 +01:00
admin.rs Clean up datetime output and code 2020-12-13 19:49:22 -08:00
icons.rs Small update on favicon downloading 2020-12-10 23:13:24 +01:00
identity.rs Implement admin ability to enable/disable users 2020-11-30 23:12:56 +01:00
mod.rs Removed try_trait and some formatting, particularly around imports 2020-07-14 18:34:22 +02:00
notifications.rs Improving code 2020-08-31 22:20:21 +02:00
web.rs As requested here: https://bitwardenrs.discourse.group/t/searchable-user-list-on-admin-panel/299 2020-09-19 22:19:55 +02:00