Skip to content

Releases: TritonDataCenter/node-sshpk

v1.8.2

25 Apr 04:01
Compare
Choose a tag to compare
  • #3 Update ecc-jsbn dependency -- fixes installation on machines without the git client installed

v1.8.1

22 Apr 02:41
Compare
Choose a tag to compare
  • Dropped support for node.js v0.8 and earlier
  • Support for reading encrypted (password-protected) PEM files (no support for writing yet)
  • Change to 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)

v1.7.1

01 Dec 21:27
Compare
Choose a tag to compare
  • Fix for #2 (require-time performance degradation due to unnecessary check for presence of an ECDH curve)

v1.7.0

19 Nov 18:33
Compare
Choose a tag to compare
  • Version detection of objects at runtime, so companion libraries like sshpk-agent no longer need to use an npm peerDependency

v1.6.2

10 Nov 02:07
Compare
Choose a tag to compare
  • Re-enable support for node 0.8 (if you don't mind ED25519 keys throwing exceptions for many operations)
  • Fix for denormalized mpints in ED25519 keys

v1.6.0

02 Nov 22:40
Compare
Choose a tag to compare
  • Diffie-Hellman support (works on DSA, ECDSA, Curve25519 type keys with 1 unified API), including generation of ephemeral keys
  • Updates to be compatible with jsbn 0.1.0
  • Bug fixes:
    • Empty signatures now always produce an error from parseSignature
    • parseFingerprint produces InvalidAlgorithmErrors as appropriate instead of AssertionErrors
    • Issues parsing explicit curves in ECDSA keys fixed
  • Moved to using tweetnacl for ED25519 signatures (about 1.8-2.0x faster). The new ECDH support still uses jodid25519 since tweetnacl has no DH support.

v1.5.1

27 Oct 18:26
Compare
Choose a tag to compare
  • Important fix from 1.5.0: a typo in the new ED compat code caused streams breakage after require('sshpk')
  • Bug fixes relating to partial reads, especially as used by sshpk-agent for ED25519 keys
  • Better support for comment recovery from whitespace-challenged SSH keys
  • Experimental support for key derivation for curve25519 ECDHE

v1.5.0

27 Oct 00:37
Compare
Choose a tag to compare
  • Support for signing and verifying with ED25519 (via jodid25519, pure javascript)
  • Use jsbn instead of big-integer for any necessary bignum operations
  • Drop compatibility with node 0.8 and earlier (necessary to use jodid25519)

v1.4.7

16 Oct 18:14
Compare
Choose a tag to compare
  • Fix to return correct size for odd-sized keys (eg 1033 bit RSA keys)
  • Fixes and better tests for loading RSA keys from ssh-private (new OpenSSH ssh-keygen -o) format
  • Cleanup of a bunch of duplicated code

v1.4.6

15 Oct 07:12
Compare
Choose a tag to compare
  • Increased whitespace tolerance in both PEM and SSH format keys
  • Handling of some horrifyingly mangled SSH format keys that are still parseable
  • Deal with non-normalized MPINTs better, since some ancient SSH clients can produce them