From b606888f8e7379a887cbfc40d92c23196eb48c97 Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Fri, 22 Nov 2024 23:38:20 -0800 Subject: [PATCH] Polish. --- .moon/workspace.yml | 14 +-- crates/config/src/workspace/remote_config.rs | 10 ++ crates/remote/src/grpc_remote_client.rs | 14 ++- crates/remote/src/remote_service.rs | 42 +++---- .../tests/__fixtures__/certs-local/ca.crt | 54 ++++----- .../tests/__fixtures__/certs-local/ca.key | 104 +++++++++--------- .../tests/__fixtures__/certs-local/ca.pem | 52 +++++++++ .../tests/__fixtures__/certs-local/client.crt | 52 ++++----- .../tests/__fixtures__/certs-local/client.csr | 46 ++++---- .../tests/__fixtures__/certs-local/client.key | 100 ++++++++--------- .../tests/__fixtures__/certs-local/client.pem | 100 ++++++++--------- .../tests/__fixtures__/certs-local/server.crt | 52 ++++----- .../tests/__fixtures__/certs-local/server.csr | 46 ++++---- .../tests/__fixtures__/certs-local/server.key | 100 ++++++++--------- .../tests/__fixtures__/certs-local/server.pem | 100 ++++++++--------- justfile | 9 +- scripts/data/generateCerts.sh | 1 + 17 files changed, 489 insertions(+), 407 deletions(-) create mode 100644 crates/remote/tests/__fixtures__/certs-local/ca.pem diff --git a/.moon/workspace.yml b/.moon/workspace.yml index 09df7b6131..a1da6f0790 100644 --- a/.moon/workspace.yml +++ b/.moon/workspace.yml @@ -37,13 +37,13 @@ docker: - '*.json' unstable_remote: - host: 'grpcs://localhost:9092' + host: 'grpc://localhost:9092' # mtls: - # caCert: 'crates/remote/tests/__fixtures__/certs/ca.pem' - # clientCert: 'crates/remote/tests/__fixtures__/certs/client.pem' - # clientKey: 'crates/remote/tests/__fixtures__/certs/client.key' + # caCert: 'crates/remote/tests/__fixtures__/certs-local/ca.pem' + # clientCert: 'crates/remote/tests/__fixtures__/certs-local/client.pem' + # clientKey: 'crates/remote/tests/__fixtures__/certs-local/client.key' # domain: 'localhost' # tls: - # assumeHttp2: true - # cert: 'crates/remote/tests/__fixtures__/certs/ca.pem' - # domain: 'localhost' + # # assumeHttp2: true + # cert: 'crates/remote/tests/__fixtures__/certs-local/ca.pem' + # # domain: 'localhost' diff --git a/crates/config/src/workspace/remote_config.rs b/crates/config/src/workspace/remote_config.rs index 411bbff7ce..800a54128d 100644 --- a/crates/config/src/workspace/remote_config.rs +++ b/crates/config/src/workspace/remote_config.rs @@ -84,3 +84,13 @@ pub struct RemoteConfig { #[setting(nested)] pub tls: Option, } + +impl RemoteConfig { + pub fn is_localhost(&self) -> bool { + self.host.contains("localhost") || self.host.contains("0.0.0.0") + } + + pub fn is_secure(&self) -> bool { + self.tls.is_some() || self.mtls.is_some() + } +} diff --git a/crates/remote/src/grpc_remote_client.rs b/crates/remote/src/grpc_remote_client.rs index 8d6c1ad889..5342621393 100644 --- a/crates/remote/src/grpc_remote_client.rs +++ b/crates/remote/src/grpc_remote_client.rs @@ -66,7 +66,8 @@ impl RemoteClient for GrpcRemoteClient { let mut endpoint = Endpoint::from_shared(host.to_owned()) .map_err(map_transport_error)? .user_agent("moon") - .map_err(map_transport_error)?; + .map_err(map_transport_error)? + .keep_alive_while_idle(true); if let Some(mtls) = &config.mtls { endpoint = endpoint @@ -78,6 +79,17 @@ impl RemoteClient for GrpcRemoteClient { .map_err(map_transport_error)?; } + if config.is_localhost() { + endpoint = endpoint.origin( + format!( + "{}://localhost", + if config.is_secure() { "https" } else { "http" } + ) + .parse() + .unwrap(), + ); + } + self.channel = Some(endpoint.connect().await.map_err(map_transport_error)?); self.instance_name = config.cache.instance_name.clone(); diff --git a/crates/remote/src/remote_service.rs b/crates/remote/src/remote_service.rs index dec9363a6c..367b2f0ca0 100644 --- a/crates/remote/src/remote_service.rs +++ b/crates/remote/src/remote_service.rs @@ -38,7 +38,7 @@ impl RemoteService { #[instrument] pub async fn connect(config: &RemoteConfig, workspace_root: &Path) -> miette::Result<()> { - if is_ci() && (config.host.contains("0.0.0.0") || config.host.contains("localhost")) { + if is_ci() && config.is_localhost() { debug!( host = &config.host, "Remote service is configured with a localhost endpoint, but we are in a CI environment; disabling service", @@ -402,15 +402,17 @@ async fn batch_upload_blobs( let client = Arc::clone(&client); let digest = digest.to_owned(); - trace!( - hash = &digest.hash, - blobs = group.items.len(), - size = group.size, - max_size, - "Batching blobs upload (group {} of {})", - group_index + 1, - group_total - ); + if group_total > 1 { + trace!( + hash = &digest.hash, + blobs = group.items.len(), + size = group.size, + max_size, + "Batching blobs upload (group {} of {})", + group_index + 1, + group_total + ); + } set.spawn(async move { if let Err(error) = client.batch_update_blobs(&digest, group.items).await { @@ -464,15 +466,17 @@ async fn batch_download_blobs( let client = Arc::clone(&client); let digest = digest.to_owned(); - trace!( - hash = &digest.hash, - blobs = group.items.len(), - size = group.size, - max_size, - "Batching blobs download (group {} of {})", - group_index + 1, - group_total - ); + if group_total > 1 { + trace!( + hash = &digest.hash, + blobs = group.items.len(), + size = group.size, + max_size, + "Batching blobs download (group {} of {})", + group_index + 1, + group_total + ); + } set.spawn(async move { client.batch_read_blobs(&digest, group.items).await }); } diff --git a/crates/remote/tests/__fixtures__/certs-local/ca.crt b/crates/remote/tests/__fixtures__/certs-local/ca.crt index c6c01c3f6e..2d235085aa 100644 --- a/crates/remote/tests/__fixtures__/certs-local/ca.crt +++ b/crates/remote/tests/__fixtures__/certs-local/ca.crt @@ -1,29 +1,29 @@ -----BEGIN CERTIFICATE----- -MIIFCzCCAvOgAwIBAgIUY2c+6RasNu5i3lfwu2c86cLwibIwDQYJKoZIhvcNAQEL -BQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MCAXDTI0MTEyMjIzNDUzMloYDzMwMDUw -MTI0MjM0NTMyWjAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwggIiMA0GCSqGSIb3DQEB -AQUAA4ICDwAwggIKAoICAQC1bdVlJz53tOkOQJzVvdxUVT6LiQGHtvEshwZYu1Sy -HZw/+QTWYqukQ6ciPUYMdDigVUi+c2CXs55OyMANe9DRr5TzwcTiioUxHi2MnMlQ -enflfiaI5rBeDnvoPLnuQD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pnihAz8+OoB2eciXFkycnqSDh2 +GpfbaH0TveFQ+A9wInbFdvzcbp8hAvhCiJUl/Rez1xCZrMIH9llcI9/OrqGiFP6Z +b1BzTZlN9QwToOshCBPc81lFTChqMyj1+4D91x/89Jru6Ky1gpTyyA3Y4c/B60EL +mwIDAQABo1MwUTAdBgNVHQ4EFgQUdo2ZshddYrN+ZEC2me7xbbm6z18wHwYDVR0j +BBgwFoAUdo2ZshddYrN+ZEC2me7xbbm6z18wDwYDVR0TAQH/BAUwAwEB/zANBgkq +hkiG9w0BAQsFAAOCAgEAAckUB1ZOnitfGriLAG/sZeZWNuz/xRwd4NOQFf1vd1ea +wmF3W9VzkPWiB3xEj4y/4TM7TFzuP/qSexndytphr7NiQGwcHdBrpaEikRmIJokZ +xAiGLkM00zgdGaFHBYj9in7QdNTGq3fkcfhiQ0JVN/PWuW0EoF0oThNWeSdFZwJW +tQ6Fmhfd7GmWlEkilrgd95pNZDQXhhA2dwKCTLVFM0AeehpIHm0cKWzs5k0VV8+R +gnVDT58U2XXyElHjPG8qtA2pbSRoEjlH6c8OhbUugcFTwm7WI2cZ/f0K595BVS1/ +FzmKbOdjz6P45uV90cjbBUpiaWcCmo8u3lSQWaRc3LH06wKkAr1Ci4vbXcTOyKhU +zVaCR1LL2Ij9u9QFikiCdskIY1rksJ0v+95KUsrlcUWWAZKtfwuAWdZH23LMom/Q +sUvWItYGbXmhsPXccAny3e/sqzP/w7yuEaeZDV0C4b7QDsSQO/mFf4weXfGyG/p1 +EGwTB2nfZ7h9KyD5R/HcduauR27udP/cJs/xCUxVHqF+wo5O2lTJfcZ6tnS79xpx +6K+ZhaunYsUaig9WVhMMiQx2PSzi5yXG6DeII102Be3ORelnUdRJEMwjDZxRJaH4 +Tor2PueQzJ5nIGxNuKHy3ZRQehJiKmXutzPgJBMj/WsCoMekidBIF24Tlhc/Y5M= -----END CERTIFICATE----- diff --git a/crates/remote/tests/__fixtures__/certs-local/ca.key b/crates/remote/tests/__fixtures__/certs-local/ca.key index 86e0f50d57..105d733ca2 100644 --- a/crates/remote/tests/__fixtures__/certs-local/ca.key +++ b/crates/remote/tests/__fixtures__/certs-local/ca.key @@ -1,54 +1,54 @@ -----BEGIN ENCRYPTED PRIVATE KEY----- -MIIJpDBWBgkqhkiG9w0BBQ0wSTAxBgkqhkiG9w0BBQwwJAQQEp/s3eumF+5Pb1Ti -aVMJQwICCAAwDAYIKoZIhvcNAgkFADAUBggqhkiG9w0DBwQI5V2QhfNzwgUEgglI -VwACDjqB0PzNVzzwXFBDUwYpQiJx2m3qYvheqmW/SV+QTvzAsmFd7P3+RmZMlIzC -ZqeE5QkKqjajIODsUMTJ/5+y7uzTMXdKgQjpRo9FOD83jnct0ASuAcuF2nCH5zSe -ykAg3iyWp4/yQ0WRALIB94zKiheX/4C0GJ/qt/SQVTXd4zQBE0PJtYBHboqqGsHq -jK6MNvCvv18P5VltOSbuXfhy3LJuvp45AQoJbgl5zAtsFkOqc4o7+ZbKspqGniyw -awzfIn+hncFoUg4GsdDJd357eo+BQ//X4fZ3FALI9lY+MrAq9T3a8xy9BGHnFsXe -5ZMpgt3nYXS/c1YGzEp3Wu/XhK4QK5yAdaHXbtWCqg9l5Np1mZPVcisP5ON+0Dgf -eA5bBZpPucUIoxr3t/GOBj8m7geQ8c76OCHS6SoiTPpQhWG90sGDhFw2L0gRRWs1 -KziwECewGl6A/kYHVv/Ib4dHebG4s8fh+ZkAXiaJYBtM3zUlSnDgJufDkzQa/Xvo -QEGIdJZh+byQkFWjGzbAi7S5kUQJ6AbmyhAyXb2maP00w94lEvtixXLF/Qxtossa -IBGRwhyVq3ER/0M25ucBkUSspQATI9FwAdnAphfXfgswrrzhWP6wA+jiW8I6oZqx -9ai481CmqFuKwXL9fqd7O/IcJ/dGR7EH/pObj0MweWcneED5tGnF4qFlFzt6k3AI -/tgw4ATMSp+XBGB7gQBEUGKijzzTN0ZN2OTUVnm0KL2lVE6VRMqibGTl6AJO/Jks -bBECTFkwD1/+Z1/gwGAED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F/WV4Y3fS1vlcrpwfT3Ip8OlfssuhKTYklpjoJj/InmE+tW3KDh4 +5zWfDet5tera1EltPIPTeudwwtr4RlmadJhwrJRtSlViLCSQ0QvJNL0Z38hKnhst +y2tf1LYGohW0VMmSVn55JlDbi3X1aQ7aLAajKCJMsuqGITh0chLRTI9MjlNH+BHT +O4RuV3jsxaKTiGbX21tjqjUfbzvCRQsJIs2O4r1O6TrDxJ2b/bucumeml6SiKZPr +EtLh5ucg8u/YKvp6sxfFq0Deu+XpQpE8vLI6sWSGLzFMtppOdm62TP+5LKP5EK+d +/PkkrOYCPYRhAtC0bk8vRrEhuRwEgK8WTSCS1y+QHifbxfJumubHrDz7lyk9+XvZ +KsbVKZtdM9TK+URrCietawTnWchN+S2I -----END ENCRYPTED PRIVATE KEY----- diff --git a/crates/remote/tests/__fixtures__/certs-local/ca.pem b/crates/remote/tests/__fixtures__/certs-local/ca.pem new file mode 100644 index 0000000000..a71384cc9d --- /dev/null +++ b/crates/remote/tests/__fixtures__/certs-local/ca.pem @@ -0,0 +1,52 @@ +-----BEGIN PRIVATE KEY----- +MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQCiQHwtgPknqDqA +d4UYa9oZeTtBYpeTvMmNce5+RUnZf9cXJYYEgK4lOeM1yJuvBC3jvrzGco3tZ7qZ +n3qBfpGTENID6QZxKowCJwFMsrjzrwXXDGCkI+Lk6Ztz3ssH9g9Py9nrt9Q292o1 +fBgNeO5LF4eiy425IutjFETYeY6LcJlSoRFl4ehz85jWG/VFMeqm52CQ9Y1x4K+V +tPU7zmR93SlEmLSQcsVdKDTEPKNh4SDzFEA5q5zssYxUAcMO8pWC2wZUT8PgnoMR +CXl3JWp/0BhfDlyrarz/QvB9qy1pWOWb07DX+wdNXyxGuZZaMyJzwVZPBrVxgLHR +t72podXM8rJ5wzJlwsaTEPCL2sEJV4mHXuOYOBevxJnf0TMNP1FvUIwQCvZXVCUS +6pQQ5KCC512b7Vof84FQ93An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4eDdcVdcRz5k/mCmm2IyI9NOGmcbSKWZ2kmqlf4X4IQvZeNTfS6sizuD7AtD +lAIEvS6SSaeg14C8fLWrFt9fzZ3lBahqRYm2Zb2MQQQ7gV2pvSFueB/0IBlyuGDy +XrOAVT6nzUlNh12dr4jrEnEHzF8YDAY9pQVJ506iMmE3c8DdJQE/OmtXUWUx9HlP +o/CKN3kLh/MO4vMfTuMFPZG6SG6auwUIGevuw6xzi+oblz5b5MGB+CMoHaEHO43t +MK0CggEAUnJ//azM02OCVFMXPxd64LU66JFKnLGWImHrnuiHPa1IPfkYGtW/OHVd +vVfG8/5rhDt9rQe0xnPWShvCDpT4UltRkKr/sZkWKDYTdRGOWPQWrHFKMgGcnK54 +r6d84PR+wjZbiRZ5Bfur1FueiSED4N4iNcg5nK2l74C4VTY42CaJdDbghlU8JhMg ++ZEpbTKvfJWGjftxPoYLNnKDE/t5pMPPrLNI7ig+c/EQXPhUj0lWlrk1uVWZULtG +NKsCukrAw7cqgyvTmE7qDJiDPEVyIPrYPlUEaDpn1PrSj2iba/TtKevPvStJ7AES +xNR7q9cOGPhVmOCBFRepA9J5U3OaBA== +-----END PRIVATE KEY----- diff --git a/crates/remote/tests/__fixtures__/certs-local/client.crt b/crates/remote/tests/__fixtures__/certs-local/client.crt index 45be3ff531..564c6b814a 100644 --- a/crates/remote/tests/__fixtures__/certs-local/client.crt +++ b/crates/remote/tests/__fixtures__/certs-local/client.crt @@ -1,29 +1,29 @@ -----BEGIN CERTIFICATE----- MIIE5zCCAs+gAwIBAgIBATANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAlsb2Nh -bGhvc3QwIBcNMjQxMTIyMjM0NTMzWhgPMzAwNTAxMjQyMzQ1MzNaMBQxEjAQBgNV -BAMMCWxvY2FsaG9zdDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKE8 -ZFi8T4/sUxuTCVU0hF5TFoR7y4voY84fFXb3Z8aoOdroYLdKTraW0rVAN+0Jl+o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9hpotpsSo087ZAkf4T6ULMU1IHQazwtaBCsKB/P +eR1b9b4BtFG1aOzvafgynHe701Ddg+GZRMStzPWdLUUgoU8YaS4bNACMue2YdqFM +3ed45wl5noGqI7TWthWpLskR/1N7fDW/ky3bQVz7AgMBAAGjQjBAMB0GA1UdDgQW +BBSlWYIl5SZ+v7XOdmQlbL9bgvlqxjAfBgNVHSMEGDAWgBR2jZmyF11is35kQLaZ +7vFtubrPXzANBgkqhkiG9w0BAQsFAAOCAgEAZNz4gfXA2l1LJh3aQhwEFRrxjz9p +xtK3u82ng9Jq1yC6Iq9Jarhw1tgwHoI5HWT1j/+waHa0mlC6AdRfiPVG5vpL8hmQ +4E6yn2pJJqsdTO8Y+4ZkcezsLI1DwnqnYeWPXrdLe0GbW0wMWmomNmtzXTFlF8QP +odoMvlHSaQI3BnYGIaYxD1+ZIrh38FL756T7d9ZQZMIAJ9eZtcKU0oMCwR96MQ1+ +Wmka0CIkmWn7BTlrF5xqf+TJVjhP0I2Qx2urYDLrHqKJA1QalHPPCRUujfTBstY6 +jcKIi7tCi1DVq3fc/VyEO1/sAo0hfIaHyymDJZTwd+DkUaI3c4TxlhbWXnhfQGjr +cOM8LYriR/uu6MHsvxAuRGp5s+KPX1e5yDX9xszbI61lbIfU/jmiShz15Da/Aykj +uI7SjkuWEQuxPX7cxDVJswOxizfX8KPT7GNDVeeZWlNWx6WJ8D8EKTGcPFdkZy3k +sGqUZ2VNxG8i+dcEgiRdBNzpVgoPi5wxWCNskIhlduiUeQ1Y7DJDX9c5iMvtJI9v +na8A+rqiq7580RVL2LddU7SxENCeRR9DirOwqw9NQFVaC0kO7IFXj2wVpaJx9hlY +GdH1/m9KcnXZk2OXLMbJPJeu4OPLRqwO+TkiNTRi1UOUpgSBn8OELwbrzFpWInRD +nthk7OIV1xYVgVc= -----END CERTIFICATE----- diff --git a/crates/remote/tests/__fixtures__/certs-local/client.csr b/crates/remote/tests/__fixtures__/certs-local/client.csr index 245ed1b95d..97a6d91f3b 100644 --- a/crates/remote/tests/__fixtures__/certs-local/client.csr +++ b/crates/remote/tests/__fixtures__/certs-local/client.csr @@ -1,26 +1,26 @@ -----BEGIN CERTIFICATE REQUEST----- MIIEWTCCAkECAQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEAoTxkWLxPj+xTG5MJVTSEXlMWhHvLi+hjzh8Vdvdn -xqg52uhgt0pOtpbStUA37QmX6hz6Moxdxk8VOK2l+gpqtf3AzbMVCr1q77CbOQFp -vGV3jazfBzOQCwofYoaypevIuonRJQBqUqxqbQ1Ui/wB4Y92bYNqYC8r9Pe0Y3a6 -oy6SCBh2sXXVHC0Esl6RwN24g61UNpHCQUM/euGyzhiQjJG6z2vr39mPgjXParV8 -7gmOjMhGQWj+ulEGA+D1aCEfLEVHUTXLgtbkD3gEGSiQ17qV9xqIYlFdtAx5WBDe -rme4evYFJxkB4aKEKEWVzMEHu3zD5LUAxD1eq7wcbgUfOgsN655OOVQ0IL0KkzQ1 -W0aVgU4BgHCdSNZyWRAndj68Tnvacfu94odIX5XIsB9diDGpZYcOLssP8YU+w+RQ -BnpBGny1x0eo77GenVD8OzU3xpE8tPOq3AOag9t8i5LsVpuB06p3Lyosrj9EKrEZ -bo15rxdi7KTZ8NfTXwR7+5m7e/lNGbTE5vony1csWIQxgCQ4S4Ssxb/L2vKCKLbu -YBVj9ZXsxNoRhagXKtKFPhg0hESq8qKaM7q4G2fS9tUNcpAx24z9hfGf6sLLnCaV -9fHi5BDlpZVA1rq+c38yeGpz70wb/H8sNlg35Q9Di6OWimX+jqu+HtQ9t4D4D7o6 -lSUCAwEAAaAAMA0GCSqGSIb3DQEBCwUAA4ICAQAKWTceMWhkLgmfiQIuJQBSrYMc -f+8+omcGCvvt4Dtra+gpGQpP2SfrmhAg6IqM784AoF/ReT1+xjGHxycTMx3toxHK -ZkrBdb43jDfHXVrWr9OHBYlBBZFa7nDZpleu5wxKHEntR/na6JP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lLSpvn39zaMK +YqETF1t2+oa73tdXCN1nOTrC4ruFCrJ7CmxJkDGpirJPEm1HYQR32Gmi2mxKjTzt +kCR/hPpQsxTUgdBrPC1oEKwoH895HVv1vgG0UbVo7O9p+DKcd7vTUN2D4ZlExK3M +9Z0tRSChTxhpLhs0AIy57Zh2oUzd53jnCXmegaojtNa2FakuyRH/U3t8Nb+TLdtB +XPsCAwEAAaAAMA0GCSqGSIb3DQEBCwUAA4ICAQCC8hSGs50iothw+bWOGlWyu6bO +hCbDUjNPgxeARuGyzutkRXgPm4N4EILZiUv21hs+PaGA3JpzKEdnYA5+Ba0iNkvz +LV1jTont5ealb3JsP0XWSWE4suiJX01j60W2bw71FoD71kqMDeZrJ80jl7g7yMob +kPpuHfgD7JQENQxTssbT084xegihct+yN7OdnAzIWeEBLGcOnbxABi6/wPfXybfW +eZsfrHGGfqYXuMjefcKKbKbWgwUPdz39D+iMpq9WTzwO0ubj3KHsasc/g6m0mYfD +HWTX3UDlpuT1XHjX/DGIcCR+EN35wiyfrW2mQFDuSRN8VVtzyamUFGJYxmW08aYd +EKJanIGWVHNpWvhzEhwn5Y2Fy7vuMUQFpAWuRS9PMJBdaU+GJr5zZGOh/KUez+xK +qP8ffLyNdRzCgLN8TAPSfrSt9uan1N8B+Xck4wjFsHuah/1AoGgn7w8WsBuqA41Z +QWrVO+auf1u11pOTi/cvHfUgglNnMxhWEPQ7V26cpsx4u9S5veH+b2+UZcQwLq1T +48nCAQ1Qib4Slg7cMsztQ5HPdD5FTG3h9u0EnKSnTfZqaesMxwG3rmsvBVfpkPtZ +hjqawec0pcLHfj0sH3osab0aIkvdD2XdkjqqbXuipqYDRqI11Db501LBie+wWxTF +E1Kg8d5W6PXPJTeOyw== -----END CERTIFICATE REQUEST----- diff --git a/crates/remote/tests/__fixtures__/certs-local/client.key b/crates/remote/tests/__fixtures__/certs-local/client.key index 3ffca652d3..2041fb5f34 100644 --- a/crates/remote/tests/__fixtures__/certs-local/client.key +++ b/crates/remote/tests/__fixtures__/certs-local/client.key @@ -1,52 +1,52 @@ -----BEGIN PRIVATE KEY----- -MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQChPGRYvE+P7FMb -kwlVNIReUxaEe8uL6GPOHxV292fGqDna6GC3Sk62ltK1QDftCZfqHPoyjF3GTxU4 -raX6Cmq1/cDNsxUKvWrvsJs5AWm8ZXeNrN8HM5ALCh9ihrKl68i6idElAGpSrGpt -DVSL/AHhj3Ztg2pgLyv097RjdrqjLpIIGHaxddUcLQSyXpHA3biDrVQ2kcJBQz96 -4bLOGJCMkbrPa+vf2Y+CNc9qtXzuCY6MyEZBaP66UQYD4PVoIR8sRUdRNcuC1uQP -eAQZKJDXupX3GohiUV20DHlYEN6uZ7h69gUnGQHhooQoRZXMwQe7fMPktQDEPV6r -vBxuBR86Cw3rnk45VDQgvQqTNDVbRpWBTgGAcJ1I1nJZECd2PrxOe9px+73ih0hf -lciwH12IMallhw4uyw/xhT7D5FAGekEafLXHR6jvsZ6dUPw7NTfGkTy086rcA5qD -23yLkuxWm4HTqncvKiyuP0QqsRlujXmvF2LspNnw19NfBHv7mbt7+U0ZtMTm+ifL -VyxYhDGAJDhLhKzFv8va8oIotu5gFWP1lezE2hGFqBcq0oU+GDSERKryopozurgb -Z9L21Q1ykDHbjP2F8Z/qwsucJpX18eLkEOWllUDWur5zfzJ4anPvTBv8fyw2WDfl -D0OLo5aKZf6Oq74e1D23gPgPujqVJQIDAQABAoICAEh37GI1wUze2zu5iqhRQm1i -yuwg+AuaF8G9FtixumL/mYFakJ3ROC+4+luc0YYoma8P9yRhEoTfZppi8gbAR9Yk -h1Ps+bgqCrZQmnO0vuF+eY2j9Vo3QrazhgeyovkQUNgGuYn39dHSzMLXCvkf+3h2 -ErSGLHmuugMQknNiGeDePaSF2lNIstBHK6U//CLDhPsqHH+qY7URlKaWatdXEyEb -Huu7hfjGwEm2BdPgXpZelUORgIJFvrffUuTLZ4G14Vz0hmlp1F6qVzbcqn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+F9AqWlMi9KS36CYoMfYmLpTbzCPiIw== -----END PRIVATE KEY----- diff --git a/crates/remote/tests/__fixtures__/certs-local/client.pem b/crates/remote/tests/__fixtures__/certs-local/client.pem index 3ffca652d3..2041fb5f34 100644 --- a/crates/remote/tests/__fixtures__/certs-local/client.pem +++ b/crates/remote/tests/__fixtures__/certs-local/client.pem @@ -1,52 +1,52 @@ -----BEGIN PRIVATE KEY----- -MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQChPGRYvE+P7FMb -kwlVNIReUxaEe8uL6GPOHxV292fGqDna6GC3Sk62ltK1QDftCZfqHPoyjF3GTxU4 -raX6Cmq1/cDNsxUKvWrvsJs5AWm8ZXeNrN8HM5ALCh9ihrKl68i6idElAGpSrGpt -DVSL/AHhj3Ztg2pgLyv097RjdrqjLpIIGHaxddUcLQSyXpHA3biDrVQ2kcJBQz96 -4bLOGJCMkbrPa+vf2Y+CNc9qtXzuCY6MyEZBaP66UQYD4PVoIR8sRUdRNcuC1uQP -eAQZKJDXupX3GohiUV20DHlYEN6uZ7h69gUnGQHhooQoRZXMwQe7fMPktQDEPV6r -vBxuBR86Cw3rnk45VDQgvQqTNDVbRpWBTgGAcJ1I1nJZECd2PrxOe9px+73ih0hf -lciwH12IMallhw4uyw/xhT7D5FAGekEafLXHR6jvsZ6dUPw7NTfGkTy086rcA5qD -23yLkuxWm4HTqncvKiyuP0QqsRlujXmvF2LspNnw19NfBHv7mbt7+U0ZtMTm+ifL -VyxYhDGAJDhLhKzFv8va8oIotu5gFWP1lezE2hGFqBcq0oU+GDSERKryopozurgb -Z9L21Q1ykDHbjP2F8Z/qwsucJpX18eLkEOWllUDWur5zfzJ4anPvTBv8fyw2WDfl -D0OLo5aKZf6Oq74e1D23gPgPujqVJQIDAQABAoICAEh37GI1wUze2zu5iqhRQm1i -yuwg+AuaF8G9FtixumL/mYFakJ3ROC+4+luc0YYoma8P9yRhEoTfZppi8gbAR9Yk -h1Ps+bgqCrZQm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9qFoefHdb2YncTi8k32jYlvkbhy0ln8KajHV/b/ljqKLpLp +YYD+IuIe/cIL3ozzZGHDmfztNvjKl7iaF1uft0edupdjHUZqSZf0ttfEOdeKqL10 +CvOKKopJG8v+3C5BbNdFIFLtxJGd36lw6VO8DH7vVUWfexHDvcPCffXTYBaNW5pC +F9AqWlMi9KS36CYoMfYmLpTbzCPiIw== -----END PRIVATE KEY----- diff --git a/crates/remote/tests/__fixtures__/certs-local/server.crt b/crates/remote/tests/__fixtures__/certs-local/server.crt index d32580d11e..c7fa2e532d 100644 --- a/crates/remote/tests/__fixtures__/certs-local/server.crt +++ b/crates/remote/tests/__fixtures__/certs-local/server.crt @@ -1,29 +1,29 @@ -----BEGIN CERTIFICATE----- MIIE5zCCAs+gAwIBAgIBATANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAlsb2Nh -bGhvc3QwIBcNMjQxMTIyMjM0NTMzWhgPMzAwNTAxMjQyMzQ1MzNaMBQxEjAQBgNV -BAMMCWxvY2FsaG9zdDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBALnd -dklxnjkhTRovEbwzRvT9Pji1LQzwMzUWRxkpPdnRWZPmv+uP89WljItZ4u57B9CB -9rA75Yl2EsB1WgN+Fw8C89CDYeFwFW47bmB51W4YPBIv7jXGMvGmN2ZDfV5BJ+Kj -KUpOnjwzB/JAE1Xlr8puniEzPTVRlrimF2h7txKzj4qmGF19WuatzGfD70joYtq6 -NZ2A736CSQsS9dqDVP0T8H2HJOY3ZmWnWdJ2lkz/U00Wdio27ZMzt60P5/zvY5bl -LO49P45e7/juV3Q/akHDCptY1NhG0U1gFdtVursq986LB4hpNTkP87X7bq1ivXVY -dh4nLGPmvXmpmg9qFA3T+ZiZ1T0HDL9u0z34N8Vlg3nKJPCbzU2F6TtEJBaQU30s -+m67e3HIcNQOOKyQ7H32g7pH7cVyIUh7eUy6Yi34BjlL/FKU3sbMvX/a0D4EjySd -03ETt9v5wEBdAVmuVBPcwp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QOA0v2A+8e +PFO/8YmVuHzjRslNieji4hx2M1duB34yJ7zjeWo3i6Kbxjla0EGDkDG+hSdCLwjj ++oUqG3zZHTxQwXzHVxXV07itMOJ7zprVnNRkY1PKkI/d68120P6Pw5L7Ey4VvB70 +Lzk8vf2eeeQibw4UtOl4ct5gqc6ue+vrTn7YYfmfpH5Jc8NqyebcodmwAK1tXJ91 +/gKIkYCXojfng9rNS7HpCBrBJnSorwA1xzB6gAizZk0uB1Atn2vVGJ+j+U872wZp +uisTvWa0yyxf6JoL4u7I2AjCnY+04OuHTUPmJ7dyJexl31N6KBWvyqKplU6eN30/ +INBTA+NUemifjk+SRTGo01cbe3gvdhhNspRGrkPnzVd7xUERSmL0CgpgeYi9Swck +jctnulhxU1InqgcLPV9FPGcyGUlvBc5OGsA212jv9Wg5Khvs47KYPZ5nwrfiEWpi +5vFeJxOLa6o/7jw1as3ASt/e5WUcXk3Emqg1MDe7kAcWdQx71hL4ihUtEsKrx82a +ZndDny21bi3Kbnk= -----END CERTIFICATE----- diff --git a/crates/remote/tests/__fixtures__/certs-local/server.csr b/crates/remote/tests/__fixtures__/certs-local/server.csr index 3670dbb8a5..dbecf9854a 100644 --- a/crates/remote/tests/__fixtures__/certs-local/server.csr +++ b/crates/remote/tests/__fixtures__/certs-local/server.csr @@ -1,26 +1,26 @@ -----BEGIN CERTIFICATE REQUEST----- MIIEWTCCAkECAQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEAud12SXGeOSFNGi8RvDNG9P0+OLUtDPAzNRZHGSk9 -2dFZk+a/64/z1aWMi1ni7nsH0IH2sDvliXYSwHVaA34XDwLz0INh4XAVbjtuYHnV -bhg8Ei/uNcYy8aY3ZkN9XkEn4qMpSk6ePDMH8kATVeWvym6eITM9NVGWuKYXaHu3 -ErOPiqYYXX1a5q3MZ8PvSOhi2ro1nYDvfoJJCxL12oNU/RPwfYck5jdmZadZ0naW -TP9TTR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cq+ +9zqfTOix7KvMwb7bC0afa4m13CoY5BBx9S8MuJHledy9XI7nS8a4VJK4qe+UX6CX +3KttISNO2VgnWeG08q5TZZE+jGV4QW+OuwwtmcH0yOt/KIzWfLjsVcCuunoa7BsG +rxWAEI4/MGT8u1HLgkZYjtEEvW86cIERUf75zUJWyIkCRNgvO9wEpqJklFWksuDR +j6jc88kYuj/96AG1F5vfWv4srplz9KZpDN4b1uLj9/aGjWIp/LtCdC/0FkmoyJpT +iTwHeEjSSZgDeFIhVPfNf1Hcpkqbb6C3xFAxyrWMbNb8L284NVZUWQGelUhU0FD4 +ME+a6/ljgxcxlcTTSq0pA6AaqOoj4MvOI8E65DhVk6FxyqTmtIqetL04J56CYo3T +HD4vzW+CpFBkXXF70oMpjxGLfZjqA15cCW3ODZ2Cm4Hb8IDELbqw4s3RAc437ThM +2lvO0mM8uAIPIs7d7Q== -----END CERTIFICATE REQUEST----- diff --git a/crates/remote/tests/__fixtures__/certs-local/server.key b/crates/remote/tests/__fixtures__/certs-local/server.key index d848c2be05..739d261142 100644 --- a/crates/remote/tests/__fixtures__/certs-local/server.key +++ b/crates/remote/tests/__fixtures__/certs-local/server.key @@ -1,52 +1,52 @@ -----BEGIN PRIVATE KEY----- -MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQC53XZJcZ45IU0a -LxG8M0b0/T44tS0M8DM1FkcZKT3Z0VmT5r/rj/PVpYyLWeLuewfQgfawO+WJdhLA -dVoDfhcPAvPQg2HhcBVuO25gedVuGDwSL+41xjLxpjdmQ31eQSfioylKTp48Mwfy -QBNV5a/Kbp4hMz01UZa4phdoe7cSs4+KphhdfVrmrcxnw+9I6GLaujWdgO9+gkkL -EvXag1T9E/B9hyTmN2Zlp1nSdpZM/1NNFnYqNu2TM7etD+f872OW5SzuPT+OXu/4 -7ld0P2pBwwqbWNTYRtFNYBXbVbq7KvfOiweIaTU5D/O1+26tYr11WHYeJyxj5r15 -qZoPahQN0/mYmdU9Bw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kvoJUl7G1GNLUn5648iC97DM4FUbsimJgenNQPUHS+m +IiKBiJlE5KIjKIKgJK+35c926iyzeUG1hZPfqa+P9yFxF0vF9KdDNuhOj40tkpeO +tyDkT7/dBgEK/9P6svLf5S022gom8AmaWVH/dzUNlXpat7R7ESoaG+w+6qTg+DAb +MGcPLnSDLJ2yVrY4+liRm70y+XChShAVqEgWl5x/wACl5Thka2xuuMwB9yQ8eOy+ +As836kMK/Lw8SMGYSqtr0uUeWnQGl7GQEb2C71+yjLIqHuWa3jMwchTX0krVewJ9 +pmkCggEBAM/O4qtldVl0+8ay3wT8vYSp71YHiy++/JDKTlQcEGWJbulLBHBoFR0Q +4gQLB9J6l68WQLiYudjGcasf0DoS/N8eun3X7LBCJ+MkZFkM6ARFcG+9R1qer+ND +C/Nt0ulKPtUca3eYyQ0XVDFD8qGMXNzZ7mvCBvVSYRwcAYlcosBkp4/Hnx8ghRwk +RabtDyUDCc/AAfmyu5qQh/3yVQDp9RbmizVQVN0mV9rNf9F0TbDgYsrJLl7K+FyA +4dMEbOH899UA/38Qy6fqb7FGHmi4uiPtzvHJMKtYxzgECrHHukJMsJffTvtl+GFf +ouL5jxbaAWINZunw52PnJf1KM7Soo3c= -----END PRIVATE KEY----- diff --git a/crates/remote/tests/__fixtures__/certs-local/server.pem b/crates/remote/tests/__fixtures__/certs-local/server.pem index d848c2be05..739d261142 100644 --- a/crates/remote/tests/__fixtures__/certs-local/server.pem +++ b/crates/remote/tests/__fixtures__/certs-local/server.pem @@ -1,52 +1,52 @@ -----BEGIN PRIVATE KEY----- -MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQC53XZJcZ45IU0a -LxG8M0b0/T44tS0M8DM1FkcZKT3Z0VmT5r/rj/PVpYyLWeLuewfQgfawO+WJdhLA -dVoDfhcPAvPQg2HhcBVuO25gedVuGDwSL+41xjLxpjdmQ31eQSfioylKTp48Mwfy -QBNV5a/Kbp4hMz01UZa4phdoe7cSs4+KphhdfV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gxVqcqPZpbCslsXKA4QM3E4IwsXW55mgvM +7f6oMua0vFCAugGsVNKWwz347VLxpLypcmlmrfSGbZ9oxmWIswslXHYeNdh1CddW +C82siAUatBWP7F9rJudsEYwTIrssA/ZZjRRxiyzBAoIBABXXS1RTqrJjsWJ47NBS +78MyXsb1869UKMXPZc/D/kvoJUl7G1GNLUn5648iC97DM4FUbsimJgenNQPUHS+m +IiKBiJlE5KIjKIKgJK+35c926iyzeUG1hZPfqa+P9yFxF0vF9KdDNuhOj40tkpeO +tyDkT7/dBgEK/9P6svLf5S022gom8AmaWVH/dzUNlXpat7R7ESoaG+w+6qTg+DAb +MGcPLnSDLJ2yVrY4+liRm70y+XChShAVqEgWl5x/wACl5Thka2xuuMwB9yQ8eOy+ +As836kMK/Lw8SMGYSqtr0uUeWnQGl7GQEb2C71+yjLIqHuWa3jMwchTX0krVewJ9 +pmkCggEBAM/O4qtldVl0+8ay3wT8vYSp71YHiy++/JDKTlQcEGWJbulLBHBoFR0Q +4gQLB9J6l68WQLiYudjGcasf0DoS/N8eun3X7LBCJ+MkZFkM6ARFcG+9R1qer+ND +C/Nt0ulKPtUca3eYyQ0XVDFD8qGMXNzZ7mvCBvVSYRwcAYlcosBkp4/Hnx8ghRwk +RabtDyUDCc/AAfmyu5qQh/3yVQDp9RbmizVQVN0mV9rNf9F0TbDgYsrJLl7K+FyA +4dMEbOH899UA/38Qy6fqb7FGHmi4uiPtzvHJMKtYxzgECrHHukJMsJffTvtl+GFf +ouL5jxbaAWINZunw52PnJf1KM7Soo3c= -----END PRIVATE KEY----- diff --git a/justfile b/justfile index 21a27fd8a7..9d362abd2a 100644 --- a/justfile +++ b/justfile @@ -73,11 +73,14 @@ moon-check: schemas: cargo run -p moon_config_schema --features typescript +clean-bazel-remote: + rm -f ~/.moon/bazel-cache/cas.v2/.DS_Store && rm -f ~/.moon/bazel-cache/ac.v2/.DS_Store + bazel-remote: - rm -f ~/.moon/bazel-cache/cas.v2/.DS_Store && bazel-remote --dir ~/.moon/bazel-cache --max_size 10 --storage_mode uncompressed --grpc_address 0.0.0.0:9092 + just clean-bazel-remote && bazel-remote --dir ~/.moon/bazel-cache --max_size 10 --storage_mode uncompressed --grpc_address 0.0.0.0:9092 bazel-remote-tls: - rm -f ~/.moon/bazel-cache/cas.v2/.DS_Store && bazel-remote --dir ~/.moon/bazel-cache --max_size 10 --storage_mode uncompressed --grpc_address 0.0.0.0:9092 --tls_cert_file=./crates/remote/tests/__fixtures__/certs/server.pem --tls_key_file=./crates/remote/tests/__fixtures__/certs/server.key + just clean-bazel-remote && bazel-remote --dir ~/.moon/bazel-cache --max_size 10 --storage_mode uncompressed --grpc_address 0.0.0.0:9092 --tls_cert_file=./crates/remote/tests/__fixtures__/certs-local/server.crt --tls_key_file=./crates/remote/tests/__fixtures__/certs-local/server.key bazel-remote-mtls: - rm -f ~/.moon/bazel-cache/cas.v2/.DS_Store && bazel-remote --dir ~/.moon/bazel-cache --max_size 10 --storage_mode uncompressed --tls_cert_file=./crates/remote/tests/__fixtures__/certs/server.pem --tls_key_file=./crates/remote/tests/__fixtures__/certs/server.key --tls_ca_file=./crates/remote/tests/__fixtures__/certs/ca.pem + just clean-bazel-remote && bazel-remote --dir ~/.moon/bazel-cache --max_size 10 --storage_mode uncompressed --tls_cert_file=./crates/remote/tests/__fixtures__/certs-local/server.crt --tls_key_file=./crates/remote/tests/__fixtures__/certs-local/server.key --tls_ca_file=./crates/remote/tests/__fixtures__/certs-local/ca.crt diff --git a/scripts/data/generateCerts.sh b/scripts/data/generateCerts.sh index 3f82b2a0b3..677c9860eb 100644 --- a/scripts/data/generateCerts.sh +++ b/scripts/data/generateCerts.sh @@ -41,6 +41,7 @@ echo Remove passphrase from client key: openssl rsa -passin pass:1111 -in client.key -out client.key echo Converting the private keys to X.509: +openssl pkcs8 -topk8 -nocrypt -in ca.key -out ca.pem # Generates client.pem which is the clientPrivateKeyFile for the Client (needed for mutual TLS only) openssl pkcs8 -topk8 -nocrypt -in client.key -out client.pem # Generates server.pem which is the privateKeyFile for the Server