Skip to content

Commit 06f05ee

Browse files
authored
switch to permslip sign-platform-identity-csr (#357)
1 parent d7472bf commit 06f05ee

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

dice-mfg/src/main.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ enum Command {
113113
},
114114
/// Turn a CSR into a cert. This is a thin wrapper around either the
115115
/// `openssl ca` command (whose behavior will depend on the openssl.cnf
116-
/// provided by the caller), or `permslip sign` (whose behavior will be
117-
/// governed by a previously set key context and batch of approvals).
116+
/// provided by the caller), or `permslip sign-platform-identiyt-csr`
117+
/// (whose behavior will be governed by a batch of approvals).
118118
SignCert {
119119
/// Path to input CSR file.
120120
#[clap(env)]
@@ -298,11 +298,10 @@ fn generate_cert(
298298
}
299299
CertificateAuthority::Permslip(cfg) => {
300300
let output = Process::new("permslip")
301-
.arg("sign")
301+
.arg("sign-platform-identity-csr")
302302
.arg(cfg.key_name)
303303
.arg(csr)
304304
.arg("--sshauth")
305-
.arg("--batch-approved")
306305
.arg("--out")
307306
.arg(cert)
308307
.spawn()

0 commit comments

Comments
 (0)