mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-11 09:13:02 +03:00
[PR #2078] [MERGED] Fix missing encrypted key after emergency access reject #3306
Reference in New Issue
Block a user
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/2078
Author: @jjlin
Created: 10/31/2021
Status: ✅ Merged
Merged: 11/1/2021
Merged by: @dani-garcia
Base:
main← Head:fix-ea-reject📝 Commits (1)
1440839Fix missing encrypted key after emergency access reject📊 Changes
1 file changed (+0 additions, -1 deletions)
View changed files
📝
src/api/core/emergency_access.rs(+0 -1)📄 Description
Rejecting an emergency access request should transition the grantor/grantee
relationship back into the
Confirmedstate, and the grantor's encrypted keyshould remain in escrow rather than being cleared, or else future emergency
access requsts from that grantee will fail.
This probably fixes #2061.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.