π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[photos] Restore existing download comments
AswinAsokc6aa827ca0ff
diff --git a/web/packages/gallery/services/download-core.ts b/web/packages/gallery/services/download-core.tsindex a875b2c2ed..a624d3d8cb 100644--- a/web/packages/gallery/services/download-core.ts+++ b/web/packages/gallery/services/download-core.ts@@ -353,6 +353,7 @@ class DownloadManagerCore {);}+ // A network read can contain several encrypted chunks.while (data.length > decryptionChunkSize) {const decryptedData = await decryptStreamChunk(data.slice(0, decryptionChunkSize),@@ -366,6 +367,7 @@ class DownloadManagerCore {}if (done) {+ // Only EOF proves that a short remainder is the final chunk.if (!data.length)throw new Error("Missing final encrypted chunk",