Skip to content
Open
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
7 changes: 3 additions & 4 deletions dice-mfg/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ enum Command {
},
/// Turn a CSR into a cert. This is a thin wrapper around either the
/// `openssl ca` command (whose behavior will depend on the openssl.cnf
/// provided by the caller), or `permslip sign` (whose behavior will be
/// governed by a previously set key context and batch of approvals).
/// provided by the caller), or `permslip sign-platform-identiyt-csr`
/// (whose behavior will be governed by a batch of approvals).
SignCert {
/// Path to input CSR file.
#[clap(env)]
Expand Down Expand Up @@ -298,11 +298,10 @@ fn generate_cert(
}
CertificateAuthority::Permslip(cfg) => {
let output = Process::new("permslip")
.arg("sign")
.arg("sign-platform-identity-csr")
.arg(cfg.key_name)
.arg(csr)
.arg("--sshauth")
.arg("--batch-approved")
.arg("--out")
.arg(cert)
.spawn()
Expand Down
Loading