Skip to content

Latest commit

 

History

History
89 lines (61 loc) · 2.98 KB

CHANGELOG.md

File metadata and controls

89 lines (61 loc) · 2.98 KB

CreativeCode.JWK Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

0.7.1 - 2023-03-29

Changed

  • Added a check to verify that the used keyLength for an RSA key is less than the max length support by the RSACryptoServiceProvider in the .NET SDK.

0.7.0 - 2023-03-26

Added

  • Add option in JWK constructor to provide custom key length for RSA key (Note: A minimum key length of 2048bit (NIST recommendation) is still enforced)

0.6.1 - 2023-02-08

Fixed

  • Fixed an issue that would cause a JsonWriterException when exporting multiple JWK objects in parallel

0.6.0 - 2022-12-30

Added

  • Added support for (de-)serialization of JSON Web Key Sets
  • Added Base64Helper.cs for base64url encoding and decoding

0.5.0 - 2022-11-14

Changed

  • Upgraded (test-)project dependencies

0.4.0 - 2021-01-25

Changed

  • The BuildWithOptions method has been removed. Corresponding constructors for the 'JWK' class have been added.
  • 'keyParameters' has been renamed to 'KeyParameters'
  • Added a constructor to initialize a JWK with key parameters
  • KeyType has been removed from Algorithm
  • Added a constructor to deserialize a JWK from a string
  • Added TryGetAlgorithm, TryGetKeyType and TryGetPublicKeyUse to get the string representation of the corresponding object.

0.3.0 - 2020-12-21

Changed

  • JWK.KeyParts.Algorithm.Value has been renamed to .Name
  • JWK.KeyParts.KeyParameters.Values is now publicly accessible
  • JWK.KeyParts.KeyType.Type is now publicly accessible
  • JWK.KeyParts.PublicKeyUse.KeyUse is now publicly accessible

Fixed

  • Issue #2 - key_ops is string, should be array

0.2.2 - 2019-01-09

Changed

  • Change TargetFramework to netstandard2.0 for improved compability.

0.2.1 - 2019-01-07

Changed

  • Improve literature reference for selecting HMAC key size

Fixed

  • Don't throw an exception when calling ToString() when calling to string on a symmetric key. Instead, return a message indicating that ToString() is not available for symmetric keys to avoid key exposure
  • Fixed an invalid CryptographicException when calling when creating an HMAC key
  • Fixed algorithm name when creating an ECCurve key with an unknown key length.

0.2.0 - 2018-12-29

Added

  • Added instructions on how to install CreativeCode.JWK library
  • Added example code on how to create a JWK
  • Provide performance information (building a JWK / serialize a JWK) in debug mode
  • Serialize(bool shouldExportPrivateKey). Provide the JSON representation of the JWK.
  • IsSymmetric(). Determines whether a JWK contains a symetric or asymetric key.

Changed

  • By default all properties of a JWK now contain a public getter
  • Renamed JWKfromOptions to BuidlWithOptions
  • An exception if thrown if Serialize() is called with shouldExportPrivateKey = false.

Fixed

  • If ECCurve name could not be parsed, no exception would be thrown

0.1.0 - 2018-12-24

Added

  • Initial release of NuGet package.