Commit graph

77 commits

Author SHA1 Message Date
asonix
983d48d76a Don't depend on bytes 0.5 2021-02-03 19:06:39 -06:00
asonix
d04612a729 Update to actix-web 4.0 beta.1 2021-02-03 19:02:19 -06:00
asonix
894001efe6 Update reqwest client lib 2021-02-03 16:51:12 -06:00
asonix
139ff58466 Fix sha3 feature 2020-09-29 22:09:35 -05:00
asonix
ce881b18e1 Switch other spawn blocking call oops 2020-09-29 20:05:42 -05:00
asonix
88a7ecce0d Use spawn blocking instead of block in place 2020-09-29 20:03:12 -05:00
asonix
3c73552ff2 Fix feature builds 2020-09-29 19:48:00 -05:00
asonix
d6f7602e31 Update base-crate dependency 2020-09-29 19:10:31 -05:00
asonix
242fdc8519 Update readmes, license 2020-09-29 19:08:34 -05:00
asonix
133e081740 Add methods for explicit mastodon compat, requiring digest
Update actix library with new methods
Build reqwest client with feature parity to actix client
2020-09-29 18:58:06 -05:00
asonix
baceb6fa50 Update to stable dependencies 2020-09-13 19:22:38 -05:00
asonix
d72404debf bump version 2020-09-07 16:44:22 -05:00
asonix
2c031a7a1d Add ability to set host header 2020-09-07 16:42:06 -05:00
asonix
7538969a0b Bump version, remove log 2020-07-24 17:57:13 -05:00
asonix
aa95ef20d4 Change timestamp parsing 2020-07-24 17:48:00 -05:00
asonix
09f189c1f4 Debug hm pieces 2020-07-24 17:25:15 -05:00
asonix
7db643fc0c Make digest middleware clone 2020-07-06 10:16:41 -05:00
asonix
cd1a824ebb Move to partial updates for verification, put it on the threadpool 2020-07-01 17:27:34 -05:00
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