pref: 日志中加密授权信息输出替换成星号

This commit is contained in:
xiaojunnuo
2025-04-12 00:14:55 +08:00
parent 3d9620abb0
commit 759cfdaabd
46 changed files with 122 additions and 88 deletions
@@ -51,7 +51,7 @@ export class QnapDeploy extends AbstractPlusTaskPlugin {
throw new Error('主机登录授权配置不能为空');
}
const connectConf = await this.ctx.accessService.getById<SshAccess>(accessId);
const connectConf = await this.getAccess<SshAccess>(accessId);
const sshClient = new SshClient(this.logger);
//合并证书
const newCert = cert.key + '\n' + cert.crt;