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

Use string contains check on verification output #22

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

ricklambrechts
Copy link
Member

@ricklambrechts ricklambrechts commented Dec 12, 2022

We throw a crypto exception when the output does not start with Verification successful of Verification failure.
For the latest opensssl version this message is changed to CMS Verification successful and CMS Verification failure.

Based on the process exitcode the validation is successful or not, so we do not update the validation logic. This change only updates when we throw an crypto exception if there is an output we did not expect.

@ricklambrechts ricklambrechts merged commit cc94228 into main Dec 12, 2022
@ricklambrechts ricklambrechts deleted the update-signature-verification-check branch December 12, 2022 11:10
@nicktencate
Copy link
Contributor

Waarom?

Dit is gevaarlijk(!!)

@jaytaph
Copy link
Member

jaytaph commented Dec 12, 2022

Niet echt nee (!!). Dit is een ssllibre check. De "echte" check of verificatie goed gaat wordt door de exitcode gedaan

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.

3 participants