Commit Graph

795 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
568d72a1ad Reenables user side signing 2020-03-17 19:37:23 +01:00
Sergi Delgado Segura
66da6c6327 Missing files to rename 2020-03-17 19:37:05 +01:00
Sergi Delgado Segura
68b1089cd7 Merge pull request #102 from sr-gi/renaming
Renaming
2020-03-17 17:04:37 +01:00
Sergi Delgado Segura
984fd48df2 Changes save_pk to output compressed pks 2020-03-17 17:01:00 +01:00
Sergi Delgado Segura
7c7ff909d7 pisa -> teos 2020-03-17 15:47:38 +01:00
Sergi Delgado Segura
15126618d5 Merge pull request #99 from sr-gi/lightning-signmessage-recoverpk
Lightning signmessage recoverpk
2020-03-17 11:54:53 +01:00
Sergi Delgado Segura
0bc0426186 Changes ports for bitcoind e2e and runs it earlier to give it time to boostrap 2020-03-17 11:50:28 +01:00
Sergi Delgado Segura
58dd2c7fe7 Merge pull request #101 from sr-gi/small-fixes
Simplifies circle-ci + small fixes
2020-03-17 11:27:06 +01:00
Sergi Delgado Segura
8a0cb4bf2a Updates pisa.conf for e2e and circle-ci conf 2020-03-17 11:21:37 +01:00
Sergi Delgado Segura
23dea42bfc Adds daemon to e2e bitcoin.conf 2020-03-17 11:14:44 +01:00
Sergi Delgado Segura
de6fa5ce12 Further updates circle-ci 2020-03-17 11:11:24 +01:00
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