mirror of
https://github.com/certd/certd.git
synced 2026-04-30 01:07:28 +08:00
fix: 修复lego模式下 私钥加密类型错误的bug
This commit is contained in:
@@ -158,7 +158,7 @@ export class CertApplyLegoPlugin extends CertApplyBasePlugin {
|
|||||||
if (this.eab) {
|
if (this.eab) {
|
||||||
eabArgs = ` --eab --kid "${this.eab.kid}" --hmac "${this.eab.hmacKey}"`;
|
eabArgs = ` --eab --kid "${this.eab.kid}" --hmac "${this.eab.hmacKey}"`;
|
||||||
}
|
}
|
||||||
const keyType = `-k ${this.privateKeyType}`;
|
const keyType = `-k ${this.privateKeyType?.replaceAll("_", "")}`;
|
||||||
|
|
||||||
const saveDir = `./data/.lego/pipeline_${this.pipeline.id}/`;
|
const saveDir = `./data/.lego/pipeline_${this.pipeline.id}/`;
|
||||||
const savePathArgs = `--path "${saveDir}"`;
|
const savePathArgs = `--path "${saveDir}"`;
|
||||||
|
|||||||
Reference in New Issue
Block a user