From 365795fe17f39a6e886bd540b9cad4a157e7d439 Mon Sep 17 00:00:00 2001 From: Levi Yan Date: Mon, 28 Oct 2024 19:03:46 +0800 Subject: [PATCH] refactor: create private key without passphrase --- src/user.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/user.ts b/src/user.ts index 25da344..1a94935 100644 --- a/src/user.ts +++ b/src/user.ts @@ -113,8 +113,6 @@ export default class User { privateKeyEncoding: { type: 'pkcs8', format: 'pem', - cipher: 'aes-256-cbc', - passphrase: 'devstar' }, }); const publicKeyFingerprint = sshpk.parseKey(publicKey, 'pem').toString('ssh');