Commit Graph

  • e92384fc93 Add get_pairing_process_id() NicolasCantu 2025-01-30 16:06:48 +01:00
  • d99d4f0067 Renamed some variables for clarity + minor fixes NicolasCantu 2025-01-30 16:06:35 +01:00
  • 9dc7e62f8f [bug] unhandled error in parsing of prd update NicolasCantu 2025-01-30 16:04:08 +01:00
  • 04b467cc97 update_process also return commit_msg NicolasCantu 2025-01-24 12:44:05 +01:00
  • 060f1689af [bug] Add validation_tokens to commit_msg NicolasCantu 2025-01-22 11:41:28 +01:00
  • bdf75a6114 Remove unecessary check in create_update_message NicolasCantu 2025-01-22 10:46:24 +01:00
  • b2f7f68726 Check to for process updates NicolasCantu 2025-01-17 18:31:04 +01:00
  • 089b59136d Rename init_commitment to process_id NicolasCantu 2025-01-17 09:43:34 +01:00
  • 4232f9aa62 create_transaction_for_addresses freezes spent utxos to prevent accidental double spends NicolasCantu 2025-01-17 09:41:27 +01:00
  • cd48128255 create_connect_transaction takes addresses, not members NicolasCantu 2025-01-17 09:40:51 +01:00
  • 8e0e7d0128 [bug] roles_contains_member NicolasCantu 2025-01-15 17:40:58 +01:00
  • 6d82333a49 Replace new_state_merkle_root with state_id in UserDiff NicolasCantu 2025-01-15 14:38:32 +01:00
  • 7d0aa89387 Add children process validation method NicolasCantu 2025-01-15 13:05:01 +01:00
  • 3dab6ef2d6 [bug] when updating state with values, hash check would have failed if not all values updated NicolasCantu 2025-01-12 19:07:42 +01:00
  • 9896532713 Rm CachedMessage NicolasCantu 2025-01-07 09:24:06 +01:00
  • 49637d9b40 [bug] prd response doesn't trigger infinite responses loop NicolasCantu 2025-01-03 11:49:26 +01:00
  • de5eb1b8cd Update to latest common Sosthene00 2025-01-02 12:37:34 +01:00
  • 4c49cf1596 Merge branch 'get_update_proposals' into dev Sosthene 2024-12-30 10:41:20 +01:00
  • ee777bbcbc Update handle_prd get_update_proposals Sosthene 2024-12-17 23:55:28 +01:00
  • d54981f66e Minor fix in create_new_process Sosthene 2024-12-17 23:54:57 +01:00
  • 76ce2c0672 Update create_update_message Sosthene 2024-12-17 23:53:35 +01:00
  • cc8d64f6ce Add up_to_date_roles to UpdatedProcess Sosthene 2024-12-17 23:43:58 +01:00
  • f899719cc1 Update ProcessState with descriptions Sosthene 2024-12-12 16:47:36 +01:00
  • 40dbc1b2ba Update pairing tests Sosthene 2024-12-11 23:39:42 +01:00
  • a919c6d83d Rm dead code and minor fixes Sosthene 2024-12-11 23:39:35 +01:00
  • 1106d25ea1 Update create_response_prd Sosthene 2024-12-11 23:39:09 +01:00
  • 92f4d62c88 Update add_validation_token Sosthene 2024-12-11 23:38:36 +01:00
  • f789b30372 Update update_process Sosthene 2024-12-11 23:37:59 +01:00
  • 166c7c993f Add create_diffs Sosthene 2024-12-11 23:36:35 +01:00
  • 2afc6c9a85 Update create_new_process Sosthene 2024-12-11 23:35:50 +01:00
  • 0c702de953 Rm handling of prd confirm Sosthene 2024-12-11 23:34:51 +01:00
  • 3ed94c7538 Update parse_cipher for prd update Sosthene 2024-12-11 23:34:00 +01:00
  • 1bf8d91991 Update UpdatedProcess with UserDiff Sosthene 2024-12-11 23:30:14 +01:00
  • 8f089fd3db Define UserDiff Sosthene 2024-12-11 23:29:42 +01:00
  • af51c93087 Fix pairing test : add storages to RoleDefinition Sosthene 2024-12-06 15:32:27 +01:00
  • 8a8eaec4fd Update to latest api Sosthene 2024-12-06 15:32:04 +01:00
  • 4362012fcb Add evaluate_state api Sosthene 2024-11-30 23:29:48 +01:00
  • bb1e5afb2f Replace is_linked() by is_paired() Sosthene 2024-11-30 20:03:20 +01:00
  • 1d5869561a [bug] take care of redundant local address when pairing Sosthene 2024-11-30 20:02:55 +01:00
  • 544c3256d6 [bug] pairing: roles needs validation when pairing Sosthene 2024-11-30 20:01:40 +01:00
  • f95b6473e5 Add PcdUpdates and UserDiff Sosthene 2024-11-29 12:24:05 +01:00
  • ed7c5e5b0c Minor updates Sosthene 2024-11-29 11:52:30 +01:00
  • 041cf55f58 Add UpdatedProcess type Sosthene 2024-11-26 22:55:31 +01:00
  • e90473d8be Refactoring of the response api Sosthene 2024-11-26 21:12:34 +01:00
  • ad632e40ce create_response_message takes the merkle root Sosthene 2024-11-25 23:23:38 +01:00
  • ff47da3083 Minor fixes Sosthene 2024-11-25 22:32:56 +01:00
  • 0aa0c6817a parse_new_tx doesn't need fee_rate Sosthene 2024-11-25 22:29:10 +01:00
  • 6350b29379 Add get_new_keypair api Sosthene 2024-11-25 22:28:49 +01:00
  • 5c77ae1b4f ApiReturn secrets is Option<SecretsStore> with only new secrets Sosthene 2024-11-19 23:55:24 +01:00
  • d6f2202627 Update pairing test Sosthene 2024-11-19 22:04:25 +01:00
  • 359312574f Fix response logic Sosthene 2024-11-19 22:03:57 +01:00
  • 0d522182d6 Update to latest common Sosthene 2024-11-19 17:01:10 +01:00
  • 93ae65ece7 Update pairing test Sosthene 2024-11-08 13:00:33 +01:00
  • 2463b8f05b Update api Sosthene 2024-11-08 12:59:52 +01:00
  • 494270b636 Clean up connect.rs test Sosthene 2024-11-08 13:00:16 +01:00
  • 124718a207 Update pairing.rs documentation Sosthene 2024-10-31 15:54:24 +01:00
  • 30d7ddcf1a pairing.rs documentation Omar Oughriss 2024-10-31 14:58:30 +01:00
  • e9421f2e04 Fix connect.rs documentation Sosthene 2024-10-30 16:06:52 +01:00
  • bfa60aa023 Doc connect.rs Omar Oughriss 2024-10-30 15:26:08 +01:00
  • 0a81ce12df [tests/pairing] Replace create_update_transaction with *message Sosthene 2024-10-30 15:10:33 +01:00
  • 7ba532cebe [tests/pairing] Add Alice and Bob secrets store Sosthene 2024-10-30 15:09:27 +01:00
  • 2910125bd1 Add connect logic Sosthene 2024-10-29 12:55:02 +01:00
  • 56cadb71f6 Remove CACHEDMESSAGES Sosthene 2024-10-29 11:28:29 +01:00
  • 078d2a0420 Ignore messages that are signed by ourselves NicolasCantu 2024-10-17 14:30:09 +02:00
  • 87113f5a34 Fix bug double mutex on processes NicolasCantu 2024-10-17 14:29:39 +02:00
  • 3372bcb1ed Add is_linking() api NicolasCantu 2024-10-17 14:28:58 +02:00
  • d7cd98ffe8 Fix bug, dont' send a cipher to ourselves when updating NicolasCantu 2024-10-15 11:53:14 +02:00
  • 4d04e50a65 Fix bug, continue to next prd if unsuccessfully parsing pcd NicolasCantu 2024-10-15 11:52:50 +02:00
  • 8b65463cd3 Fix cipher parsing issue + refactoring Sosthene 2024-10-14 13:24:57 +02:00
  • caf620dd65 create_faucet_msg returns only the content not the Envelope Sosthene 2024-10-13 01:12:16 +02:00
  • 43b4c5f4d2 Broaded scope for the mutex when parsing ciphers Sosthene 2024-10-13 01:11:52 +02:00
  • d121e8f7b2 Fix bug with processes mutex in process_transaction Sosthene 2024-10-13 01:04:07 +02:00
  • 0c5ddefc4b Rm the shared_secrets from used messages Sosthene 2024-10-12 22:54:39 +02:00
  • 4b8d5c3611 Fix bug, parse_cipher keeps a cipher we can't decrypt Sosthene 2024-10-12 22:39:40 +02:00
  • 8ca4023d21 Fix bug with set_processes_cache Sosthene 2024-10-12 22:35:55 +02:00
  • cae49617d5 Upgrade pairing Sosthene 2024-10-10 16:55:36 +02:00
  • 7c9eecab7a Update api.rs for latest common dev Sosthene 2024-10-07 11:22:54 +02:00
  • a592001fdb Merge branch 'minimal_pcd_prd' into dev Sosthene 2024-10-02 16:22:39 +02:00
  • 6566f4c192 fix pairing tests Sosthene 2024-09-27 15:13:23 +02:00
  • 4bd1393306 fix pairing test Sosthene 2024-09-27 12:44:10 +02:00
  • 0dc14dee4a create_update_transaction returns NewTxMessage Sosthene 2024-09-26 10:45:01 +02:00
  • 589e8d1d1d Change new_tx return type to String Sosthene 2024-09-25 17:06:27 +02:00
  • 836f6cf900 Working pairing Sosthene 2024-09-25 12:51:23 +02:00
  • 1871dc9a5d Import MutexExt trait from common Sosthene 2024-09-23 12:44:20 +02:00
  • 56558703c3 Add response logic Sosthene 2024-09-23 12:33:32 +02:00
  • b904f4ec81 Process initial update Sosthene 2024-09-21 18:27:08 +02:00
  • b7bffe7678 Add more error control Sosthene 2024-09-02 14:45:35 +02:00
  • cf3278dd3d Update process creation Sosthene 2024-08-30 20:02:47 +02:00
  • 287f74136e Implement minimal prd/pcd, remove challenges Sosthene 2024-08-28 09:51:40 +02:00
  • 45628edb61 Add Process Sosthene 2024-08-20 12:22:03 +02:00
  • d073b12340 Update tests Sosthene 2024-08-15 16:19:29 +02:00
  • 361a8aa409 Update api Sosthene 2024-08-15 16:19:11 +02:00
  • b2cab53188 Break down parse_network_msg into parse_new_tx, parse_cipher Sosthene 2024-08-14 09:45:19 +02:00
  • ec47592581 Update create_faucet_msg() to return the actual message to send Sosthene 2024-08-13 14:28:19 +02:00
  • 08aea30e2b Rm data embedded in images Sosthene 2024-08-09 15:47:23 +02:00
  • 52382c96a1 All tests pass Sosthene 2024-08-09 15:45:02 +02:00
  • 9ce3918ff5 Add complete login test case Sosthene 2024-08-09 11:58:46 +02:00
  • d82e145f50 working login Sosthene 2024-08-01 12:26:26 +02:00
  • 30759027b0 Refactor the whole api for the new 2fa model + various improvements Sosthene 2024-07-19 23:11:16 +02:00
  • d737242bb5 New User creation Sosthene 2024-07-11 12:41:23 +02:00