v1.3.1 - 2024-08-12
- Handling COSE EC keys encoded without leading 0 bytes in coordinates (#64). Credits to @waltercacau.
v1.3.0 - 2022-10-28
- Add support for EdDSA (#55). Credits to @bdewater.
v1.2.1 - 2022-07-03
- Support OpenSSL ~>3.0.0. Credits to @ClearlyClaire <3
v1.2.0 - 2020-07-10
- Support ES256K signature algorithm
v1.1.0 - 2020-07-09
- Update
openssl-signature_algorithmruntime dependency from~> 0.4.0to~> 1.0.
v1.0.0 - 2020-03-29
- Signature verification validates key
algis compatible with the signature algorithm
NOTE: No breaking changes. Moving out of v0.x to express the intention to keep the public API stable.
v0.11.0 - 2020-01-30
- Let others easily support more signature algorithms by making
COSE::Algorithm::SignatureAlgorithmsmarter
v0.10.0 - 2019-12-19
- Works on ruby 2.7 without throwing any warnings
- Simpler way to rescue key deserialization error, now possible to:
begin COSE::Key.deserialize(cbor) rescue COSE::KeyDeserializationError # handle error end
v0.9.0 - 2019-08-31
COSE::Sign1#verifyCOSE::Sign#verifyCOSE::Mac0#verifyCOSE::Mac#verify
v0.8.0 - 2019-08-17
- Support
COSE::Keyinstantiation based on anOpenSSL::PKeyobject withCOSE::Key.from_pkey - Provide writer methods for
COSE::KeyCommon Parameters (#base_iv=,#key_ops=,#alg=and#kid=)
v0.7.0 - 2019-05-02
require "cose"now correctly requires all features
v0.6.1 - 2019-04-06
- Fix COSE::Key::RSA#to_pkey for a public key
v0.6.0 - 2019-04-03
- Support Key Common Parameters (
#base_iv,key_ops,#algand#kid) - Support OKP Key
- Support RSA private key serialization
- Works with ruby 2.3
- Key type-specific parameters names better match RFC
v0.5.0 - 2019-03-25
COSE::Key.serialize(openssl_pkey)serializes anOpenSSL::PKey::PKeyobject into CBOR data. Supports RSA keys plus EC keys from curves prime256v1, secp384r1 and secp521r1.COSE::Key::EC2#to_pkeyconverts to anOpenSSL::PKey::ECobjectCOSE::Key::RSA#to_pkeyconverts to anOpenSSL::PKey::RSAobject
v0.4.1 - 2019-03-12
- Fix
uninitialized constant COSE::Key::Base::LABEL_KTYwhen requiring only particular key
v0.4.0 - 2019-03-12
- RSA public key deserialization
- Key type-agnostic deserialization
- Keys
.from_cbormethods changed to.deserialize
v0.3.0 - 2019-03-09
- Support deserialization of security messages:
- COSE_Sign
- COSE_Sign1
- COSE_Mac
- COSE_Mac0
- COSE_Encrypt
- COSE_Encrypt0
- Works with ruby 2.6
v0.2.0 - 2019-03-04
- Symmetric key object
- EC2 key suppors D coordinate
- Works with ruby 2.4
v0.1.0 - 2018-06-08
- EC2 key object
- Works with ruby 2.5