Commit Graph

14 Commits

Author SHA1 Message Date
Salvatore Ingala
db522500c3 Switched to cryptography instead of ecdsa for signatures 2019-10-17 17:02:09 +08:00
Salvatore Ingala
9a103ad751 Updated generate_key tool to generate both public and private key files 2019-10-17 09:59:35 +08:00
Salvatore Ingala
c6db6eddb3 Using a PEM keyfile instead of a DER for the signing key 2019-10-17 09:59:34 +08:00
Salvatore Ingala
99db9a29ad Added signatures to appointment 2019-10-17 09:59:29 +08:00
Salvatore Ingala
9f25ef8603 Fixes from PR review 2019-10-10 18:22:33 +07:00
Salvatore Ingala
aea1d1f1e0 Fixes from PR review 2019-10-10 11:07:58 +07:00
Salvatore Ingala
dee93e5c62 Moved StructuredMessage and Logger to separate file; refactored pisa-cli logging using new format 2019-10-10 09:59:11 +07:00
Sergi Delgado Segura
ab1ad33e32 Adds Blob unittests and Blob sanity checks 2019-10-07 17:22:19 +01:00
Sergi Delgado Segura
10656c5955 Updates Blob Exception
Blob was raising general Exceptions when a ValueError should be a better match
2019-10-07 16:48:06 +01:00
Sergi Delgado Segura
76f0b1934a Client-side clean up 2019-10-07 15:59:52 +01:00
Sergi Delgado Segura
067efcca73 Clean unused imports and more cleanup 2019-10-07 11:58:28 +01:00
Sergi Delgado Segura
5ae210d893 Updates os.urandom to python3
All string generated with urandom(x) were using binascii + os.urandom + encode. In python3 os.urandom has a hex method.
2019-10-07 11:39:10 +01:00
Sergi Delgado Segura
0978d0bf9e Adds a bunch of comments related to the open issues. Clear old comments. 2019-08-12 14:02:41 +01:00
Sergi Delgado Segura
1cde4a2a11 refactors project structure 2019-08-12 13:24:04 +01:00