Commit Graph

56 Commits (68a1a710feaed83155deeac01cdca319776fa0ec)

Author SHA1 Message Date
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
Bob Mottram ed050d48f5 Remove date 2019-08-15 19:24:32 +01:00
Bob Mottram 6855366b4c Remove date 2019-08-15 19:21:43 +01:00
Bob Mottram 81d77f9843 Extra http header fields 2019-08-15 18:22:39 +01:00
Bob Mottram 7815126f65 Exception handling for http signature check 2019-08-15 18:09:17 +01:00
Bob Mottram be1a061122 Include date in http signature 2019-08-15 10:08:18 +01:00
Bob Mottram d769c5b258 Run test in its own subdirectory 2019-08-09 10:46:33 +01:00
Bob Mottram e12f0994cf Fixing public key lookup 2019-07-04 15:36:29 +01:00
Bob Mottram 86aaff3c84 Option to use dat urls 2019-07-03 20:00:03 +01:00
Bob Mottram c2cc03c76a Change username to nickname 2019-07-03 10:40:27 +01:00