mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #1257] [MERGED] Validate cipher updates with revision date #2930
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2930
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/1257
Author: @jjlin
Created: 12/6/2020
Status: ✅ Merged
Merged: 12/8/2020
Merged by: @dani-garcia
Base:
master← Head:cipher-rev-date📝 Commits (1)
a9e9a39Validate cipher updates with revision date📊 Changes
1 file changed (+21 additions, -1 deletions)
View changed files
📝
src/api/core/ciphers.rs(+21 -1)📄 Description
Prevent clients from updating a cipher if the local copy is stale.
Validation is only performed when the client provides its last known
revision date; this date isn't provided when using older clients,
or when the operation doesn't involve updating an existing cipher.
Fixes #780.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.