Skip to content

Releases: panva/jose

v1.0.1

27 Apr 18:05
Compare
Choose a tag to compare

Bug Fixes

  • oct key ts "k" type fix (0750d2c)

v1.0.0

23 Apr 16:05
Compare
Choose a tag to compare

Bug Fixes

  • fail to import invalid PEM formatted strings and buffers (857dc2b)

Features

  • add JWK key_ops support, fix .algorithms() op returns (23b874c)
  • add key.toPEM() export function with optional encryption (1159b0d)
  • add OKP Key and EdDSA sign/verify support (2dbd3ed), closes #12

BREAKING CHANGES

  • key.algorithms(op) un+wrapKey was split into correct wrapKey/unwrapKey/deriveKey returns
  • keystore.all and keystore.get operation option was removed, key_ops: string[] supersedes it
  • node.js minimal version is now v12.0.0 due to its added EdDSA support (crypto.sign, crypto.verify and eddsa key objects)

v0.12.0

07 Apr 12:15
Compare
Choose a tag to compare

Reverts

  • add EC P-256K JWK and ES256K sign/verify support (e21fea1)

BREAKING CHANGES

  • removing ES256K alg and EC P-256K crv support until the IETF WG decides on what the final names will be.

v0.11.5

04 Apr 09:11
Compare
Choose a tag to compare

Features

  • add key.secret and key.type for completeness (2dd7053)
  • add key.thumbprint always returning the JWK Thumbprint (RFC7638) (65db7e0)

v0.11.4

28 Mar 22:47
Compare
Choose a tag to compare

Bug Fixes

  • properly restrict EC curves in generate(Sync) (764b863)
  • remove unintended exposure of private material via enumerables (946d9df)

v0.11.3

27 Mar 10:16
Compare
Choose a tag to compare

Bug Fixes

  • throw on unsupported EC curves (cfa4222)

Features

  • add EC P-256K JWK and ES256K sign/verify support (2e33e1c)

v0.11.2

19 Mar 17:28
Compare
Choose a tag to compare
  • internal symbol method is now really a symbol (925d47c)
  • key.toJWK() fixed on windows (57f1692), closes #17

v0.11.1

17 Mar 16:46
Compare
Choose a tag to compare

Bug Fixes

  • properly restrict RS key algorithms by the key's bit size (9af295b)

v0.11.0

16 Mar 08:53
Compare
Choose a tag to compare

Bug Fixes

  • all JWA defined RSA operations require key of 2048 or more (cc70c5d)
  • use correct salt length for RSASSA-PSS (e936d54)

BREAKING CHANGES

  • all JWA defined RSA based operations require key size of 2048 bits or more.

v0.10.0

12 Mar 19:13
Compare
Choose a tag to compare

Bug Fixes

  • do not list "dir" under wrap/unwrapKey operations (17b37d3)

Features

  • keystore .all and .get operation option (d349ba9)

BREAKING CHANGES

  • "dir" is no longer returned as wrap/unwrapKey key operation