1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

avoid using the SDK to decrypt attachments for emergency access (#16293)

- The SDK does not have emergency access functionality built in at this point.
This commit is contained in:
Nick Krantz
2025-09-04 14:31:52 -05:00
committed by GitHub
parent bff18a8cd2
commit ca9b531571
3 changed files with 11 additions and 1 deletions

View File

@@ -92,6 +92,9 @@ export class DownloadAttachmentComponent {
this.attachment,
response,
userId,
// When the emergency access ID is present, the cipher is being viewed via emergency access.
// Force legacy decryption in these cases.
this.emergencyAccessId ? true : false,
);
this.fileDownloadService.download({