From f2dd8e63a70ad4e5f9aada0faeac7e7b2f01bf92 Mon Sep 17 00:00:00 2001 From: Jiang Liu Date: Sun, 26 Mar 2023 23:22:27 +0800 Subject: [PATCH] deny: fix cargo deny warnings related to openssl Fix cargo deny warnings related to openssl. https://github.com/dragonflyoss/image-service/actions/runs/4522515576/jobs/7965040490 Signed-off-by: Jiang Liu --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- deny.toml | 5 +---- utils/Cargo.toml | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9dc01fdc852..985aabaf835 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1370,9 +1370,9 @@ checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" [[package]] name = "openssl" -version = "0.10.45" +version = "0.10.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b102428fd03bc5edf97f62620f7298614c45cedf287c271e7ed450bbaf83f2e1" +checksum = "518915b97df115dd36109bfa429a48b8f737bd05508cf9588977b599648926d2" dependencies = [ "bitflags", "cfg-if", @@ -1411,9 +1411,9 @@ dependencies = [ [[package]] name = "openssl-sys" -version = "0.9.80" +version = "0.9.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23bbbf7854cd45b83958ebe919f0e8e516793727652e27fda10a8384cfc790b7" +checksum = "666416d899cf077260dac8698d60a60b435a46d57e82acb1be3d0dad87284e5b" dependencies = [ "autocfg", "cc", diff --git a/Cargo.toml b/Cargo.toml index 8577acec5f4..a7da30efc74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,7 @@ tar = "0.4.38" tokio = { version = "1.24", features = ["macros"] } # Build static linked openssl library -openssl = { version = "0.10.45", features = ["vendored"] } +openssl = { version = "0.10.48", features = ["vendored"] } # pin openssl-src to bring in fix for https://rustsec.org/advisories/RUSTSEC-2022-0032 #openssl-src = { version = "111.22" } diff --git a/deny.toml b/deny.toml index a7c446e0dc8..48c7f660a6c 100644 --- a/deny.toml +++ b/deny.toml @@ -74,7 +74,6 @@ allow = [ "BSD-3-Clause", "BSD-2-Clause", "CC0-1.0", - "ISC", "Unicode-DFS-2016", ] # List of explictly disallowed licenses @@ -195,6 +194,4 @@ unknown-git = "warn" # if not specified. If it is specified but empty, no registries are allowed. allow-registry = ["https://github.com/rust-lang/crates.io-index"] # List of URLs for allowed Git repositories -allow-git = [ - "https://github.com/cloud-hypervisor/micro-http.git" -] +#allow-git = [ ] diff --git a/utils/Cargo.toml b/utils/Cargo.toml index 0cb27df8907..65aa0920a6d 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -15,7 +15,7 @@ libc = "0.2" log = "0.4" lz4-sys = "1.9.4" lz4 = "1.24.0" -openssl = { version = "0.10.45", features = ["vendored"], optional = true } +openssl = { version = "0.10.48", features = ["vendored"], optional = true } serde = { version = ">=1.0.27", features = ["serde_derive", "rc"] } serde_json = ">=1.0.9" sha2 = "0.10.0"