Harden release readiness gates
ci / test (push) Has been cancelled
ci / fuzz-smoke (push) Has been cancelled
ci / windows-client (push) Has been cancelled
ci / package-release (linux-x86_64, ubuntu-latest) (push) Has been cancelled
ci / package-release (macos-aarch64, macos-14) (push) Has been cancelled
ci / package-release (macos-x86_64, macos-13) (push) Has been cancelled
ci / package-release (windows-x86_64, windows-latest) (push) Has been cancelled
ci / remote-bench (push) Has been cancelled

This commit is contained in:
DuProcess
2026-06-22 17:14:59 -04:00
parent fb6cf4e7c2
commit f9a378a9cd
7 changed files with 231 additions and 206 deletions
+3
View File
@@ -95,6 +95,7 @@ pub fn load_or_create_server_secret(config: &ServerConfig) -> Result<[u8; 32]> {
Ok(secret)
}
#[allow(clippy::too_many_arguments)]
pub fn build_bootstrap(
config: &ServerConfig,
secret: &[u8; 32],
@@ -161,6 +162,7 @@ pub fn build_bootstrap(
})
}
#[allow(clippy::too_many_arguments)]
pub fn attach_token(
secret: &[u8; 32],
user: &str,
@@ -206,6 +208,7 @@ pub fn verify_bootstrap(resp: &BootstrapResponse, secret: &[u8; 32]) -> Result<b
Ok(expected == resp.attach_token)
}
#[allow(clippy::too_many_arguments)]
pub fn build_attach_ticket(
secret: &[u8; 32],
server_id: [u8; 32],