mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-15 01:53:43 +01:00
403f35b571
- The new web-vault v2.21.0+ has support for Master Password Reset. For this to work it generates a public/private key-pair which needs to be stored in the database. Currently the Master Password Reset is not fixed, but there are endpoints which are needed even if we do not support this feature (yet). This PR fixes those endpoints, and stores the keys already in the database. - There was an issue when you want to do a key-rotate when you change your password, it also called an Emergency Access endpoint, which we do not yet support. Because this endpoint failed to reply correctly produced some errors, and also prevent the user from being forced to logout. This resolves #1826 by adding at least that endpoint. Because of that extra endpoint check to Emergency Access is done using an old user stamp, i also modified the stamp exception to allow multiple rocket routes to be called, and added an expiration timestamp to it. During these tests i stumbled upon an issue that after my key-change was done, it triggered the websockets to try and reload my ciphers, because they were updated. This shouldn't happen when rotating they keys, since all access should be invalided. Now there will be no websocket notification for this, which also prevents error toasts. - Increased Send Size limit to 500MB (with a litle overhead) As a side note, i tested these changes on both v2.20.4 and v2.21.1 web-vault versions, all keeps working. |
||
---|---|---|
.. | ||
2018-01-14-171611_create_tables | ||
2018-02-17-205753_create_collections_and_orgs | ||
2018-04-27-155151_create_users_ciphers | ||
2018-05-08-161616_create_collection_cipher_map | ||
2018-05-25-232323_update_attachments_reference | ||
2018-06-01-112529_update_devices_twofactor_remember | ||
2018-07-11-181453_create_u2f_twofactor | ||
2018-08-27-172114_update_ciphers | ||
2018-09-10-111213_add_invites | ||
2018-09-19-144557_add_kdf_columns | ||
2018-11-27-152651_add_att_key_columns | ||
2019-05-26-216651_rename_key_and_type_columns | ||
2019-10-10-083032_add_column_to_twofactor | ||
2019-11-17-011009_add_email_verification | ||
2020-03-13-205045_add_policy_table | ||
2020-04-09-235005_add_cipher_delete_date | ||
2020-07-01-214531_add_hide_passwords | ||
2020-08-02-025025_add_favorites_table | ||
2020-11-30-224000_add_user_enabled | ||
2020-12-09-173101_add_stamp_exception | ||
2021-03-11-190243_add_sends | ||
2021-03-15-163412_rename_send_key | ||
2021-04-30-233251_add_reprompt | ||
2021-05-11-205202_add_hide_email | ||
2021-07-01-203140_add_password_reset_keys |