Commit Graph

25 Commits

Author SHA1 Message Date
Sergi Delgado Segura
d18944e2ba Add more contrains to load_keys and updates unit tests 2020-03-17 20:22:03 +01:00
Sergi Delgado Segura
66da6c6327 Missing files to rename 2020-03-17 19:37:05 +01:00
Sergi Delgado Segura
7c7ff909d7 pisa -> teos 2020-03-17 15:47:38 +01:00
Sergi Delgado Segura
ef4f6d1012 Updates cli to use the new key formats 2020-02-21 13:21:13 +01:00
Sergi Delgado Segura
ead74199e5 Adds schema on cli and e2e tests 2020-02-13 19:36:33 +01:00
Sergi Delgado Segura
02e159faac Moves EncryptedBlob to common 2020-02-13 16:32:51 +01:00
Sergi Delgado Segura
d447debe54 Temporal fix for Cryptographer logs. Close #91 2020-02-11 20:22:51 +01:00
Sergi Delgado Segura
22ded55990 Renames pisa_cli to wt_cli 2020-02-11 18:37:12 +01:00
Sergi Delgado Segura
ee4269d047 Updates cli tests and adds some missing ones 2020-02-10 16:31:51 +01:00
Sergi Delgado Segura
3185ae124d Fixes paths on cli tests 2020-01-23 18:34:53 +01:00
Sergi Delgado Segura
93cb003360 Setup seed for cli and common unit tests to random values are replicable 2020-01-22 11:12:01 +01:00
Sergi Delgado Segura
3605590fa4 Updates cli unit tests to match the net post_data_to_add_appointment_endpoint method 2020-01-21 12:07:44 +01:00
Sergi Delgado Segura
d7e91d34e7 Updates cli test to expect an exception instead of False 2020-01-20 17:21:56 +01:00
Sergi Delgado Segura
db330ce353 Updates cli unit tests to match the bug fixes 2020-01-16 17:09:13 +01:00
Turtle
bd41c8b862 Add unit tests for remaining cli functions 2020-01-15 03:35:34 -05:00
Turtle
39208e4b14 Test new functions split off in pisa_cli 2020-01-15 03:35:34 -05:00
Sergi Delgado Segura
61663e89d7 Refactors tests folder to separate different modules
Each module has a different folder and they do not share methods now. At some point they should be split in different repos
2019-12-16 11:26:51 +01:00
Sergi Delgado Segura
df5dcbdfe9 Renames dispute_delta to to_self_delay and justice tx to penalty tx
Uses the naming convention followed by LN implementations and BOLTs
2019-12-11 12:45:05 +01:00
Sergi Delgado Segura
d39056a0cc Refactors signing/verifiying functionality to be part of the Cryptographer
- All encryption/decryption and signing/verifying calls are performed by the cryptographer now.

- The current signature format is temporal. We should define something not base on json.

- Some Cryptographer tests are still missing.

- The cli tests should be modified to fit this too.
2019-12-07 13:22:39 +01:00
Turtle
79d986677d Client signs appointment before sending it to server 2019-11-26 23:21:00 -05:00
Sergi Delgado Segura
20f296c9d4 Reformats code to match code guidelines 2019-11-07 15:47:35 +00:00
Salvatore Ingala
00a27b68e6 Various fixes from PR review 2019-11-07 15:04:21 +00:00
Salvatore Ingala
24a451c108 Avoiding long strings by using random dummy txids; code formatting 2019-11-07 15:04:21 +00:00
Salvatore Ingala
21db172727 Refactored pisa_cli to improve testability; added test with wrong signature returned 2019-11-07 15:04:21 +00:00
Salvatore Ingala
956d7091eb Initial tests for pisa-cli 2019-11-07 15:04:21 +00:00