Skip to content

Handle unchecked ASN.1 parsing errors in VOMS extensions - #125

Open
enricovianello wants to merge 1 commit into
mainfrom
voms-asn1-regression
Open

enricovianello wants to merge 1 commit into
mainfrom
voms-asn1-regression

Conversation

@enricovianello

Copy link
Copy Markdown
Member

Convert IllegalArgumentException and IllegalStateException raised during VOMS AC extraction into IOException, preserving the original cause. Normalize embedded certificate parsing errors and close ASN.1 streams when parsing fails.

Add regression tests for malformed extension encodings and payloads, including successful parsing after a rejected input.

Convert IllegalArgumentException and IllegalStateException raised during
VOMS AC extraction into IOException, preserving the original cause.
Normalize embedded certificate parsing errors and close ASN.1 streams
when parsing fails.

Add regression tests for malformed extension encodings and payloads,
including successful parsing after a rejected input.
@enricovianello enricovianello self-assigned this Nov 5, 2026
@sonarqubecloud

sonarqubecloud Bot commented Nov 5, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
77.8% Coverage on New Code (required ≥ 80%)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

This branch has not been deployed

No deployments
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.

1 participant