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

verify_cert: check name constraints after sig. validation #278

Closed

Commits on Sep 19, 2023

  1. verify_cert: check name constraints after sig. validation

    Prior to this commit parsing and processing certificate name constraints
    was done before validating a chain of signatures to a known trust
    anchor. This increases the attack surface of these features, allowing an
    adversary to force webpki to process name constraints on a crafted
    certificate without needing to have that certificate issued by a trusted
    entity.
    
    This commit moves the parsing and processing of name constraints to
    after building and verifying the chain of signatures to reduce the
    potential for mischief.
    cpu committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    2a82880 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5bf67ff View commit details
    Browse the repository at this point in the history