Commit graph

603 commits

Author SHA1 Message Date
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 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 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 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 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 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 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
Vishnu Mohandas a5028c9605 Display accurate sync state 2020-09-18 00:18:25 +05:30
Vishnu Mohandas 735d30583a Cache downloaded thumbnails and files for 365 days 2020-09-18 00:11:14 +05:30
Vishnu Mohandas 507d21fe18 Optimize location search experience 2020-09-17 20:41:35 +05:30
Vishnu Mohandas ced00f9267 Minor optimizations to the video widget 2020-09-17 20:00:39 +05:30
Vishnu Mohandas 6d8e7c1a43 Save files to cache with the extension 2020-09-17 19:59:42 +05:30
Vishnu Mohandas ff0811dfe1 Safe guard against OOMs while uploading a video file 2020-09-17 17:57:02 +05:30
Vishnu Mohandas 305b7b470d Revert to the HTTPS URL 2020-09-17 17:56:50 +05:30
Vishnu Mohandas 8553a9f25b Add an option to configure the folders whose photos should be backed up 2020-09-17 17:23:17 +05:30
Vishnu Mohandas 7e37df2947 Trigger location search only after the user has entered at least 2 characters 2020-09-17 14:19:21 +05:30
Vishnu Mohandas df800b0e92 Add hint text to location search widget 2020-09-17 14:18:47 +05:30
Vishnu Mohandas 6e780daa80 Don't update the sync time on upload 2020-09-14 12:39:28 +05:30
Vishnu Mohandas 43c9fa37cd Fix duplicate file issue 2020-09-14 12:29:28 +05:30
Vishnu Mohandas aba132058d Add toString for KeyAttributes 2020-09-14 12:23:53 +05:30
Vishnu Mohandas 9e641ba57d Return base64 encoded string 2020-09-10 05:18:11 +05:30
Vishnu Mohandas 87fd87987a Explicitly call the AESCrypt password as password 2020-09-10 03:57:54 +05:30
Vishnu Mohandas db3869fa58 Use existing raw API for steel crypt 2020-09-10 03:00:04 +05:30
Vishnu Mohandas dbdf8ac935 Extract code to fetch diff to a separate class 2020-09-10 02:54:03 +05:30
Vishnu Mohandas 69a6fb9200 Rename file 2020-09-10 02:47:21 +05:30
Vishnu Mohandas 5659adf384 Minor reformatting 2020-09-10 02:42:20 +05:30
Vishnu Mohandas 94a41a72c9 Remove all assumptions related to key attribute encoding 2020-09-10 02:39:41 +05:30
Vishnu Mohandas 5fffea1824 Remove single line hash function 2020-09-10 02:22:18 +05:30
Vishnu Mohandas d9a583a46c Ensure that CBC is always the chosen mode of encryption 2020-09-10 02:17:51 +05:30
Vishnu Mohandas 4cd93610f7 Make no assumptions about the encoding type of the key 2020-09-10 01:01:14 +05:30
Vishnu Mohandas 79b27084f5 Display key attributes in debug builds 2020-09-09 19:34:11 +05:30
Vishnu Mohandas 1f98f8ca8d Modify steel crypt to expose a hashBytes function that does not assume the encoding of the inputs or output 2020-09-09 14:35:24 +05:30
Vishnu Mohandas 3a539ea0aa Update staging endpoint 2020-09-06 13:56:55 +05:30
Vishnu Mohandas 1b2aa9c998 Wait for the configuration to be persisted 2020-09-06 12:00:44 +05:30
Vishnu Mohandas cde0eccc60 Remove redundant base64 encoding 2020-09-06 12:00:26 +05:30
Vishnu Mohandas 6f05e25354 Fix typo 2020-09-06 11:59:46 +05:30
Vishnu Mohandas 831de35e9c Update file upload API 2020-09-06 11:59:30 +05:30
Vishnu Mohandas c61368f7f2 Update structure of a file object 2020-09-06 11:59:03 +05:30
Vishnu Mohandas 29ac224785 Set the key attributes on server post login 2020-09-05 15:08:03 +05:30
Vishnu Mohandas 46d9c45914 Remove unused widgets 2020-09-05 14:59:56 +05:30
Vishnu Mohandas bc36bf8f5e Verify the correctness of the passphrase entered 2020-09-05 14:23:23 +05:30
Vishnu Mohandas a5d3305cbf Encrypt every file with a separate key 2020-09-03 22:20:26 +05:30
Vishnu Mohandas aa2890107f Add API to use AesCrypt to encrypt and decrypt data directly 2020-09-03 21:08:46 +05:30
Vishnu Mohandas 81db6e73d1 Display the full month in billing details 2020-08-29 09:34:59 +05:30
Vishnu Mohandas 8dc5bad44c Integrate support chat 2020-08-29 09:22:12 +05:30
Vishnu Mohandas fc76a77355 Add a support section within settings 2020-08-29 06:09:52 +05:30
Vishnu Mohandas ae99549110 Add settings screen 2020-08-29 05:20:34 +05:30
Vishnu Mohandas a37260d647 Use existing dio instance 2020-08-29 05:20:18 +05:30
Vishnu Mohandas 617ea34f57 Upload data to the presigned s3 bucket URL 2020-08-27 20:11:56 +05:30
Vishnu Mohandas 7a34da5588 Add screen to let a returning user enter her existing passphrase 2020-08-26 08:04:13 +05:30
Vishnu Mohandas 9220f2bef8 Let users set their passphrase on sign up 2020-08-26 07:13:10 +05:30
Vishnu Mohandas 355d87c3f2 Remove useless illustration 2020-08-26 06:23:22 +05:30
Vishnu Mohandas da1d4830e2 Move the logic of deeplink initialization to the home widget 2020-08-26 05:56:07 +05:30
Vishnu Mohandas fd074e96ee Simplify EmailEntryPage 2020-08-26 04:32:43 +05:30
Vishnu Mohandas 12a1ccd8cd Let the user resend emails 2020-08-26 04:09:11 +05:30
Vishnu Mohandas 739c69da22 Breaking changes to OTT verification screens 2020-08-25 11:53:51 +05:30
Vishnu Mohandas ddb2c7dc82 Update UI for the OTT sign in flow 2020-08-25 11:30:19 +05:30
Vishnu Mohandas 8a101af009 Enable OTT verification by email 2020-08-25 11:21:56 +05:30
Vishnu Mohandas b98566459a Add email entry page 2020-08-25 09:40:05 +05:30
Vishnu Mohandas 3f385e63e9 Update app theme 2020-08-25 06:24:32 +05:30
Vishnu Mohandas 0c70cd96fd Fix crash on attempting to share multiple large files 2020-08-25 05:29:57 +05:30
Vishnu Mohandas 2458d5f35c Prefix with _ for consistency 2020-08-22 04:58:52 +05:30
Vishnu Mohandas 1ad3d1f320 Remove unnecessary try-catch block 2020-08-22 04:58:21 +05:30
Vishnu Mohandas f124edecb1 Subscribe to ente://deeplinks 2020-08-22 04:57:29 +05:30