# Changelog

## [v0.14.1] - 2025-05-23

### Fixed

- Support for OpenSSL 3.5+ `OID` values returned from the extensions created by `OpenSSL::X509::ExtensionFactory`. [@nicolastemciuc]

## [v0.14.0] - 2025-02-06

- Handle incompatibility between `parameters` and `unique` in `TPublic`. [@nicolastemciuc], [@santiagorodriguez96]

## [v0.13.1] - 2025-01-22

- Fix build [@nicolastemciuc]

## [v0.13.0] - 2025-01-21

- Use public key from AIK cert for signature algorithm initalization [@santiagorodriguez96]
- Support algorithm being ECC and pubArea's scheme parameter being TPM_ALG_NULL [@santiagorodriguez96]
- Allow TPM:TPublic to handle ECC keys in pubArea correctly [@santiagorodriguez96]

## [v0.12.1] - 2024-08-05

- Fix loading trusted certificates on Windows. #20 & #21 [@johnnyshields], [@salmanasiddiqui]

## [v0.12.0] - 2022-07-05

- Loose OpenSSL dependency to support 3.2 users. Credits to @stanhu <3

## [v0.11.0] - 2022-07-05

- Support OpenSSL ~>3.0.0. Credits to @ClearlyClaire <3

## [v0.10.0] - 2020-07-09

### Added

- Support ECDSA with NIST P384 and P521 curves

## [v0.9.0] - 2020-05-31

### Fixed

- Fixed compatibility with OpenSSL-C (libssl) v1.0.2 ([@santiagorodriguez96])

## [v0.8.0] - 2020-03-29

### Changed

- Update `openssl-signature_algorithm` gem dependency from `v0.3` to `v0.4`.

## [v0.7.0] - 2020-02-25

### Added

- `TPM::KeyAttestation#valid?` performs certificate path validation. In other words, it verifies trust up
to an acceptable trusted root certificate.

### Changed

- Rename `TPM::EKCertificate` to `TPM::AIKCertificate` to fix semantics

## [v0.6.0] - 2020-01-30

### Changed

- `TPM::KeyAttestation.new` now accepts `signature_algorithm` and `hash_algorithm` in TPM format in
replacement of `JOSE` format `algorithm` string

## [v0.5.0] - 2020-01-23

### Added

- `TPM::KeyAttestation#valid?` also checks there's at least a well-formatted key in the attestation

## [v0.4.0] - 2020-01-20

### Added

- Suport verification of RSA-PSS key attestations

## [v0.3.0] - 2020-01-20

### Added

- `TPM::KeyAttestation#key` returns attested key as an instance of `OpenSSL::PKey::PKey`

## [v0.2.0] - 2020-01-16

### Added

- `TPM::KeyAttestation#valid?`

## [v0.1.0] - 2020-01-15

### Added

- `TPM::EKCertificate` wrapper
- `TPM::SAttest` wrapper

[v0.14.1]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.14.0...v0.14.1/
[v0.14.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.13.1...v0.14.0/
[v0.13.1]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.13.0...v0.13.1/
[v0.13.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.12.1...v0.13.0/
[v0.12.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.11.0...v0.12.0/
[v0.11.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.10.0...v0.11.0/
[v0.10.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.9.0...v0.10.0/
[v0.9.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.8.0...v0.9.0/
[v0.8.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.7.0...v0.8.0/
[v0.7.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.6.0...v0.7.0/
[v0.6.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.5.0...v0.6.0/
[v0.5.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.4.0...v0.5.0/
[v0.4.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.3.0...v0.4.0/
[v0.3.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.2.0...v0.3.0/
[v0.2.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.1.0...v0.2.0/
[v0.1.0]: https://github.com/cedarcode/tpm-key_attestation/compare/57c926ef7e83830cee8d111fdc5ccaf99ab2e861...v0.1.0/

[@santiagorodriguez96]: https://github.com/santiagorodriguez96
[@ClearlyClaire]: https://github.com/ClearlyClaire
