NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1774 most downloaded on npm
A library for finding and using SSH public keys
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 3 weeks to 3.0 years
Most releases are documented
notes for 32 of 50 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
50 releases · first in 2015
Add support for ed25519 private keys in pkcs8 by @teutat3s in #92
TOOLS-2101 jsstyle submodules too old for old perls by @cburroughs in #65
Full Changelog: v1.16.1...v1.17.0
One column per quarter.
Fixes for #60 (correctly encoding certificates with expiry dates >=2050), #62 (accepting PKCS#8 EC private keys with missing public key parts)
Add support for SPKI fingerprints, PuTTY PPK format (public-key only for now), PKCS#8 PBKDF2 encrypted private keys
New API for accessing x509 extensions in certificates
Nothing published for this version
Nothing published for this version
#46 Use Buffer.(from|alloc) instead of deprecated Bu…
#46 Use Buffer.(from|alloc) instead of deprecated Bu…
Remove all remaining usage of jodid25519 (abandoned dep)
Nothing published for this version
Nothing published for this version
Support SSH-format rsa-sha2-256 signatures (e.g. so the SSH agent can sign using RSA-SHA256)
Added support for X.509 extKeyUsage
Nothing published for this version
Nothing published for this version
Added support for OpenSSH format encrypted private keys (the ssh-keygen -o format, with a passphrase)
ssh-keygen -o format, with a passphrase)Nothing published for this version
New Certificate API, basic support for OpenSSH and X.509 certificates
Certificate API, basic support for OpenSSH and X.509 certificatesNothing published for this version
Use plain hash algorithm names as the argument to crypto.createSign and createVerify -- avoids the output of spurious Unknown message digest to stdout
crypto.createSign and createVerify -- avoids the output of spurious Unknown message digest to stdout on node 0.10.xjoyent/node-sshpk#3 Update ecc-jsbn dependency -- fixes installation on machines without the git client installed
git client installedDropped support for node.js v0.8 and earlier
parseKey() and parsePrivateKey() API (the old name argument has become options -- if given as a string will be used the same as before for backwards compatibility)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix for #2 (require-time performance degradation due to unnecessary check for presence of an ECDH curve)
Version detection of objects at runtime, so companion libraries like sshpk-agent no longer need to use an npm peerDependency
sshpk-agent no longer need to use an npm peerDependencyRe-enable support for node 0.8 (if you don't mind ED25519 keys throwing exceptions for many operations)
Nothing published for this version
Diffie-Hellman support (works on DSA, ECDSA, Curve25519 type keys with 1 unified API), including generation of ephemeral keys
jsbn 0.1.0parseSignatureparseFingerprint produces InvalidAlgorithmErrors as appropriate instead of AssertionErrorstweetnacl for ED25519 signatures (about 1.8-2.0x faster). The new ECDH support still uses jodid25519 since tweetnacl has no DH support._Important fix from 1.5.0_: a typo in the new ED compat code caused streams breakage after require('sshpk')
require('sshpk')sshpk-agent for ED25519 keyscurve25519 ECDHESupport for signing and verifying with ED25519 (via jodid25519, pure javascript)
jodid25519, pure javascript)jsbn instead of big-integer for any necessary bignum operationsjodid25519)Fix to return correct size for odd-sized keys (eg 1033 bit RSA keys)
size for odd-sized keys (eg 1033 bit RSA keys)ssh-private (new OpenSSH ssh-keygen -o) formatIncreased whitespace tolerance in both PEM and SSH format keys
Nothing published for this version
Add support for leading whitespace in SSH keys parsed as auto format
auto formatFix for whitespace in comments within ssh format keys
ssh format keys (#1)More robust handling of whitespace in SSH-format keys
auto format readersshpk-conv -iopenssh format not padding private keys correctlyNothing published for this version
Support for auto format (read-only)
auto format (read-only)sshpk-conv for doing key conversionSupport for PrivateKey objects, including a createSign to go with Key#createVerify
PrivateKey objects, including a createSign to go with Key#createVerifypem format keyspkcs8 private keys of all types (previously only pkcs1 private keys were supported)pkcs1 public keys (standards are murky)Add support for Signature objects, which can parse and convert between the asn.1 (OpenSSL) and OpenSSH wire format for signatures
Signature objects, which can parse and convert between the asn.1 (OpenSSL) and OpenSSH wire format for signaturesKey objects are inspected or JSON-ified.Nothing published for this version
Nothing published for this version
Better exception messages when providing invalid fingerprints to parseFingerprint()
parseFingerprint()Detection of encrypted (password-protected) PEM private keys
Fixed up compatibility with node 0.8.0 and 0.10.0
tape rather than tap for testingParsing can now be more efficient for formats like ssh if you give parseKey() a String rather than a Buffer
ssh if you give parseKey() a String rather than a BufferNothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →