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

Add support for sslyze 3 (superset of PR #214) #248

Merged
merged 15 commits into from
Oct 16, 2023
Merged

Conversation

felddy
Copy link
Member

@felddy felddy commented Oct 16, 2023

🗣 Description

This PR contains a superset of the commits of PR:

💭 Motivation and context

🧪 Testing

Testing is incomplete at this time.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All relevant repo and/or project documentation has been updated to reflect the changes in this PR.
  • All new and existing tests pass.

✅ Pre-merge checklist

  • Finalize version.

✅ Post-merge checklist

  • Create a release.

@felddy felddy self-assigned this Oct 16, 2023
@felddy felddy added improvement This issue or pull request will add or improve functionality, maintainability, or ease of use upstream update This issue or pull request pulls in upstream updates hacktoberfest-accepted Pull request that should count toward Hacktoberfest participation labels Oct 16, 2023
SaptakS and others added 11 commits October 16, 2023 14:17
- fixes import errors for the current required modules
- uses the new format for certificate analyzer
- updates dependency of sslyze to >=3.0.0
- fix comments
- use == instead of is

Co-authored-by: Nick M. <[email protected]>
- consider all deployments and if all validations succeed, then
consider it trusted
- use path_validation_results instead of received_certificate_chain
to consider if STORE is included in trust_store
- check self signed validation in cert_chain till the second last
cert since the last cert is root cert and hence is self signed anyways
- put all logic inside one loop over path_validation_results
@felddy felddy marked this pull request as ready for review October 16, 2023 18:46
This is documented in setup.py.
No one will be amazed that it doesn't support Python 2.
Copy link
Member

@jsf9k jsf9k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval intensifies!!!

Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍

@felddy felddy changed the title Add support for sslyze 3 (mirror of PR #214) Add support for sslyze 3 (superset of PR #214) Oct 16, 2023
@felddy felddy merged commit 4f9b94f into develop Oct 16, 2023
35 of 38 checks passed
@felddy felddy deleted the improvement/sslyze3 branch October 16, 2023 19:58
@felddy felddy mentioned this pull request Oct 16, 2023
6 tasks
@jsf9k jsf9k mentioned this pull request Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Pull request that should count toward Hacktoberfest participation improvement This issue or pull request will add or improve functionality, maintainability, or ease of use upstream update This issue or pull request pulls in upstream updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants