Commit Graph

16 Commits

Author SHA1 Message Date
thecodrr
df9fe90d62 chore: migrate to @notesnook/crypto package 2022-02-02 10:39:09 +05:00
thecodrr
b26e2967a5 chore: sanity checks for chunk.data 2021-12-02 20:59:36 +05:00
thecodrr
1ddbbcdc89 feat: export file storage clear function 2021-11-02 14:35:24 +05:00
thecodrr
bd2f88cad1 feat: refactor attachment downloading & send chunksize 2021-10-30 13:59:11 +05:00
thecodrr
f012656167 fix: return undefined instead of throwing if file not found 2021-10-29 11:35:40 +05:00
thecodrr
ae350d96cd fix: offset out of bounds on decrypt stream 2021-10-28 21:17:09 +05:00
thecodrr
657416478e feat: add support for 3-layer attachment encryption 2021-10-26 09:31:21 +05:00
thecodrr
c16c58657d fix: locked notes could not be unlocked 2021-10-22 15:20:56 +05:00
thecodrr
09942e7bc8 chore: always import nncrypto dynamically 2021-10-22 09:44:24 +05:00
thecodrr
711f870718 refactor: use comlink instead of threads 2021-10-21 11:23:17 +05:00
thecodrr
7e857e4691 fix: allow downloading attachment from inside the
editor
2021-10-20 10:14:31 +05:00
thecodrr
d54b574c60 feat: add logic to read a range of chunks 2021-10-18 14:06:00 +05:00
thecodrr
fe887f58e1 fix: convert string plaintext to Uint8Array for
accurate length derivation
2021-10-18 14:05:23 +05:00
thecodrr
ef058f85d7 feat: add decryption using stream 2021-10-15 11:15:06 +05:00
thecodrr
7ac80384e0 feat: add readChunk & toBlob functions to filehandle 2021-10-15 11:14:13 +05:00
thecodrr
81cae7ea93 feat: add support for encrypting large files safely 2021-10-10 18:56:05 +05:00