Commit graph

26510 commits

Author SHA1 Message Date
Vishnu Mohandas
86b60fd487 Add API to seal with a user's public key 2020-10-11 04:11:15 +05:30
Vishnu Mohandas
50a67acb75 Use the explicit sync-decrypt API 2020-10-11 04:10:18 +05:30
Vishnu Mohandas
bd879263f0 Add functionality to extract a decrypted collection key 2020-10-11 04:08:33 +05:30
Vishnu Mohandas
7e4519f9ef Update user service to accept both email and user IDs as input 2020-10-11 03:50:08 +05:30
Vishnu Mohandas
c252e03185 Fetch and persist collections on startup 2020-10-11 03:33:38 +05:30
Vishnu Mohandas
c66eb60d02 Introduce a CollectionsDB 2020-10-11 03:33:25 +05:30
Vishnu Mohandas
eb12d617de Trigger CollectionService sync from sync-service 2020-10-11 02:50:20 +05:30
Vishnu Mohandas
ef65350826 Remove redundant todo 2020-10-11 02:38:35 +05:30
Vishnu Mohandas
e6a73f882d Update UI to share a folder 2020-10-10 05:21:20 +05:30
Vishnu Mohandas
c9342e9cc8 Define a collection service 2020-10-10 05:21:12 +05:30
Vishnu Mohandas
ad8bca7fe7 Add a util function to share text 2020-10-10 05:17:14 +05:30
Vishnu Mohandas
792c606c7e Add a util function to display a button 2020-10-10 05:17:00 +05:30
Vishnu Mohandas
5b905e85f5 Set default button color to pink 2020-10-10 05:16:51 +05:30
Vishnu Mohandas
00d9a8d201 Integrate API to fetch public key of a user 2020-10-10 03:15:19 +05:30
Vishnu Mohandas
785481fccd Add a util to validate emails 2020-10-10 03:15:07 +05:30
Vishnu Mohandas
50646612ce Define model for a collection 2020-10-10 00:13:59 +05:30
Vishnu Mohandas
88c09ace89 Add sharing option for local folders within app bar 2020-10-10 00:02:26 +05:30
Pushkar Anand
3ab1d890e3
Merge pull request #2 from ente-io/libsodium
Migrate all cryptographic operations over to libsodium
2020-10-07 09:01:28 +05:30
Vishnu Mohandas
1330ef07d2 Switch to cryptobox keygen 2020-10-07 05:54:13 +05:30
Vishnu Mohandas
266e1984ae Update file creation API params 2020-10-07 05:26:49 +05:30
Vishnu Mohandas
2346d54838 File file decryption behavior 2020-10-07 05:26:37 +05:30
Vishnu Mohandas
c553183556 Fix table creation statement 2020-10-07 05:06:23 +05:30
Vishnu Mohandas
8da3f0c687 Remove more unnecessary models 2020-10-07 04:47:53 +05:30
Vishnu Mohandas
3f5d20027e Remove unnecessary model 2020-10-07 04:42:02 +05:30
Vishnu Mohandas
7f707d187e Refactor crypto util 2020-10-07 04:28:41 +05:30
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
Pushkar Anand
cdccfd3372 Fix crypto bug. 2020-10-03 20:20:10 +05:30
Vishnu Mohandas
ca9e1b49c1 Fix typo in key decryption 2020-10-03 20:11:19 +05:30
Pushkar Anand
ad1e90dfcc Moved libsodium to worker. 2020-10-03 19:51:56 +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
e67710b4b2 Send attributes in the correct format to server 2020-10-02 18:36:46 +05:30
Vishnu Mohandas
ddeb906cbb Update contract for verifying hash 2020-10-02 18:36:16 +05:30
Vishnu Mohandas
1f2b60f997 Fix TODO 2020-10-02 18:24:46 +05:30
Vishnu Mohandas
5d4dc2e671 Revert endpoint to staging 2020-10-01 17:21:36 +05:30
Vishnu Mohandas
ff72a22a78 Remove unused crypto utils 2020-10-01 17:18:52 +05:30
Vishnu Mohandas
d7ed746658 Sanitize the hash generated on mobile 2020-10-01 17:18:11 +05:30
Vishnu Mohandas
906e3cfc4a Verify the hash over a worker 2020-10-01 17:17:13 +05:30
Vishnu Mohandas
8b41415408 Use libsodium for key encryption and decryption 2020-10-01 06:59:24 +05:30
Vishnu Mohandas
31106f1eca Update crypto worker to pipe calls via the libsodium util 2020-10-01 06:58:52 +05:30
Vishnu Mohandas
212f8f2ccd Add a util that wraps all libsodium calls 2020-10-01 06:58:21 +05:30
Vishnu Mohandas
0daecf3924 Remove unused function 2020-10-01 04:44:20 +05:30
Vishnu Mohandas
07502e1bfc Add functions to hash and verify hashes using libsodium 2020-10-01 03:07:37 +05:30
Vishnu Mohandas
45033903cb Factor out the decryption logic 2020-10-01 02:59:27 +05:30
Vishnu Mohandas
51afe4d8fc Minor rename 2020-10-01 02:54:40 +05:30
Vishnu Mohandas
3559e68490 Merge crypto workers into one 2020-10-01 02:52:58 +05:30