Skip to content

Commit

Permalink
docs: update CHANGELOG for 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
cpu authored and jsha committed Dec 5, 2023
1 parent 7139cc6 commit a1e41be
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# Changelog

## 0.12.0 (2023-12-03)

This comment has been minimized.

Copy link
@kpcyrd

kpcyrd Dec 6, 2023

Contributor

This release got tagged as v/0.12.0 instead of v0.12.0, is this a typo? :)

This comment has been minimized.

Copy link
@cpu

cpu Dec 6, 2023

Author Member

Thanks for checking: this is the convention we use in Rustls, and what previous rustls-ffi tags have done.

TBH I'm not sure how that convention was arrived at, I've just been following it 😅

This comment has been minimized.

Copy link
@cpu

cpu Dec 6, 2023

Author Member

and what previous rustls-ffi tags have done

Oops, of course immediately after posting that I notice this isn't what rustls-ffi has done.

I'll fix the tag to match the historic ones.

This comment has been minimized.

Copy link
@cpu

cpu Dec 6, 2023

Author Member

I can't edit or delete the tag I already pushed but I added a new 0.12.0 tag and updated the GitHub release to reference it instead of v0.12.0

Thanks for flagging that.

This comment has been minimized.

Copy link
@cpu

cpu Dec 6, 2023

Author Member

Ugh I'm making a real mess. It should have been v0.12.0 to match previous and I pushed 0.12.0. Pushed another tag for v0.12.0 and updated the release to use it.

This comment has been minimized.

Copy link
@cpu

cpu Dec 6, 2023

Author Member

I was able to delete the older v/0.12.0 and 0.12.0 tags after switching the GitHub release, so I think things are cleared up now. The tags are all consistent.

This comment has been minimized.

Copy link
@kpcyrd

kpcyrd Dec 7, 2023

Contributor

Sorry for the troubles and thanks for taking care of this, librustls 0.12.0 is now in Arch Linux, with the official dependency lockfile and the latest cargo-c patch (no more patchelf). :)


This release updates to [Rustls 0.22], but does not yet expose support for
customizing the cryptographic provider. This will be added in a future release,
and 0.12.0 continues to use `*ring*` as the only cryptographic provider.

[Rustls 0.22]: https://github.com/rustls/rustls/releases/tag/v%2F0.22.0

### Added

* `RUSTLS_RESULT_CLIENT_CERT_VERIFIER_BUILDER_NO_ROOT_ANCHORS` error code,
returned when a client cert verifier is being built that hasn't provided any
root trust anchors.
* The server certificate verifier now supports CRL revocation checking through
policy and CRLs provided to the server certificate verifier builder.
* Client certificate verifier builder now supports controlling CRL revocation
status check depth and unknown revocation policy.

### Changed

* The root certificate store constructor (`rustls_root_cert_store_new`) and the
function to add PEM content (`rustls_root_cert_store_add_pem`) have been
replaced with a new `rustls_root_cert_store_builder` type, constructed with
`rustls_root_cert_store_builder_new`. PEM content can be added with
`rustls_root_cert_store_builder_add_pem` and
`rustls_root_cert_store_builder_load_roots_from_file`.
* The client verifier builders (
`rustls_allow_any_anonymous_or_authenticated_client_builder`, and
`rustls_allow_any_authenticated_client_builder`) as well as the client
verifier types (`rustls_allow_any_anonymous_or_authenticated_client_verifier`,
`rustls_allow_any_authenticated_client_verifier`) have been replaced with
`rustls_web_pki_client_cert_verifier_builder` and `rustls_client_cert_verifier`.
* The server config client verifier setters
(`rustls_server_config_builder_set_client_verifier` and
`rustls_server_config_builder_set_client_verifier_optional`) have been
replaced with `rustls_server_config_builder_set_client_verifier`.
* The client config builder functions for specifying root trust anchors
(`rustls_client_config_builder_use_roots` and
`rustls_client_config_builder_load_roots_from_file`) have been replaced
with a server certificate verifier builder
(`rustls_web_pki_server_cert_verifier_builder`) constructed with
`rustls_web_pki_server_cert_verifier_builder_new` and
a `rustls_root_cert_store`. The built `rustls_web_pki_server_cert_verifier`
can be provided to a client config builder with
`rustls_client_config_builder_set_server_verifier`.
* CRL validation defaults to checking the full certificate chain, and treating
unknown revocation status as an error condition.

### Removed

* `RUSTLS_RESULT_CERT_SCT_*` error codes have been removed.

## 0.11.0 (2023-07-14)

### Added
Expand Down

0 comments on commit a1e41be

Please sign in to comment.