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

Fix/ocsp extraction error raised #120

Merged
merged 10 commits into from
Sep 1, 2022
Merged

Conversation

tropxy
Copy link
Contributor

@tropxy tropxy commented Aug 31, 2022

Added the OCSP field to the config when generating new certs
Added a dummy certificate with no OCSP data for testing purposes
Refactored the logic to extract the hash data to be more legible
No OCSP data means there is no need to build hash data for the certificate, as there is no responder URL to perform the call...

Fix #96

Copy link
Contributor

@danielgordon-switch-ev danielgordon-switch-ev left a comment

Choose a reason for hiding this comment

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

A few questions, but generally this looks OK.

iso15118/shared/security.py Show resolved Hide resolved
iso15118/shared/security.py Show resolved Hide resolved
iso15118/shared/security.py Outdated Show resolved Hide resolved
iso15118/shared/pki/configs/contractLeafCert.cnf Outdated Show resolved Hide resolved
@tropxy tropxy merged commit 7bf66fe into master Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle missing responder_url in a better way
2 participants