fix(core): update
This commit is contained in:
@@ -21,4 +21,8 @@ export class PrivateKey {
|
||||
public toPemString(): string {
|
||||
return plugins.nodeForge.pki.privateKeyToPem(this.forgePrivateKey);
|
||||
}
|
||||
|
||||
public toOpenSSH(): string {
|
||||
return plugins.nodeForge.ssh.privateKeyToOpenSSH(this.forgePrivateKey, 'user@host');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user