diff --git a/Cargo.lock b/Cargo.lock index fdddf36..f74d358 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1569,7 +1569,6 @@ version = "0.20.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "539a2bfe908f471bfa933876bd1eb6a19cf2176d375f82ef7f99530a40e48c2c" dependencies = [ - "log", "ring", "sct", "webpki", diff --git a/lib/CHANGELOG.md b/lib/CHANGELOG.md index 68d18b1..5312a40 100644 --- a/lib/CHANGELOG.md +++ b/lib/CHANGELOG.md @@ -15,6 +15,8 @@ The concept of SemVer is applied to the daemon/client API, but not the library A - Make `TaskToRestart::path` and `TaskToRestart::command` optional. - Make `EditMessage::path` and `EditMessage::command` optional. - The `children` flag has been removed for the `Start`-,`Pause`-,`Kill`- and `ResetMessage`. +- No longer support TLS 1.2 certificates, only accept version 1.3. + All generated certificates were 1.3 anyway, so there shouldn't be any breakage, except users created their own certs. ### Added diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 0c5ecd6..ed0fa05 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -23,7 +23,7 @@ dirs = "4" rand = "0.8" rcgen = "0.9" rev_buf_reader = "0.3" -rustls = "0.20" +rustls = { version = "0.20", default-features = false } rustls-pemfile = "1" serde_cbor = "0.11" serde_yaml = "0.9" @@ -31,7 +31,7 @@ shellexpand = "2.1" strum = "0.24" strum_macros = "0.24" thiserror = "1" -tokio-rustls = "0.23" +tokio-rustls = { version = "0.23", default-features = false } command-group = { workspace = true } log = { workspace = true }