Commit graph

109 commits

Author SHA1 Message Date
asonix
2366c9a917 Bump version for actix-web 3.0 compat 2020-06-28 12:09:12 -05:00
asonix
2ae63d35c0 Use actix-web 2.0 2020-06-25 20:13:05 -05:00
asonix
e8587ca162 Bump version 2020-06-10 17:16:21 -05:00
asonix
b0080ae668 Update sha2 and sha3 2020-06-10 17:15:19 -05:00
asonix
85932442fe Clippy 2020-04-25 20:41:21 -05:00
asonix
a0974299c5 Clippy 2020-04-25 20:31:38 -05:00
asonix
1997d54b36 Only mark required header as in-use if it's included in the signing string 2020-04-23 14:46:14 -05:00
asonix
597a61fb4b Make note about Date header in masto compat 2020-04-23 13:52:57 -05:00
asonix
2daa7f8077 Bump version 2020-04-23 12:57:14 -05:00
asonix
90660b7f19 Add ability to require headers in signature 2020-04-23 12:54:56 -05:00
asonix
08686beb8f impl Display for Algorithm, own values in actix verifier 2020-04-22 17:15:32 -05:00
asonix
3e83434eff Bump version in readme 2020-04-21 13:05:04 -05:00
asonix
6935604d0f Add missing .await? to README 2020-04-21 13:04:25 -05:00
asonix
0175c5e1af Update deps 2020-04-21 13:00:11 -05:00
asonix
074d091b05 Add lemmy to toplevel readme 2020-04-21 12:55:46 -05:00
asonix
40a3c283d7 Add notice about lemmy's license 2020-04-18 14:36:53 -05:00
asonix
a38b6aa1ed Don't use async-trait 2020-03-30 00:53:45 -05:00
asonix
20cad6bea8 Try async trait, web block on client signing 2020-03-29 22:21:09 -05:00
asonix
dbd852156b Don't use Rc<RefCell<>> 2020-03-25 11:00:37 -05:00
asonix
7af4f07a97 Add logging in actix crate 2020-03-19 21:36:39 -05:00
asonix
4feff4a894 Change info to debug 2020-03-19 20:08:56 -05:00
asonix
45f7dbe532 Bump version 2020-03-17 18:56:04 -05:00
asonix
b1224f2774 Allow for generating requests without created field 2020-03-17 18:54:00 -05:00
asonix
df4ac1e2cf Make signature header lowercase as per h2 requirements 2020-03-17 15:12:10 -05:00
asonix
760dedaade Add method to retrieve key_id from request data 2020-03-17 14:47:00 -05:00
asonix
aaf8e16db4 Add basic digest logging
handle differing digest name cases
2020-03-17 14:28:04 -05:00
asonix
926ed7fc56 Merge branch 'master' of git.asonix.dog:Aardwolf/http-signature-normalization 2020-03-15 19:30:17 -05:00
asonix
7f98235a37 Bump http-signature-normalization version, update actix to 3.0 2020-03-15 19:29:47 -05:00
Aode
3cc6a71278 Remove unneeded clone 2020-02-17 16:57:07 -06:00
Aode
8acbcaea62 Make use of body inspection rather than body mapping 2020-02-17 16:38:13 -06:00
asonix
ebeee051bf Verify digest without consuming body 2020-01-19 17:11:40 -06:00
asonix
421eb3520e Fix header strings 2020-01-17 18:35:30 -06:00
asonix
1202b7ff43 Simplify naming 2020-01-17 17:13:15 -06:00
asonix
1d37ebb812 Simplify passing verifier 2020-01-17 17:09:05 -06:00
asonix
51bd0ad1ef Implement DigestVerify for Tuples 2020-01-17 16:59:42 -06:00
asonix
a2bc8c03ee Implement DigestVerify for Vec, &mut [] 2020-01-17 16:56:22 -06:00
asonix
77ecf6eaa7 Include digest verification 2020-01-17 16:31:44 -06:00
asonix
029ada114a Add prepare_unverified for warp
also Cargo fmt
2019-12-31 18:23:33 -06:00
asonix
58871c67ac Expose signature and Signing String 2019-12-31 18:10:42 -06:00
asonix
08be4047ef Add warp 2019-12-30 16:53:36 -06:00
asonix
0673b818e9 Bump http to 2.0 2019-12-30 15:02:31 -06:00
asonix
ee218f4c2d Update cargo tomls 2019-09-21 11:34:50 -05:00
asonix
4b2b63143c Prepare for release 2019-09-21 11:29:41 -05:00
asonix
6f0ff4ca5f Remove verify trait to encourage middleware use 2019-09-13 18:33:54 -05:00
asonix
f4139af189 Add Verified FromRequest types for optional middlewares 2019-09-13 18:27:04 -05:00
asonix
fef18d96db Check key-id 2019-09-13 18:12:12 -05:00
asonix
f8791f770b Update cargo toml 2019-09-13 18:09:30 -05:00
asonix
9c24eb5566 Alter type specification in client example 2019-09-13 18:07:44 -05:00
asonix
686e52213e Add Http Signature verification middleware and...
Move base64 out of base lib
2019-09-13 17:56:06 -05:00
asonix
c468513d5a Use Failure in more places 2019-09-12 20:30:34 -05:00