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

Does not further validate contents of an bstr with embedded .cbor or .cborseq #224

Closed
rohanmahy opened this issue Jun 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rohanmahy
Copy link

Given CDDL like this, the validator just checks that foo is a bstr, but does not check that the bstr inside is a valid instance of bar.

[
foo: bstr .cbor bar
]

bar = {
a: text,
b: int,
c: bstr
}

@anweiss anweiss added the bug Something isn't working label Jul 23, 2024
@anweiss anweiss added this to the v1.0.0 milestone Feb 11, 2025
@anweiss anweiss self-assigned this Feb 11, 2025
anweiss added a commit that referenced this issue Feb 11, 2025
@anweiss
Copy link
Owner

anweiss commented Feb 11, 2025

@rohanmahy this should be fixed. Re-open as needed.

@anweiss anweiss reopened this Feb 11, 2025
@anweiss anweiss closed this as completed Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants