refactor: create private key without passphrase
This commit is contained in:
@@ -113,8 +113,6 @@ export default class User {
|
|||||||
privateKeyEncoding: {
|
privateKeyEncoding: {
|
||||||
type: 'pkcs8',
|
type: 'pkcs8',
|
||||||
format: 'pem',
|
format: 'pem',
|
||||||
cipher: 'aes-256-cbc',
|
|
||||||
passphrase: 'devstar'
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const publicKeyFingerprint = sshpk.parseKey(publicKey, 'pem').toString('ssh');
|
const publicKeyFingerprint = sshpk.parseKey(publicKey, 'pem').toString('ssh');
|
||||||
|
Reference in New Issue
Block a user