fix(core): update

This commit is contained in:
2024-02-09 17:52:13 +01:00
parent 515257ff48
commit 2aedc2232b
7 changed files with 962 additions and 923 deletions

View File

@@ -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');
}
}