pure-js-sftp
Version:
A pure JavaScript SFTP client with revolutionary RSA-SHA2 compatibility fixes. Zero native dependencies, built on ssh2-streams with 100% SSH key support.
13 lines • 411 B
TypeScript
/**
* Pure JavaScript OpenSSH Private Key Parser
* Handles encrypted OpenSSH format keys without external dependencies
*/
interface OpenSSHKeyData {
keyType: string;
publicKey: Buffer;
privateKey: Buffer;
comment: string;
}
export declare function parseOpenSSHPrivateKey(keyData: string, passphrase?: string): OpenSSHKeyData | null;
export {};
//# sourceMappingURL=openssh-key-parser.d.ts.map