Skip to content

Keys documentation ​

Inspect and convert SSH keys independently of a transfer client. Dockline Keys reads PuTTY PPK v2/v3, OpenSSH and supported PEM formats, extracts public keys and creates encrypted exports. Use it on its own for key operations, without opening a server connection.

sh
npm install @jalsoedesign/dockline-keys

Get a first result ​

Install the package above, then follow the quick start. It inspects a public sample key in memory, needs no files or credentials, and includes a complete program and exact output in all four languages.

Common tasks ​

Your taskStart here
Try the library without a key fileQuick start
Inspect format, algorithm, encryption and fingerprintInspect a key
Convert PPK ↔ OpenSSH or supported PEM formatsConvert private keys
Read encrypted input or change a passphraseEncryption and passphrases
Extract a public key or convert its representationPublic keys
Load and save filesFile recipes

Advanced usage and reference ​

Read encryption and passphrases before choosing an export policy, and file recipes when adding storage. Formats and algorithms list supported combinations; API, errors and limits describes options, typed failures and resource bounds.

Independent library, shared ecosystem ​

Only install @jalsoedesign/dockline-keys. Its dependencies include shared dockline-abstract error infrastructure and parsing/crypto libraries; it does not require core, SSH, SFTP, the CLI or FileZilla. It is a Node.js library, not a browser key editor or an executable.

Operations accept key contents as a string or Buffer, not a filename. Inspection returns metadata; conversions return Buffers. Supply storage, prompts and secret handling as needed. The quick start needs no filesystem code.

Dockline SSH/SFTP also use this reader internally. For transfers, return to the API area; key-only users can stay entirely in this section.