Skip to content

Commit dfc0805

Browse files
committed
feat(crypto): CRP-1975: Add metrics observations if cleanup of secret key store fails
1 parent 7546461 commit dfc0805

File tree

10 files changed

+537
-183
lines changed

10 files changed

+537
-183
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rs/crypto/internal/crypto_service_provider/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ DEPENDENCIES = [
5555
"@crate_index//:stubborn-io",
5656
"@crate_index//:tarpc",
5757
"@crate_index//:tempfile",
58+
"@crate_index//:thiserror",
5859
"@crate_index//:tokio",
5960
"@crate_index//:tokio-serde",
6061
"@crate_index//:tokio-util",
@@ -69,6 +70,7 @@ DEV_DEPENDENCIES = [
6970
"//rs/crypto/temp_crypto/temp_vault",
7071
"//rs/crypto/test_utils",
7172
"//rs/crypto/test_utils/keys",
73+
"//rs/crypto/test_utils/metrics",
7274
"//rs/crypto/test_utils/local_csp_vault",
7375
"//rs/crypto/test_utils/reproducible_rng",
7476
"//rs/crypto/utils/basic_sig",

rs/crypto/internal/crypto_service_provider/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ strum_macros = { workspace = true }
5656
tarpc = { version = "0.32", features = ["full"] }
5757
tempfile = "3.1.0"
5858
time = "0.3.20"
59+
thiserror = "1.0.26"
5960
tokio = { workspace = true }
6061
tokio-serde = { version = "0.8", features = ["json", "bincode"] }
6162
tokio-util = { version = "0.7.4", features = ["codec"] }
@@ -71,6 +72,7 @@ ic-crypto-node-key-generation = { path = "../../node_key_generation" }
7172
ic-crypto-temp-crypto-vault = { path = "../../temp_crypto/temp_vault" }
7273
ic-crypto-test-utils = { path = "../../test_utils" }
7374
ic-crypto-test-utils-keys = { path = "../../../crypto/test_utils/keys" }
75+
ic-crypto-test-utils-metrics = { path = "../../../crypto/test_utils/metrics" }
7476
ic-crypto-test-utils-local-csp-vault = { path = "../../../crypto/test_utils/local_csp_vault" }
7577
ic-crypto-test-utils-reproducible-rng = { path = "../../../crypto/test_utils/reproducible_rng" }
7678
ic-crypto-utils-basic-sig = { path = "../../utils/basic_sig" }

0 commit comments

Comments
 (0)