Skip to content

Conversation

oxide-renovate[bot]
Copy link
Contributor

@oxide-renovate oxide-renovate bot commented Jul 28, 2025

This PR contains the following updates:

Package Type Update Change
rcgen workspace.dependencies minor 0.12.1 -> 0.14.3

Release Notes

rustls/rcgen (rcgen)

v0.14.3: 0.14.3

Compare Source

What's Changed

v0.14.2: 0.14.2

Compare Source

  • Add a CertifiedIssuer type (see #​363)

What's changed

v0.14.1: 0.14.1

Compare Source

Declare 1.71 rust-version and check MSRV in CI.

What's Changed

v0.14.0: 0.14.0

Compare Source

0.14.0 contains a number of potentially breaking API changes, though hopefully the rate of API change should slow down after this. Here is a summary of the most noticeable changes you might run into:

  • signed_by() methods now take a reference to an &Issuer type that contains both the issuer's relevant certificate parameters and the signing key (see #​356). The from_ca_cert_der() and from_ca_cert_pem() constructors that were previously attached to CertificateParams are now attached to Issuer instead, removing a number of documented caveats.
  • The RemoteKeyPair trait is now called SigningKey and instead of KeyPair being an enum that contains a Remote variant, that variant has been removed in favor of KeyPair implementing the trait (see #​328). To align with this change, the CertifiedKey::key_pair field is now called signing_key, and CertifiedKey is generic over the signing key type.
  • The KeyPair::public_key_der() method has moved to PublicKeyData::subject_public_key_info() (see #​328).
  • Output types like Certificate no longer contain their originating CertificateParams. Instead, signed_by() and self_signed() now take &self, allowing the caller to retain access to the input parameters (see #​328). In order to make this possible, Certificate::key_identifier() can now be accessed via CertificateParams directly.
  • String types have been moved into a module (see #​329).

What's Changed

v0.13.3: 0.13.3

Compare Source

This release was yanked due to #​324

What's Changed

v0.13.2: 0.13.2

Compare Source

Several improvements to the capabilities available when working with certificate signing requests.

What's Changed

v0.13.1: 0.13.1

Compare Source

Fixed incorrect usage of the subject certificate's parameter's key identifier method when computing the key identifier of the issuer for the subject's authority key identifier (AKI) extension.

What's Changed

v0.13.0: 0.13.0

Compare Source

Breaking changes

  • The API used to create/issue key pairs, certificates, certificate signing requests (CSRs), and certificate revocation lists (CRLs) has been restructured to emphasize consistency and avoid common errors with serialization.

    For each concrete type (cert, CSR, CRL) the process is now the same:

    1. generate or load a key pair and any information about issuers required.
    2. create parameters, customizing as appropriate.
    3. call a generation fn on the parameters, providing subject key pair and issuer information and as appropriate.
    4. call serialization fns on the finalized type, obtaining DER or PEM.

    For more information, see [rcgen/docs/0.12-to-0.13.md].

  • Throughout the API DER inputs are now represented using types from the Rustls rustls-pki-types crate, e.g. PrivateKeyDer, CertificateDer, CertificateSigningRequestDer. Contributed by Tudyx.

  • String types used in SanType and DnValue enums for non-UTF8 string types have been replaced with more specific types that prevent representation of illegal values. E.g. Ia5String, BmpString, PrintableString, TeletexString, and UniversalString. Contributed by Tudyx.

  • Method names starting with get_ have been renamed to match Rust convention:

    • CertificateRevocationList::get_params() -> params()
    • Certificate::get_params() -> params()
    • Certificate::get_key_identifier() -> Certificate::key_identifier()
    • Certificate::get_times() -> Certificate::times()

Added

  • RSA key generation support has been added. This support requires using the aws-lc-rs feature. By default using KeyPair::generate_for() with an RSA SignatureAlgorithm will generate an RSA 2048 keypair. See KeyPair::generate_rsa_for() for support for RSA 2048, 3072 and 4096 key sizes.

  • Support for ECDSA P521 signatures and key generation has been added when using the aws-lc-rs feature. Contributed by Alvenix.

  • Support for loading private keys that may be PKCS8, PKCS1, or SEC1 has been added when using the aws-lc-rs feature. Without this feature private keys must be PKCS8. See KeyPair::from_pem_and_sign_algo() and KeyPair::from_der_and_sign_algo() for more information. Contributed by Alvenix.

  • Support has been added for Subject Alternative Name (SAN) names of type OtherName. Contributed by Tudyx.

  • Support has been added for specifying custom "other" OIDs in extended key usage. Contributed by Tudyx.

  • Support has been added for building rcgen without cryptography by omitting the new (default-enabled) crypto feature flag. Contributed by corrideat.

  • Support for using aws-lc-rs in fips mode can now be activated by using the fips feature in combination with the aws-lc-rs feature. Contributed by BiagioFesta.

  • A small command-line tool for certificate generation (rustls-cert-gen) was added. Contributed by tbro.

What's Changed


Configuration

📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@oxide-renovate oxide-renovate bot added the dependencies Pull requests that update a dependency file label Jul 28, 2025
@oxide-renovate oxide-renovate bot force-pushed the renovate/rcgen-0.x branch from caaa452 to 50aeebc Compare August 2, 2025 03:33
@oxide-renovate oxide-renovate bot force-pushed the renovate/rcgen-0.x branch 2 times, most recently from 91340ec to 7dce502 Compare August 15, 2025 03:33
@oxide-renovate oxide-renovate bot force-pushed the renovate/rcgen-0.x branch from 7dce502 to c8043a6 Compare August 23, 2025 03:24
@oxide-renovate oxide-renovate bot force-pushed the renovate/rcgen-0.x branch from c8043a6 to 89a1ef2 Compare August 28, 2025 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants