Commit Graph

583 Commits

Author SHA1 Message Date
Sergi Delgado Segura
e3521188a7 Updates circleci
The sandbox won't be needed anymore, so the test env can be made simpler. Forks can be simulated via invalidateblock and reconsiderblock
2020-03-16 17:44:11 +01:00
Sergi Delgado Segura
67942450e6 Add some pending fixes (typos and tests) 2020-03-16 16:11:08 +01:00
Sergi Delgado Segura
b3672ec02c Updates hardcoded pisa_pk with compressed pk 2020-02-21 14:15:56 +01:00
Sergi Delgado Segura
39d7f66f77 Updates generate_key to be compatible with coincurve 2020-02-21 13:35:54 +01:00
Sergi Delgado Segura
429cb532b5 Updates e2e tests signature verification 2020-02-21 13:22:26 +01:00
Sergi Delgado Segura
06c51ce361 Fixes wrong test 2020-02-21 13:21: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
1d6af6d193 Adds new dependencies 2020-02-21 13:19:21 +01:00
Sergi Delgado Segura
1837baed2a Updates unit tests to use the new key formats 2020-02-21 13:18:56 +01:00
Sergi Delgado Segura
3db5012145 Updates Watcher docs 2020-02-21 13:17:49 +01:00
Sergi Delgado Segura
6ed6d559fb Updates inspector to work with the new public key format and verification methods. Includes unit tests 2020-02-21 13:16:11 +01:00
Sergi Delgado Segura
1a32686bc8 Adds unit tests for new Cryptographer functions and updates old ones 2020-02-21 13:14:26 +01:00
Sergi Delgado Segura
b712e3df0c Changes sign/verify functions to match the ones used by lnd and c-lightning
- Replaces cryptography for coincurve for the signature / recovery operations
- Fixes return types of ecrypt, decrypt to be str (gets rid of rtype)
2020-02-21 13:11:06 +01:00
Sergi Delgado Segura
99a0add1f6 Merge pull request #97 from sr-gi/last-fixes-before-alpha
Last fixes before alpha
2020-02-17 15:56:04 +01:00
Sergi Delgado Segura
3cfe3edfa9 Typos and PISA-> teos 2020-02-17 15:52:10 +01:00
Sergi Delgado Segura
6970e74da5 Fixes outdated messages 2020-02-17 14:16:58 +01:00
Sergi Delgado Segura
94eb763bac PISA server -> teos/tower/the eye of satoshi 2020-02-17 13:27:14 +01:00
Sergi Delgado Segura
3ee8d9f2cb Fixes common test imports 2020-02-17 13:06:19 +01:00
Sergi Delgado Segura
f55fe17f36 Merge pull request #96 from sr-gi/fixes-before-alpha
Fixes before alpha
2020-02-17 12:57:34 +01:00
Sergi Delgado Segura
07aa9a73ee Adds debug logging of all request to track possible bugs (stored in file only) 2020-02-17 12:21:53 +01:00
Sergi Delgado Segura
defe946b2c Adds a more verbose return for server errors 2020-02-17 11:18:32 +01:00
Sergi Delgado Segura
5b32befade Removes logging txids list from every block
The list of transactions can be queried afterwards and it is currently flooding the log files. I may consider putting it back once we have a log parser, but it seems pretty unnecessary.
2020-02-17 10:41:02 +01:00
Sergi Delgado Segura
f6d95514aa Adds alpha release restrictions to PISA_API.md 2020-02-16 17:57:52 +01:00
Sergi Delgado Segura
605726751a Updates README with 2kib limitation for encrypted_blob 2020-02-16 17:55:40 +01:00
Sergi Delgado Segura
fc24a4e8c9 Fixes start_time range log 2020-02-16 17:42:10 +01:00
Sergi Delgado Segura
4406beb5cd Limits the encrypted_blob size to 2Kib for the alpha 2020-02-16 17:41:02 +01:00
Sergi Delgado Segura
6e737b735c Logs real IP if API is behind a reverse proxy 2020-02-15 19:24:20 +01:00
Sergi Delgado Segura
e1f14fddc1 Fixes typos and updates variable names in cli/PISA_API 2020-02-14 16:47:25 +01:00
Sergi Delgado Segura
e9a9ccf440 Fixes punctuation and typos on cli/README 2020-02-14 16:40:02 +01:00
Sergi Delgado Segura
244c04cb0d Fixes some typos 2020-02-14 16:31:04 +01:00
Salvatore Ingala
1a91a68d52 typo, bash_rc ==> bashrc 2020-02-14 15:21:58 +00:00
Sergi Delgado Segura
0fd74bc618 Updates README with alpha start/end time restrictions 2020-02-14 14:40:46 +01:00
Sergi Delgado Segura
ec8418294b Changes to_self_delay restrictions to fit the nLockTime field 2020-02-14 14:39:51 +01:00
Sergi Delgado Segura
99a9b2f33e Improve return messages from 83df910d5954bf1943e504b84e3aa5e0eb8b21d7 2020-02-14 14:39:50 +01:00
Sergi Delgado Segura
4c9ddd0827 Sets limits for star/end time and to_self_delay for the alpha 2020-02-14 14:39:43 +01:00
Sergi Delgado Segura
de2036b19b Fixes cli console log levels so Cryptographer's sensitive info is only logged in disk 2020-02-14 12:42:47 +01:00
Sergi Delgado Segura
ead74199e5 Adds schema on cli and e2e tests 2020-02-13 19:36:33 +01:00
Sergi Delgado Segura
1471e89855 Adds exception handling for no schema and timeout 2020-02-13 19:24:22 +01:00
Sergi Delgado Segura
452dbb6bee Updates check_appointment to get_appointment and justice to penalty 2020-02-13 19:02:30 +01:00
Sergi Delgado Segura
43975df894 Changes cli to be protocol agnostic and defines https on config file 2020-02-13 19:00:15 +01:00
Sergi Delgado Segura
3ba5db533d Fixes json parsing of None when no json was postesd to the API
h/t @yahgwai for finding this.
2020-02-13 18:42:00 +01:00
Sergi Delgado Segura
f24bb75e07 Fixes formatting issues in cli/README 2020-02-13 17:45:43 +01:00
Chris Buckland
f00e4562e6 Reformatted json appointment block 2020-02-13 17:30:04 +01:00
Sergi Delgado Segura
3b5ff2e92c Removes get_block_count endpoint
get_block_count was only for dummy testing and it's not used anymore
2020-02-13 16:59:06 +01:00
Sergi Delgado Segura
7e29824452 Improves API log and adds logs for get_appointment 2020-02-13 16:51:44 +01:00
Sergi Delgado Segura
adf883868e Improves config section 2020-02-13 16:42:29 +01:00
Sergi Delgado Segura
e2e27d3e9c Adds config file section to install 2020-02-13 16:34:22 +01:00
Chris Buckland
d8977acd2d Typo 2020-02-13 16:34:19 +01:00
Sergi Delgado Segura
02e159faac Moves EncryptedBlob to common 2020-02-13 16:32:51 +01:00
Sergi Delgado Segura
6e40938733 Updates PISA server endpoint 2020-02-13 13:35:59 +01:00