Commit graph

  • 27f019af57 Move to XChaCha for thumbnail and metadata encryption Vishnu Mohandas 2020-10-07 04:25:59 +05:30
  • bdd2e35a66 Fix bugs in configuration Vishnu Mohandas 2020-10-07 03:42:54 +05:30
  • 16b2ff0624 Declutter root folder Vishnu Mohandas 2020-10-03 23:28:26 +05:30
  • 7f16f88a8f Move services to a separate package Vishnu Mohandas 2020-10-03 23:26:18 +05:30
  • cdccfd3372 Fix crypto bug. Pushkar Anand 2020-10-03 20:19:28 +05:30
  • ca9e1b49c1 Fix typo in key decryption Vishnu Mohandas 2020-10-03 20:11:19 +05:30
  • ad1e90dfcc Moved libsodium to worker. Pushkar Anand 2020-10-03 19:51:56 +05:30
  • 5a25676dc4 Generate and store public private keypairs on the server Vishnu Mohandas 2020-10-03 03:15:26 +05:30
  • deb489df70 Revert endpoint Vishnu Mohandas 2020-10-02 18:50:10 +05:30
  • 832b0c7e74 Update the computation logic for kek-hash Vishnu Mohandas 2020-10-02 18:43:15 +05:30
  • e67710b4b2 Send attributes in the correct format to server Vishnu Mohandas 2020-10-02 18:36:46 +05:30
  • ddeb906cbb Update contract for verifying hash Vishnu Mohandas 2020-10-02 18:36:16 +05:30
  • 1f2b60f997 Fix TODO Vishnu Mohandas 2020-10-02 18:24:46 +05:30
  • 5d4dc2e671 Revert endpoint to staging Vishnu Mohandas 2020-10-01 17:21:36 +05:30
  • ff72a22a78 Remove unused crypto utils Vishnu Mohandas 2020-10-01 17:18:52 +05:30
  • d7ed746658 Sanitize the hash generated on mobile Vishnu Mohandas 2020-10-01 17:18:11 +05:30
  • 906e3cfc4a Verify the hash over a worker Vishnu Mohandas 2020-10-01 17:17:13 +05:30
  • 8b41415408 Use libsodium for key encryption and decryption Vishnu Mohandas 2020-10-01 06:59:24 +05:30
  • 31106f1eca Update crypto worker to pipe calls via the libsodium util Vishnu Mohandas 2020-10-01 06:58:52 +05:30
  • 212f8f2ccd Add a util that wraps all libsodium calls Vishnu Mohandas 2020-10-01 06:58:21 +05:30
  • 0daecf3924 Remove unused function Vishnu Mohandas 2020-10-01 04:44:20 +05:30
  • 07502e1bfc Add functions to hash and verify hashes using libsodium Vishnu Mohandas 2020-10-01 03:07:37 +05:30
  • 45033903cb Factor out the decryption logic Vishnu Mohandas 2020-10-01 02:59:27 +05:30
  • 51afe4d8fc Minor rename Vishnu Mohandas 2020-10-01 02:54:40 +05:30
  • 3559e68490 Merge crypto workers into one Vishnu Mohandas 2020-10-01 02:52:58 +05:30
  • 092ef54c71 Upgrade Flutter for iOS Vishnu Mohandas 2020-10-01 00:25:07 +05:30
  • 0d1473708c Hash KEK instead of the passphrase Vishnu Mohandas 2020-10-01 00:01:04 +05:30
  • 1b40d64a20 Move hash verification to a separate isolate Vishnu Mohandas 2020-09-30 23:59:58 +05:30
  • a9189d74d6 Update flutter_sodium Vishnu Mohandas 2020-09-30 22:44:00 +05:30
  • 71720df54c Compute the hash on a separate isolate Vishnu Mohandas 2020-09-30 19:20:00 +05:30
  • 429b71de4a Await for async functions Vishnu Mohandas 2020-09-29 00:36:42 +05:30
  • a4323ad280 Reduce the memlimit for pwhash Vishnu Mohandas 2020-09-29 00:34:22 +05:30
  • bb85b8f774 Remove unnecessary libraries Vishnu Mohandas 2020-09-29 00:04:26 +05:30
  • fed7cda7f4 Replace scrypt with libsodium's abstractions Vishnu Mohandas 2020-09-29 00:02:53 +05:30
  • b06190fbf2 Replace AES with libsodium abstractions Vishnu Mohandas 2020-09-28 23:22:43 +05:30
  • a7944a3f93 Use sodium to generate random bytes Vishnu Mohandas 2020-09-28 23:06:04 +05:30
  • a089fd1e3b Remove unused AESCrypt library Vishnu Mohandas 2020-09-28 22:37:33 +05:30
  • 04e2edd4e7 Prevent multiple file download requests Vishnu Mohandas 2020-09-28 22:35:53 +05:30
  • f3446a9ed0 Don't prefetch files from server Vishnu Mohandas 2020-09-28 21:47:19 +05:30
  • caea7b55fc Remove redundant thirdparty dependency Vishnu Mohandas 2020-09-28 21:46:27 +05:30
  • 61c80bff3e Minor refactor Vishnu Mohandas 2020-09-28 21:46:04 +05:30
  • 03fb189396 Add some logging to fileutil Vishnu Mohandas 2020-09-28 21:45:21 +05:30
  • 4de5c56a3f Fix copypastah errors Vishnu Mohandas 2020-09-28 21:45:06 +05:30
  • f2b10a4168 Move expensive encryption and decryption operations to a separate isolate Vishnu Mohandas 2020-09-28 21:24:40 +05:30
  • fc44023887 Use sodium for all base64 to byte conversions Vishnu Mohandas 2020-09-28 21:24:14 +05:30
  • 2f43477052 Get shit to work on iOS Vishnu Mohandas 2020-09-28 00:25:11 +05:30
  • 64b61ad6f0 Remove unavailable progress indicator in downgraded Flutter Vishnu Mohandas 2020-09-28 00:24:53 +05:30
  • 3591e5863e Remove SVGs so that a Flutter downgrade is possible Vishnu Mohandas 2020-09-28 00:23:47 +05:30
  • ce308a8e0e
    Merge pull request #1 from ente-io/chacha20 Vishnu Mohandas 2020-09-27 22:54:19 +05:30
  • 760a085dfd Integrated Comlink. Pushkar Anand 2020-09-27 22:48:57 +05:30
  • 076c55d89c Replace button type to be compatible with Flutter's stable channel Vishnu Mohandas 2020-09-27 20:51:00 +05:30
  • ecf7bab5aa No package lock please 😬 Pushkar Anand 2020-09-27 18:42:44 +05:30
  • 16aa9a9eb6 Revert endpoint to OG staging Vishnu Mohandas 2020-09-26 23:15:41 +05:30
  • ab7fd7651a Use sodium to decrypt metadata and thumbnails Vishnu Mohandas 2020-09-26 22:46:16 +05:30
  • ba1b21b9fc Add dependency on libsodium-wrapper Vishnu Mohandas 2020-09-26 22:45:39 +05:30
  • d58956ea82 Set the standard parser Vishnu Mohandas 2020-09-26 18:06:02 +05:30
  • 4f1d33e548 Add package-lock Vishnu Mohandas 2020-09-26 14:26:14 +05:30
  • e574a0d8d2 Use Dart's file handling APIs correctly to append to a file Vishnu Mohandas 2020-09-26 03:54:33 +05:30
  • 05a67773e9 Minor refactor Vishnu Mohandas 2020-09-26 03:08:14 +05:30
  • d6e0671fe7 Rename variable Vishnu Mohandas 2020-09-26 02:28:19 +05:30
  • bd66a9a309 Simplify encryption code Vishnu Mohandas 2020-09-26 02:26:02 +05:30
  • 9f6cfebcb1 Ensure file deletion only after read Vishnu Mohandas 2020-09-26 01:55:03 +05:30
  • 37b7eb1601 Add extra logging to file Vishnu Mohandas 2020-09-26 01:54:52 +05:30
  • d99ac864af Make sure that video player controller exists before attempting to dispose it Vishnu Mohandas 2020-09-26 01:48:36 +05:30
  • a7582df1ed Convert nested parameters toMap before relaying them to server Vishnu Mohandas 2020-09-26 01:20:32 +05:30
  • 727a1684ce Switch to libsodium for file encryption and decryption Vishnu Mohandas 2020-09-26 00:37:32 +05:30
  • 44866f7ffe Introduce new models to encapsulate encryption attributes Vishnu Mohandas 2020-09-26 00:32:00 +05:30
  • 3bad6a7c94 Add API to chacha encrypt and decrypt a file Vishnu Mohandas 2020-09-25 21:15:00 +05:30
  • 74a43bf425 Add dependency on libsodium Vishnu Mohandas 2020-09-25 14:29:50 +05:30
  • d362c7286e Log encryption and decryption times Vishnu Mohandas 2020-09-25 14:28:48 +05:30
  • 739c377a76 Reduce the quality of thumbnails that are uploaded Vishnu Mohandas 2020-09-20 21:45:22 +05:30
  • 2fa452e01f Failing build fix. Pushkar Anand 2020-09-20 20:53:48 +05:30
  • f9ee680c8f Initial gallary chagnes. Pushkar Anand 2020-09-20 20:48:35 +05:30
  • 8e76f6b5bd Added web worker for parallel decryption. Pushkar Anand 2020-09-20 02:50:10 +05:30
  • 7bf47f545f Update API params for sync Vishnu Mohandas 2020-09-19 21:54:12 +05:30
  • c77fd5da11 Provide a hook to pause ongoing backups Vishnu Mohandas 2020-09-18 01:10:08 +05:30
  • 1cc7db043f Change the color of check boxes Vishnu Mohandas 2020-09-18 00:33:21 +05:30
  • a5028c9605 Display accurate sync state Vishnu Mohandas 2020-09-18 00:18:25 +05:30
  • 735d30583a Cache downloaded thumbnails and files for 365 days Vishnu Mohandas 2020-09-18 00:11:14 +05:30
  • 507d21fe18 Optimize location search experience Vishnu Mohandas 2020-09-17 20:41:35 +05:30
  • ced00f9267 Minor optimizations to the video widget Vishnu Mohandas 2020-09-17 20:00:39 +05:30
  • 6d8e7c1a43 Save files to cache with the extension Vishnu Mohandas 2020-09-17 19:59:42 +05:30
  • eb813699f0 Update iOS dependencies Vishnu Mohandas 2020-09-17 19:06:29 +05:30
  • ff0811dfe1 Safe guard against OOMs while uploading a video file Vishnu Mohandas 2020-09-17 17:57:02 +05:30
  • 305b7b470d Revert to the HTTPS URL Vishnu Mohandas 2020-09-17 17:56:50 +05:30
  • 8553a9f25b Add an option to configure the folders whose photos should be backed up Vishnu Mohandas 2020-09-17 17:23:17 +05:30
  • 7e37df2947 Trigger location search only after the user has entered at least 2 characters Vishnu Mohandas 2020-09-17 14:19:21 +05:30
  • df800b0e92 Add hint text to location search widget Vishnu Mohandas 2020-09-17 14:18:47 +05:30
  • bbe3286150 Changed API endpoint Pushkar Anand 2020-09-14 15:02:01 +05:30
  • 6e780daa80 Don't update the sync time on upload Vishnu Mohandas 2020-09-14 12:39:28 +05:30
  • 43c9fa37cd Fix duplicate file issue Vishnu Mohandas 2020-09-14 12:29:28 +05:30
  • aba132058d Add toString for KeyAttributes Vishnu Mohandas 2020-09-14 12:23:53 +05:30
  • 8c3cd95b52 Accessibility improvements. Pushkar Anand 2020-09-13 22:45:48 +05:30
  • d13448a18c Fix UX issues. Pushkar Anand 2020-09-13 22:31:36 +05:30
  • 92f37ede48 Added title. Pushkar Anand 2020-09-13 14:17:52 +05:30
  • 295d8eaa32 Changes to deploy on netlify Pushkar Anand 2020-09-13 14:11:01 +05:30
  • 5478a2e8a1 Using local and session storage to maintain session. Pushkar Anand 2020-09-13 12:00:07 +05:30
  • 2e10ea441e Login and key generation flow complete! Pushkar Anand 2020-09-13 03:23:41 +05:30
  • 9e641ba57d Return base64 encoded string Vishnu Mohandas 2020-09-10 05:18:11 +05:30
  • 87fd87987a Explicitly call the AESCrypt password as password Vishnu Mohandas 2020-09-10 03:57:54 +05:30