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

x509: fix handling of multiple URIs in Certificate#crl_uris #776

Merged
merged 2 commits into from
Oct 31, 2024

Commits on Jul 9, 2024

  1. test_x509cert.rb: break up test_extension into smaller units

    test_extesion is testing too many features at once and is hard to
    navigate. Let's split each chunk apart for more clarity.
    rhenium committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    461cfcb View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. x509: fix handling of multiple URIs in Certificate#crl_uris

    The implementation of OpenSSL::X509::Certificate#crl_uris makes the
    assumption that each DistributionPoint in the CRL distribution points
    extension contains a single general name of type URI. This is not
    guaranteed by RFC 5280. A DistributionPoint may contain zero or more
    than one URIs.
    
    Let's include all URIs found in the extension. If only non-URI pointers
    are found, return nil.
    
    Fixes: ruby#775
    rhenium committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    71f4fef View commit details
    Browse the repository at this point in the history