GurpreetKang / BitwardenDecrypt

Decrypts an encrypted Bitwarden data.json file.
GNU General Public License v3.0
245 stars 30 forks source link

Add support for downloading/decrypting file attachments. #7

Closed GurpreetKang closed 1 year ago

GurpreetKang commented 2 years ago

Add support for downloading encrypted file attachments and decrypting them using the unique per-attachment Protected Symmetric Key.

As BitwardenDecrypt is intended to be backup in case Bitwarden is not available (down, no longer in business, etc.) support for file attachments may be of limited use. If Bitwarden is available, attachments can be accessed using the official apps (though at the time of writing there is no easy way using the official apps to backup/download all attachments). If Bitwarden is unavailable any download/decryption of file attachments will fail.

GurpreetKang commented 2 years ago

It seems the download link is now only valid for authenticated HTTPS requests, unauthenticated requests will get a Error: BlobNotFound "The specified blob does not exist.".

GurpreetKang commented 2 years ago

Reference for changed behaviour: https://github.com/bitwarden/server/issues/703#issuecomment-865973609

GurpreetKang commented 1 year ago

Can't fix, closing issue.