277 Commits

Author SHA1 Message Date
Sosthene
40dbc1b2ba Update pairing tests 2024-12-11 23:39:42 +01:00
Sosthene
a919c6d83d Rm dead code and minor fixes 2024-12-11 23:39:35 +01:00
Sosthene
1106d25ea1 Update create_response_prd 2024-12-11 23:39:09 +01:00
Sosthene
92f4d62c88 Update add_validation_token 2024-12-11 23:38:36 +01:00
Sosthene
f789b30372 Update update_process 2024-12-11 23:37:59 +01:00
Sosthene
166c7c993f Add create_diffs 2024-12-11 23:36:35 +01:00
Sosthene
2afc6c9a85 Update create_new_process 2024-12-11 23:35:50 +01:00
Sosthene
0c702de953 Rm handling of prd confirm 2024-12-11 23:34:51 +01:00
Sosthene
3ed94c7538 Update parse_cipher for prd update 2024-12-11 23:34:00 +01:00
Sosthene
1bf8d91991 Update UpdatedProcess with UserDiff 2024-12-11 23:30:14 +01:00
Sosthene
8f089fd3db Define UserDiff 2024-12-11 23:29:42 +01:00
Sosthene
af51c93087 Fix pairing test : add storages to RoleDefinition 2024-12-06 15:32:27 +01:00
Sosthene
8a8eaec4fd Update to latest api 2024-12-06 15:32:04 +01:00
Sosthene
4362012fcb Add evaluate_state api 2024-11-30 23:29:48 +01:00
Sosthene
bb1e5afb2f Replace is_linked() by is_paired() 2024-11-30 20:03:20 +01:00
Sosthene
1d5869561a [bug] take care of redundant local address when pairing 2024-11-30 20:02:55 +01:00
Sosthene
544c3256d6 [bug] pairing: roles needs validation when pairing 2024-11-30 20:01:40 +01:00
Sosthene
f95b6473e5 Add PcdUpdates and UserDiff 2024-11-29 12:24:05 +01:00
Sosthene
ed7c5e5b0c Minor updates 2024-11-29 11:52:30 +01:00
Sosthene
041cf55f58 Add UpdatedProcess type 2024-11-26 22:55:31 +01:00
Sosthene
e90473d8be Refactoring of the response api 2024-11-26 21:12:34 +01:00
Sosthene
ad632e40ce create_response_message takes the merkle root 2024-11-25 23:23:38 +01:00
Sosthene
ff47da3083 Minor fixes 2024-11-25 22:32:56 +01:00
Sosthene
0aa0c6817a parse_new_tx doesn't need fee_rate 2024-11-25 22:29:10 +01:00
Sosthene
6350b29379 Add get_new_keypair api 2024-11-25 22:28:49 +01:00
Sosthene
5c77ae1b4f ApiReturn secrets is Option<SecretsStore> with only new secrets 2024-11-19 23:55:24 +01:00
Sosthene
d6f2202627 Update pairing test 2024-11-19 22:04:25 +01:00
Sosthene
359312574f Fix response logic 2024-11-19 22:03:57 +01:00
Sosthene
0d522182d6 Update to latest common 2024-11-19 17:01:10 +01:00
Sosthene
93ae65ece7 Update pairing test 2024-11-12 18:02:41 +01:00
Sosthene
2463b8f05b Update api 2024-11-12 18:02:32 +01:00
Sosthene
494270b636 Clean up connect.rs test 2024-11-12 18:02:32 +01:00
Sosthene
124718a207 Update pairing.rs documentation 2024-10-31 15:54:24 +01:00
Omar Oughriss
30d7ddcf1a pairing.rs documentation 2024-10-31 14:58:30 +01:00
Sosthene
e9421f2e04 Fix connect.rs documentation 2024-10-30 16:06:52 +01:00
Omar Oughriss
bfa60aa023 Doc connect.rs 2024-10-30 15:26:08 +01:00
Sosthene
0a81ce12df [tests/pairing] Replace create_update_transaction with *message 2024-10-30 15:10:33 +01:00
Sosthene
7ba532cebe [tests/pairing] Add Alice and Bob secrets store 2024-10-30 15:09:27 +01:00
Sosthene
2910125bd1 Add connect logic 2024-10-29 12:55:02 +01:00
Sosthene
56cadb71f6 Remove CACHEDMESSAGES 2024-10-29 11:28:29 +01:00
078d2a0420 Ignore messages that are signed by ourselves 2024-10-17 14:30:09 +02:00
87113f5a34 Fix bug double mutex on processes 2024-10-17 14:29:39 +02:00
3372bcb1ed Add is_linking() api 2024-10-17 14:28:58 +02:00
d7cd98ffe8 Fix bug, dont' send a cipher to ourselves when updating 2024-10-15 11:53:14 +02:00
4d04e50a65 Fix bug, continue to next prd if unsuccessfully parsing pcd 2024-10-15 11:52:50 +02:00
Sosthene
8b65463cd3 Fix cipher parsing issue + refactoring 2024-10-14 13:24:57 +02:00
Sosthene
caf620dd65 create_faucet_msg returns only the content not the Envelope 2024-10-13 01:12:16 +02:00
Sosthene
43b4c5f4d2 Broaded scope for the mutex when parsing ciphers 2024-10-13 01:11:52 +02:00
Sosthene
d121e8f7b2 Fix bug with processes mutex in process_transaction 2024-10-13 01:04:07 +02:00
Sosthene
0c5ddefc4b Rm the shared_secrets from used messages 2024-10-12 22:54:39 +02:00