Commit Graph

65 Commits (552b5cf6f0ad720d00bf7642782381f9f5992c6c)

Author SHA1 Message Date
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
Bob Mottram d2394b3a69 Fixing http signatures 2019-08-16 14:47:01 +01:00
Bob Mottram 174e166769 Fix digest encoding 2019-08-16 11:36:41 +01:00
Bob Mottram cf69c4568b decode body digest 2019-08-16 10:56:58 +01:00
Bob Mottram 81d990c066 activity content type 2019-08-16 10:12:47 +01:00
Bob Mottram d538e901a2 decode 2019-08-16 10:00:10 +01:00
Bob Mottram e86a01a9c4 Non-binary encoding for header list 2019-08-16 09:57:47 +01:00
Bob Mottram 92469ed199 Get host from post to inbox 2019-08-15 23:33:42 +01:00
Bob Mottram 0372da8ef1 Debug 2019-08-15 23:19:04 +01:00
Bob Mottram 977160eecf http signature fixes 2019-08-15 22:34:25 +01:00