Commit Graph

74 Commits (5981ee16d896c1df401a41f3907050a588fbd705)

Author SHA1 Message Date
Bob Mottram 7345381f85 Debug 2021-03-14 15:25:49 +00:00
Bob Mottram 94c4b31e39 Extra debug on http verify 2021-03-14 15:00:43 +00:00
Bob Mottram 8bf9607cda Also log headers 2021-03-14 12:18:05 +00:00
Bob Mottram 9ddda0b9e0 More debug 2021-03-14 12:09:56 +00:00
Bob Mottram 8c2b1e3018 Captalize header parts 2021-03-14 11:53:13 +00:00
Bob Mottram 3d1c440584 Support for new style of http signatures 2021-02-22 18:20:33 +00:00
Bob Mottram 56e9130287 Unit test for verifying new http signature type 2021-02-22 14:03:24 +00:00
Bob Mottram 4e2487aa27 Support for newer http signature specification 2021-02-22 11:13:27 +00:00
Bob Mottram a4b74c70db Note 2021-02-21 22:51:08 +00:00
Bob Mottram 0e9aa4766f Move jsonld signatures to python3-cryptography 2021-02-04 18:18:31 +00:00
Bob Mottram d6f7ad20a3 Using python3-cryptography
Roughtly 18 times speedup on http signatures
2021-02-04 16:30:32 +00:00
Bob Mottram 22984cd16f Revert "Test switching from pycryptodome to python3-cryptography"
This reverts commit bb28858c9e.
2021-02-03 21:21:57 +00:00
Bob Mottram bb28858c9e Test switching from pycryptodome to python3-cryptography 2021-02-03 21:18:03 +00:00
Bob Mottram 2cdd458079 Tidying 2021-02-03 18:25:41 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 5cd9aa8d66 Enforce convention of underscore before local function names 2020-12-22 18:06:23 +00:00
Bob Mottram 15924d79b1 Tidying 2020-12-16 11:42:11 +00:00
Bob Mottram d853ba1978 Fix another port number bug 2020-12-16 11:38:40 +00:00
Bob Mottram 844f898b94 flake8 format 2020-04-03 12:05:30 +00:00
Bob Mottram 23bb250deb Remove trailing whitespace 2020-03-22 21:16:02 +00:00
Bob Mottram d0884fa04d Tidying 2020-03-22 20:36:19 +00:00
Bob Mottram 596d3a8747 cryptodome fallback 2020-03-04 09:59:08 +00:00
Bob Mottram f6869f9308 Use debian cryptodome package 2020-03-04 09:41:21 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram cd90434ce3 Variations on the theme 2019-11-12 19:32:23 +00:00
Bob Mottram a093472bee Comment 2019-11-12 19:23:57 +00:00
Bob Mottram 08c7177db5 Return to case 2019-11-12 19:20:55 +00:00
Bob Mottram 55194f95d5 Don't verify content length 2019-11-12 19:13:08 +00:00
Bob Mottram ff09bf0181 Handle mixed case 2019-11-12 19:04:12 +00:00
Bob Mottram 808b5a4c8b Separate cases 2019-11-12 18:48:29 +00:00
Bob Mottram 80a0560fed Extra test for content length 2019-11-12 18:21:52 +00:00
Bob Mottram 73ebebdcd1 More debug 2019-11-12 17:16:34 +00:00
Bob Mottram a3e7b0ed53 header format 2019-11-12 17:02:34 +00:00
Bob Mottram 9d7bff34ec Separate content-length check 2019-11-12 16:48:05 +00:00
Bob Mottram a37e401440 More debug 2019-11-12 15:25:47 +00:00
Bob Mottram 127a60280f Debug in http signature verification 2019-11-12 15:03:17 +00:00
Bob Mottram bc27329861 Capital L 2019-11-12 13:24:06 +00:00
Bob Mottram 9120444d09 content length as string 2019-11-12 13:15:45 +00:00
Bob Mottram 6deab18126 Add content langth to http signature 2019-11-12 13:01:56 +00:00
Bob Mottram 0192532293 Fixing non-ascii text 2019-11-09 21:39:04 +00:00
Bob Mottram 2b884be142 Include character encoding in content-type http header 2019-11-09 10:18:14 +00:00
Bob Mottram 779fc287d1 Version 1.0.0 2019-08-29 14:35:29 +01:00
Bob Mottram d9c8dc46c2 Tidying 2019-08-23 12:39:16 +01:00
Bob Mottram f0cc2359ad Check that header was not signed in the future 2019-08-23 12:37:34 +01:00
Bob Mottram a2e3208999 Comments 2019-08-23 12:31:46 +01:00
Bob Mottram bb6dfbd7f9 Make date check into a function 2019-08-23 12:30:37 +01:00
Bob Mottram c13173ed75 Mitigate replay attacks 2019-08-23 12:20:20 +01:00
Bob Mottram d05a416998 quieten some debug 2019-08-23 11:57:27 +01:00
Bob Mottram 896b56b3a0 Avoid post conversions between json and string after digest is calculated 2019-08-17 11:15:01 +01:00
Bob Mottram 1b1810ff8a Calculate message body digest from incoming bytes to avoid any json conversion issues 2019-08-16 18:19:23 +01:00