1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-04 02:18:00 +01:00
vaultwarden/migrations/mysql
BlackDex 403f35b571 Added web-vault v2.21.x support + some misc fixes
- 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.
2021-07-04 23:02:56 +02:00
..
2018-01-14-171611_create_tables user char(36) for uuid columns 2019-05-27 17:20:20 +02:00
2018-02-17-205753_create_collections_and_orgs user char(36) for uuid columns 2019-05-27 17:20:20 +02:00
2018-04-27-155151_create_users_ciphers user char(36) for uuid columns 2019-05-27 17:20:20 +02:00
2018-05-08-161616_create_collection_cipher_map user char(36) for uuid columns 2019-05-27 17:20:20 +02:00
2018-05-25-232323_update_attachments_reference user char(36) for uuid columns 2019-05-27 17:20:20 +02:00
2018-06-01-112529_update_devices_twofactor_remember initial mysql support 2019-05-26 23:03:05 +02:00
2018-07-11-181453_create_u2f_twofactor user char(36) for uuid columns 2019-05-27 17:20:20 +02:00
2018-08-27-172114_update_ciphers initial mysql support 2019-05-26 23:03:05 +02:00
2018-09-10-111213_add_invites initial mysql support 2019-05-26 23:03:05 +02:00
2018-09-19-144557_add_kdf_columns Updated client kdf iterations to 100000 and fixed some lints 2019-09-05 21:56:12 +02:00
2018-11-27-152651_add_att_key_columns initial mysql support 2019-05-26 23:03:05 +02:00
2019-05-26-216651_rename_key_and_type_columns initial mysql support 2019-05-26 23:03:05 +02:00
2019-10-10-083032_add_column_to_twofactor Updated authenticator TOTP 2019-10-10 17:32:20 +02:00
2019-11-17-011009_add_email_verification Implement change-email, email-verification, account-recovery, and welcome notifications 2019-11-24 22:28:49 -07:00
2020-03-13-205045_add_policy_table Initial version of policies 2020-03-14 13:32:28 +01:00
2020-04-09-235005_add_cipher_delete_date Initial support for soft deletes 2020-04-17 22:35:27 +02:00
2020-07-01-214531_add_hide_passwords Add support for hiding passwords in a collection 2020-07-02 21:51:20 -07:00
2020-08-02-025025_add_favorites_table Transfer favorite status for user-owned ciphers 2020-08-22 17:14:05 -07:00
2020-11-30-224000_add_user_enabled Implement admin ability to enable/disable users 2020-11-30 23:12:56 +01:00
2020-12-09-173101_add_stamp_exception Fix Key Rotation during password change 2020-12-14 19:58:23 +01:00
2021-03-11-190243_add_sends rename send key -> akey 2021-03-15 16:42:20 +01:00
2021-04-30-233251_add_reprompt Add support for password reprompt 2021-05-11 20:09:57 -07:00
2021-05-11-205202_add_hide_email Add support for hiding the sender's email address in Bitwarden Sends 2021-05-11 22:51:12 -07:00
2021-07-01-203140_add_password_reset_keys Added web-vault v2.21.x support + some misc fixes 2021-07-04 23:02:56 +02:00