Commit graph

26510 commits

Author SHA1 Message Date
Vishnu Mohandas
092ef54c71 Upgrade Flutter for iOS 2020-10-01 00:25:07 +05:30
Vishnu Mohandas
0d1473708c Hash KEK instead of the passphrase 2020-10-01 00:01:04 +05:30
Vishnu Mohandas
1b40d64a20 Move hash verification to a separate isolate 2020-09-30 23:59:58 +05:30
Vishnu Mohandas
a9189d74d6 Update flutter_sodium 2020-09-30 22:44:00 +05:30
Vishnu Mohandas
71720df54c Compute the hash on a separate isolate 2020-09-30 19:20:00 +05:30
Vishnu Mohandas
429b71de4a Await for async functions 2020-09-29 00:36:42 +05:30
Vishnu Mohandas
a4323ad280 Reduce the memlimit for pwhash 2020-09-29 00:34:22 +05:30
Vishnu Mohandas
bb85b8f774 Remove unnecessary libraries 2020-09-29 00:04:26 +05:30
Vishnu Mohandas
fed7cda7f4 Replace scrypt with libsodium's abstractions 2020-09-29 00:02:53 +05:30
Vishnu Mohandas
b06190fbf2 Replace AES with libsodium abstractions 2020-09-28 23:22:43 +05:30
Vishnu Mohandas
a7944a3f93 Use sodium to generate random bytes 2020-09-28 23:06:04 +05:30
Vishnu Mohandas
a089fd1e3b Remove unused AESCrypt library 2020-09-28 22:37:33 +05:30
Vishnu Mohandas
04e2edd4e7 Prevent multiple file download requests 2020-09-28 22:35:53 +05:30
Vishnu Mohandas
f3446a9ed0 Don't prefetch files from server 2020-09-28 21:47:19 +05:30
Vishnu Mohandas
caea7b55fc Remove redundant thirdparty dependency 2020-09-28 21:46:27 +05:30
Vishnu Mohandas
61c80bff3e Minor refactor 2020-09-28 21:46:04 +05:30
Vishnu Mohandas
03fb189396 Add some logging to fileutil 2020-09-28 21:45:21 +05:30
Vishnu Mohandas
4de5c56a3f Fix copypastah errors 2020-09-28 21:45:06 +05:30
Vishnu Mohandas
f2b10a4168 Move expensive encryption and decryption operations to a separate isolate 2020-09-28 21:24:40 +05:30
Vishnu Mohandas
fc44023887 Use sodium for all base64 to byte conversions 2020-09-28 21:24:14 +05:30
Vishnu Mohandas
2f43477052 Get shit to work on iOS 2020-09-28 00:25:11 +05:30
Vishnu Mohandas
64b61ad6f0 Remove unavailable progress indicator in downgraded Flutter 2020-09-28 00:24:53 +05:30
Vishnu Mohandas
3591e5863e Remove SVGs so that a Flutter downgrade is possible 2020-09-28 00:23:47 +05:30
Vishnu Mohandas
ce308a8e0e
Merge pull request #1 from ente-io/chacha20
Switch to libsodium for decrypting metadata and thumbnails
2020-09-27 22:54:19 +05:30
Pushkar Anand
760a085dfd Integrated Comlink. 2020-09-27 22:48:57 +05:30
Vishnu Mohandas
076c55d89c Replace button type to be compatible with Flutter's stable channel 2020-09-27 20:51:00 +05:30
Pushkar Anand
ecf7bab5aa No package lock please 😬 2020-09-27 18:42:44 +05:30
Vishnu Mohandas
16aa9a9eb6 Revert endpoint to OG staging 2020-09-26 23:15:41 +05:30
Vishnu Mohandas
ab7fd7651a Use sodium to decrypt metadata and thumbnails 2020-09-26 22:46:16 +05:30
Vishnu Mohandas
ba1b21b9fc Add dependency on libsodium-wrapper 2020-09-26 22:45:39 +05:30
Vishnu Mohandas
d58956ea82 Set the standard parser 2020-09-26 18:06:02 +05:30
Vishnu Mohandas
4f1d33e548 Add package-lock 2020-09-26 14:26:14 +05:30
Vishnu Mohandas
e574a0d8d2 Use Dart's file handling APIs correctly to append to a file 2020-09-26 03:54:33 +05:30
Vishnu Mohandas
05a67773e9 Minor refactor 2020-09-26 03:08:14 +05:30
Vishnu Mohandas
d6e0671fe7 Rename variable 2020-09-26 02:28:19 +05:30
Vishnu Mohandas
bd66a9a309 Simplify encryption code 2020-09-26 02:26:02 +05:30
Vishnu Mohandas
9f6cfebcb1 Ensure file deletion only after read 2020-09-26 01:55:03 +05:30
Vishnu Mohandas
37b7eb1601 Add extra logging to file 2020-09-26 01:54:52 +05:30
Vishnu Mohandas
d99ac864af Make sure that video player controller exists before attempting to dispose it 2020-09-26 01:48:36 +05:30
Vishnu Mohandas
a7582df1ed Convert nested parameters toMap before relaying them to server 2020-09-26 01:20:32 +05:30
Vishnu Mohandas
727a1684ce Switch to libsodium for file encryption and decryption 2020-09-26 00:37:32 +05:30
Vishnu Mohandas
44866f7ffe Introduce new models to encapsulate encryption attributes 2020-09-26 00:32:00 +05:30
Vishnu Mohandas
3bad6a7c94 Add API to chacha encrypt and decrypt a file 2020-09-25 21:15:00 +05:30
Vishnu Mohandas
74a43bf425 Add dependency on libsodium 2020-09-25 14:29:50 +05:30
Vishnu Mohandas
d362c7286e Log encryption and decryption times 2020-09-25 14:28:48 +05:30
Vishnu Mohandas
739c377a76 Reduce the quality of thumbnails that are uploaded 2020-09-20 21:45:22 +05:30
Pushkar Anand
2fa452e01f Failing build fix. 2020-09-20 20:53:48 +05:30
Pushkar Anand
f9ee680c8f Initial gallary chagnes. 2020-09-20 20:48:35 +05:30
Pushkar Anand
8e76f6b5bd Added web worker for parallel decryption. 2020-09-20 02:50:10 +05:30
Vishnu Mohandas
7bf47f545f Update API params for sync 2020-09-19 21:54:12 +05:30