Skip to content

Supported key formats ​

Input is detected from key contents, not the filename. Public and private operations have separate output format choices.

Import and export ​

API / formatSupport
Private opensshModern OpenSSH, unencrypted or bcrypt/AES-encrypted; output uses AES-256-CTR
Private ppkPuTTY PPK v2/v3, unencrypted or AES-256-CBC-encrypted; output defaults to v3 with Argon2id
Private pkcs8PKCS#8 PEM, unencrypted or PBES2/PBKDF2-encrypted; encrypted output uses AES-256-CBC
Private pemTraditional RSA, EC or DSA PEM; optional traditional OpenSSL AES-256-CBC encryption
Private pkcs1Explicit traditional RSA PEM
Private sec1Explicit traditional EC PEM
Public opensshSSH single-line public keys
Public rfc4716SSH2 public keys, including continued Comment headers
Public spkiPEM SubjectPublicKeyInfo
Public pkcs1RSA PEM public keys

RSA, Ed25519, ECDSA nistp256/nistp384/nistp521 and legacy DSA are supported. Ed25519 has no traditional PEM export; use OpenSSH, PPK or PKCS#8. DER, SSH certificates and hardware-backed keys are outside this release.

PPK v2 is an explicit compatibility export, selected with ppkVersion: 2. Modern PPK output defaults to v3. PPK v3 imports support Argon2d, Argon2i and Argon2id. Export parameters can be configured through argon2: {memoryKiB, passes, parallelism}; defaults are 65536 KiB, three passes and one lane. PPK v2 uses its specified legacy SHA-1 derivation and MAC.

Comments survive OpenSSH, PPK and RFC4716 conversions. PEM formats do not provide a corresponding SSH comment field.

Continue with conversion, encryption or API limits.