Commit graph

90 commits

Author SHA1 Message Date
Neeraj Gupta f5026ac071 Use initial 128bit as loginKey 2023-07-24 15:12:39 +05:30
Neeraj Gupta 94bad27956 Document method 2023-07-19 15:11:03 +05:30
Neeraj Gupta fe6b5d7037 Refactor 2023-07-19 12:22:19 +05:30
Neeraj Gupta 86e7716efc Undo formatting changes 2023-07-17 16:56:28 +05:30
Neeraj Gupta 51b36e7b8c Add support for registering srp_auth 2023-07-17 13:34:52 +05:30
Neeraj Gupta 796a6e128a SRP: Add method to derive loginKey from keyEncKey
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-07-13 16:12:04 +05:30
Neeraj Gupta d1b6caf40e
Fix: Gracefully handle key-generation on older iphones 2023-05-15 15:14:11 +05:30
ashilkn 922df0a98a Modify memories widget to adapt to different length of strings as title 2023-05-04 11:51:57 +05:30
Neeraj Gupta 12edb7a740
Fix bug: send publicMagicMetadata during upload 2023-05-02 17:31:55 +05:30
Neeraj Gupta b5fe6ede26
Assign taskname for computer tasks 2023-04-29 13:27:18 +05:30
Neeraj Gupta 4745a5a2f3
Initiate shared workers during app init 2023-04-29 12:33:38 +05:30
Neeraj Gupta 453a44cb82
Update computer pkg 2023-04-29 12:28:07 +05:30
vishnukvmd 2d85ee304a Hard-code Argon2id v1.3 as the password hashing algorithm 2023-02-28 13:44:52 +05:30
vishnukvmd bcc1348a7d Document functions exposed by CryptoUtil 2023-02-27 17:56:51 +05:30
vishnukvmd a4396beec4 Add comments about key derivation 2023-02-27 16:28:59 +05:30
vishnukvmd 589281e729 Add comment about key generation 2023-02-27 16:16:02 +05:30
vishnukvmd d3005be29f Merge branch 'main' into refactor_sodium 2023-02-14 11:21:19 +05:30
Neeraj Gupta ce4942c0db
Log mem and ops limit on failure 2023-02-05 01:38:16 +05:30
Neeraj Gupta 37abdca05d
Fix typo in comparision 2023-02-05 01:36:24 +05:30
vishnukvmd 80f36d1bd5 Move all calls to Sodium to CryptoUtil 2023-02-03 10:11:45 +05:30
Neeraj Gupta a9b9ffc736
Use async variante instead of sync 2023-01-07 09:12:56 +05:30
ashilkn 231a4214ae migrated crypto_util.dart to null safety 2022-09-21 18:09:40 +05:30
Neeraj Gupta 8734c94a4e
Merge branch 'master' into rewrite_device_sync 2022-09-20 23:24:47 +05:30
ashilkn 6ebd227538 made use of unused derived_key_results.dart file on crypto_util.dart 2022-09-13 09:54:40 +05:30
ashilkn eb7c1ec837 started incremental migration to null safety 2022-09-07 14:00:09 +05:30
Neeraj Gupta 460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
vishnukvmd 47505ae102 Execute dart format lib 2022-06-11 13:53:52 +05:30
vishnukvmd 3e306facf5 Apply dart fix for require_trailing_commas 2022-06-11 13:53:18 +05:30
vishnukvmd dd941e6e31 Add file hash to metadata 2021-08-18 17:37:50 +05:30
vishnukvmd 528b7da54e Remove all lengthSync ops 2021-08-09 12:04:42 +05:30
vishnukvmd 1d6fc95593 Remove all writeAsBytesSync ops 2021-08-09 12:04:42 +05:30
vishnukvmd e7dd26c69e Fix lint warnings 2021-07-22 12:21:59 +05:30
Vishnu Mohandas 51b1ef7e30 Move heavy decryption to a separate isolate 2021-05-04 21:13:19 +05:30
Vishnu Mohandas 078421b3b0 Make encrypt function async 2021-05-04 21:02:23 +05:30
Vishnu Mohandas 3f4238bef9 Binary search to find appropriate mem and ops limits 2021-04-02 03:24:12 +05:30
Vishnu Mohandas 5d24c29dd4 Init libsodium 2021-04-02 00:33:55 +05:30
Vishnu Mohandas 8cb7f885b3 Default to sensitive limits for computation and memory for key derivation 2021-03-18 14:57:59 +05:30
Vishnu Mohandas 317bbf8f18 Remove all instances of kekHash 2021-03-18 13:39:02 +05:30
Vishnu Mohandas b6e5e810b3 Move computer initialization to CryptoUtil 2021-01-26 17:16:14 +05:30
Vishnu Mohandas d3d9e2bbf7 Rename passphrase to password 2021-01-05 19:57:02 +05:30
Vishnu Mohandas 51f083d290 Adopt API to update file if already uploaded 2020-11-30 23:15:21 +05:30
Vishnu Mohandas bae5c9bf7d Explicitly state the sync nature of the encryption API 2020-10-11 05:08:22 +05:30
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 1330ef07d2 Switch to cryptobox keygen 2020-10-07 05:54:13 +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