Commit graph

93 commits

Author SHA1 Message Date
5296587c39
chore: bump version 2024-08-29 20:50:52 +04:00
6a8d628546
feat/docs: add auto-redirect, rewrite doc for Client 2024-08-29 20:45:44 +04:00
d1fc9f278b
test: add real site test 2024-08-29 13:53:45 +04:00
fd6702d029
test: add simple test for client I/O 2024-08-29 13:39:23 +04:00
44d7461ea2
fix doctest 2024-08-29 13:39:08 +04:00
a77c3d89c8
refactor: move client I/O into a separate function 2024-08-29 11:09:50 +04:00
8cbeefb713
refactor: allow any IO in Response 2024-08-29 10:51:02 +04:00
35a4672340
fix(?): call flush() after writing, just in case 2024-08-28 19:22:57 +04:00
cefac047ef
chore(deps): cargo update 2024-08-28 19:13:50 +04:00
8e8fa85206
feat: actual cert verification ignoring UnknownIssuer 2024-08-28 19:03:13 +04:00
0e8d023880
refactor: rename allow_all->verifier, AllowAll->InternalCertVerifier 2024-08-28 17:19:18 +04:00
73addc33ca
refactor: delete unused certs::verifier 2024-08-28 17:17:04 +04:00
32b888b3c1
fix(SECURITY): return error on failed DANE verification
and add raw cert caching in DANE verificator
2024-08-28 17:08:05 +04:00
c3b50e4ecc
style: add impl Default 2024-08-28 14:51:32 +04:00
67864e4842
fix(docs): meant to be in a separate paragraph, not list item 2024-08-28 14:48:58 +04:00
686c894296
docs: update todo list 2024-08-28 14:47:29 +04:00
ef307f4983
refactor/feat: add cert verifier call, cleanup and extend error enum 2024-08-28 14:44:34 +04:00
04ebac7d6c
style: remove extra explicit lifetime 2024-08-28 14:44:10 +04:00
220a4a3316
fix: filter out non-full TLSA (we can't extract public key for now) 2024-08-28 14:42:27 +04:00
060aa4a1f7
style: shorten help message 2024-08-28 14:41:43 +04:00
49c46aeaf5
fix: finally, async-trait works 2024-08-21 16:01:21 +04:00
e042a139bf
refactor: rewrite self-signed cert verifier 2024-08-21 15:46:52 +04:00
4314df372b
add DnsClient arg to file_sscv init(), update main.rs example 2024-08-20 10:52:24 +04:00
9806eb6a02
refactor: remove webpki feature, prepare for next refactor 2024-08-20 10:51:42 +04:00
2feb039c11
small cleanup + doc 2024-08-20 10:45:08 +04:00
e77b785fa0
alias dane feature to hickory, remove dane.rs example 2024-08-19 11:35:18 +04:00
dc126d2e0f
feat/refactor: add DANE verification
should work, but most probably does not
2024-08-16 21:16:40 +04:00
05f22493be
refactor/feat: DnsClient as IP resolver in Client 2024-08-15 19:13:17 +04:00
de8333d164
fix(example): upd after changes in DnsClient API 2024-08-15 17:54:24 +04:00
60d7cfb310
style: cargo clippy --fix 2024-08-15 17:52:35 +04:00
3bce5e603f
docs: add doc-comments to new errors 2024-08-15 17:51:04 +04:00
446bf9f67b
refactor: rewrite cert::fingerprint once again 2024-08-15 17:47:43 +04:00
5b43635b62
feat: DNS client + DANE impl with Hickory 2024-08-15 16:56:21 +04:00
2a097fb800
fix: async DNS resolving 2024-08-09 18:49:08 +04:00
d6db194a1a
style: move "example" sections in manifest to bottom 2024-08-09 17:39:40 +04:00
cc8a62c19e
refactor: move webpki into separate feature, reorder deps 2024-08-09 17:37:16 +04:00
6e4722d060
docs: update todo 2024-08-09 13:07:50 +04:00
3359c3c9fd
feat: take Path in FileBasedCertVerifier::init 2024-08-09 12:41:23 +04:00
32895e5b65
docs: add doc-comments to rewritten certs::fingerprint 2024-08-09 11:16:38 +04:00
1fc73d0cab
refactor/feat: rewrite certs::fingerprint with generic data type…
…and allowing different bin2txt (getting ready for DANE)
2024-08-08 20:57:29 +04:00
6f91e705d3
docs: add doc-comments for crate::certs 2024-08-08 17:32:28 +04:00
9de12169a6
refactor: clean up errors; docs: add doc-comments to error.rs 2024-08-08 16:56:09 +04:00
03420c8e8d
docs: clarify which error is returned by Response::mime() 2024-08-08 16:37:56 +04:00
b150a71cc5
docs: some minor doc-comments in client::builder 2024-08-08 16:32:08 +04:00
37196caf75
docs: add doc-comments to client::response 2024-08-08 16:24:01 +04:00
de4903f1e6
refactor: move response.rs to client mod 2024-08-08 15:35:38 +04:00
e14efd6091
style: move with_tls_versions to top 2024-08-08 15:29:08 +04:00
148708ee68
feat: convert 1st digit of status firstly
…to avoid converting incorrect status codes to `StatusCode` enum.
I think it would give +0.001% to performance on invalid statuses :)
2024-08-08 15:26:37 +04:00
61828f18d2
docs: doc-comments for crate::status 2024-08-08 13:02:52 +04:00
39b1009048
docs: add doc-comments to lib.rs and client 2024-08-07 20:10:23 +04:00