Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support loading secret key shares from GCP secret manager #35

Merged
merged 3 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 93 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions integration-tests/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ async fn start_mpc_leader_node(

let mut cmd = vec![
"start-leader".to_string(),
"--node-id".to_string(),
node_id.to_string(),
"--pk-set".to_string(),
serde_json::to_string(&pk_set)?,
Expand Down Expand Up @@ -143,6 +144,7 @@ async fn start_mpc_sign_node(

let cmd = vec![
"start-sign".to_string(),
"--node-id".to_string(),
node_id.to_string(),
"--pk-set".to_string(),
serde_json::to_string(&pk_set)?,
Expand Down
1 change: 1 addition & 0 deletions mpc-recovery-gcp/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ fn main() {

tonic_build::configure()
.out_dir("gen/protos")
.build_server(false)
.protoc_arg("--experimental_allow_proto3_optional")
.compile(&proto_files, &["googleapis"])
.unwrap();
Expand Down
7 changes: 4 additions & 3 deletions mpc-recovery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,22 @@ anyhow = "1"
async-trait = "0.1"
axum = "0.6"
chrono = "0.4.24"
clap = { version = "4.2", features = ["derive"] }
clap = { version = "4.2", features = ["derive", "env"] }
futures = "0.3"
hex = "0.4"
hyper = { version = "0.14", features = ["full"] }
hyper-rustls = { version = "0.24", features = ["http2"] }
jsonwebtoken = "8.3.0"
mpc-recovery-gcp = { path = "../mpc-recovery-gcp" }
oauth2 = "4.3.0"
rand = "0.7"
rand8 = { package = "rand", version = "0.8" }
reqwest = "0.11.16"
rsa = "0.8.2"
serde = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
threshold_crypto = "0.4.0"
tokio = { version = "1.0", features = ["full"] }
tonic = "0.9"
tonic = { version = "0.9", features = ["tls"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
Loading