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_algorithm
runtime dependency from~> 0.4.0
to~> 1.0
.
v1.0.0 - 2020-03-29
- Signature verification validates key
alg
is 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::SignatureAlgorithm
smarter
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#verify
COSE::Sign#verify
COSE::Mac0#verify
COSE::Mac#verify
v0.8.0 - 2019-08-17
- Support
COSE::Key
instantiation based on anOpenSSL::PKey
object withCOSE::Key.from_pkey
- Provide writer methods for
COSE::Key
Common 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
,#alg
and#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::PKey
object into CBOR data. Supports RSA keys plus EC keys from curves prime256v1, secp384r1 and secp521r1.COSE::Key::EC2#to_pkey
converts to anOpenSSL::PKey::EC
objectCOSE::Key::RSA#to_pkey
converts to anOpenSSL::PKey::RSA
object
v0.4.1 - 2019-03-12
- Fix
uninitialized constant COSE::Key::Base::LABEL_KTY
when requiring only particular key
v0.4.0 - 2019-03-12
- RSA public key deserialization
- Key type-agnostic deserialization
- Keys
.from_cbor
methods 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