Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust: bump x509-parser from 0.9.2 to 0.10.0 #4173

Merged
merged 1 commit into from
Aug 18, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 4, 2021

Bumps x509-parser from 0.9.2 to 0.10.0.

Changelog

Sourced from x509-parser's changelog.

0.10.0

Added

  • Add the Validate trait to run post-parsing validations of X.509 structure
  • Add the FromDer trait to unify parsing methods and visibility (#85)
  • Add method to format X509Name using a given registry
  • Add X509Certificate::public_key() method
  • Add ED25519 as a signature algorithm (#95)
  • Add support for extensions (#86):
    • CRL Distribution Points
  • Add X509CertificateParser builder to allow specifying parsing options

Changed/Fixed

  • Extensions are now stored in order of appearance in the certificate/CRL (#80)
    • .extensions field is not public anymore, but methods .extensions() and .extensions_map() have been added
  • Store CRI attributes in order
  • Fix parsing of CertificatePolicies, and use named types (closes #82)
  • Allow specifying registry in oid2sn and similar functions (closes #88)
  • Mark X509Extension::new as const fn + inline
  • Allow leading zeroes in serial number
  • Derive Clone for all types (when possible) (#89)
  • Fix certificate validity period check to be inclusive (#90)
  • Do not fail GeneralName parsing for x400Address and ediPartyName, read it as unparsed objects (#87)
  • Change visibility of fields in X509Name (replaced by accessors)

Thanks

0.9.3

Added/Changed/Fixed

  • Add functions oid2description() and oid_registry() (closes #79)
  • Fix typo 'ocsp_signing' (closes #84)
  • Extension: use specific variant if unsupported or failed to parse (closes #83)
  • Relax constrains on parsing to accept certificates that do not strictly respect DER encoding, but are widely accepted by other X.509 libraries:
    • SubjectAltName: accept non-ia5string characters
    • Extensions: accept boolean values not enoded as 00 or ff
    • Serial: build BigUint from raw bytes (do not check sign)
Commits
  • 8c8e7a4 Prepare release 0.10.0
  • 800aba1 Document Validate trait
  • 0413146 Change RDN fields visibility, and add more documentation
  • dc8dd32 Change visibility of fields in X509Name (replaced by accessors)
  • 9c3e2f9 Add X509CertificateParser builder to allow specifying parsing options
  • ccdada4 Switch back to crates.io version of der-parser
  • e05d5c3 Added ReasonFlags struct for CRLDistributionPoints extension
  • 5e37ec3 Fix CRLDistributionPoints to match OpenSSL (#96 #97)
  • b703fbc Fix clippy warnings (rustc 1.54)
  • 3e8cd50 Added tests for CRLDistributionPoints extension
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added c:deps Category: external dependencies rust labels Aug 4, 2021
@kostko kostko added the s:ready-ci Status: ready for CI label Aug 17, 2021
@kostko
Copy link
Member

kostko commented Aug 17, 2021

@dependabot rebase

@kostko kostko enabled auto-merge August 17, 2021 12:28
@dependabot dependabot bot force-pushed the dependabot/cargo/x509-parser-0.10.0 branch from 727ba56 to 04906ac Compare August 17, 2021 12:28
Bumps [x509-parser](https://github.com/rusticata/x509-parser) from 0.9.2
to 0.10.0.
- [Release notes](https://github.com/rusticata/x509-parser/releases)
- [Changelog](https://github.com/rusticata/x509-parser/blob/master/CHANGELOG.md)
- [Commits](rusticata/x509-parser@x509-parser-0.9.2...x509-parser-0.10.0)

---
updated-dependencies:
- dependency-name: x509-parser
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@kostko kostko force-pushed the dependabot/cargo/x509-parser-0.10.0 branch from 04906ac to 71912cd Compare August 18, 2021 07:31
@kostko kostko merged commit 820898d into master Aug 18, 2021
@kostko kostko deleted the dependabot/cargo/x509-parser-0.10.0 branch August 18, 2021 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:deps Category: external dependencies rust s:ready-ci Status: ready for CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant