Commit graph

799 commits

Author SHA1 Message Date
Vishnu Mohandas 27f019af57 Move to XChaCha for thumbnail and metadata encryption 2020-10-07 04:25:59 +05:30
Vishnu Mohandas bdd2e35a66 Fix bugs in configuration 2020-10-07 03:42:54 +05:30
Vishnu Mohandas 16b2ff0624 Declutter root folder 2020-10-03 23:28:26 +05:30
Vishnu Mohandas 7f16f88a8f Move services to a separate package 2020-10-03 23:26:18 +05:30
Vishnu Mohandas 5a25676dc4 Generate and store public private keypairs on the server 2020-10-03 03:15:26 +05:30
Vishnu Mohandas deb489df70 Revert endpoint 2020-10-02 18:50:10 +05:30
Vishnu Mohandas 832b0c7e74 Update the computation logic for kek-hash 2020-10-02 18:43:15 +05:30
Vishnu Mohandas 0daecf3924 Remove unused function 2020-10-01 04:44:20 +05:30
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 076c55d89c Replace button type to be compatible with Flutter's stable channel 2020-09-27 20:51:00 +05:30
Vishnu Mohandas 16aa9a9eb6 Revert endpoint to OG staging 2020-09-26 23:15:41 +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
Vishnu Mohandas 7bf47f545f Update API params for sync 2020-09-19 21:54:12 +05:30
Vishnu Mohandas c77fd5da11 Provide a hook to pause ongoing backups 2020-09-18 01:10:08 +05:30
Vishnu Mohandas 1cc7db043f Change the color of check boxes 2020-09-18 00:33:21 +05:30