Commit Graph

32 Commits (e07d5cfcb471cd66cee486229257d868cd11703c)

Author SHA1 Message Date
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
Bob Mottram 306f9edf46 Tidying 2019-07-02 21:54:22 +01:00
Bob Mottram d160c060c9 Parameter types 2019-07-01 12:09:09 +01:00
Bob Mottram d9d5ce94dc Fix http signature with port number 2019-07-01 10:31:02 +01:00
Bob Mottram 8705b9e44c Move tests to their own file 2019-06-30 21:14:03 +01:00
Bob Mottram 6c85b39adc Include port with domain 2019-06-30 19:23:18 +01:00
Bob Mottram e5a03e0fe9 Initial 2019-06-28 19:55:29 +01:00