Closed sosnovsky closed 5 days ago
@ioanmo226 please check this issue before continuing ESLint migration, thanks! It was a customer request, who're interested in such ability for offline mode.
Okay
Hi @ioanmo226, did you have a chance to check if it's possible to implement attachments decryption in the offline mode?
Hi, I've looked into this thoroughly, and it appears that accessing offline saved attachment data isn't possible due to security reasons.
Here's Bard's answer (we can't trust it 100%, but it aligns with my findings).
I think we should brainstorm if we need to implement this functionality. Maybe we can let users download the attachment first and drag & drop it into the decrypt window? Not sure yet, though.
Thanks!
Thanks for checking! Seems like adding separate tool for decrypting downloaded attachments will be the most reliable solution. I'll check with customer if it'll work for them. Will keep you updated!
Okay
By the way, mentioned functionality is already implemented in the extension - it's available in Additional settings
> Experimental
> Manually decrypt encrypted files
This solution was accepted by customer ✅
When using Gmail offline mode it's possible to decrypt encrypted messages, but encrypted attachments are downloaded encrypted. Gmail automatically downloads email attachments when offline mode is enabled, while FlowCrypt uses API calls for fetching attachments data. Need to check if it's possible to access offline attachments stored by Gmail and then use their data for decryption.