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

Added sslyze parser check for successful ASN1 certificate parsing #1856

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

Ilyesbdlala
Copy link
Member

@Ilyesbdlala Ilyesbdlala commented Aug 9, 2023

Description

Resolves the following sslyze parser error found internally:

Starting Parser
Fetching result file
Fetched result file
Parser failed with error:
TypeError: Cannot read properties of null (reading 'certificate_deployments')
    at analyseCertificateDeployments (/home/app/parser-wrapper/parser/parser.js:155:81)
    at parse (/home/app/parser-wrapper/parser/parser.js:38:8)
    at main (/home/app/parser-wrapper/parser-wrapper.js:127:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Also added a corresponding unit-test

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure that all your commits are signed-off and that you are added to the Contributors file.
  • Make sure that all CI finish successfully.
  • Optional (but appreciated): Make sure that all commits are Verified.

Also added a corresponding unit-test

Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
@Ilyesbdlala Ilyesbdlala added the bug Bugs label Aug 9, 2023
@Ilyesbdlala Ilyesbdlala self-assigned this Aug 9, 2023
@github-actions
Copy link

github-actions bot commented Aug 9, 2023

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
⚠️ JAVASCRIPT eslint 2 1 1.04s
✅ JSON eslint-plugin-jsonc 1 0 2.29s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@Zero3141 Zero3141 merged commit 3ad954b into main Aug 25, 2023
@Zero3141 Zero3141 deleted the bugfix/sslyze-parser branch August 25, 2023 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants