Repository navigation
Conversation
Contributor
|
Thanks for the PR. In my understanding the key length would be determined by |
Signed-off-by: jay23606 <4602056+jay23606@users.noreply.github.com>
jay23606
force-pushed
the
pr-go-simple/866
branch
from
November 20, 2026 11:26
13cc180 to
c4d8e7d
Compare
jay23606
marked this pull request as ready for review
November 20, 2026 11:28
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CMAC variant pattern in
schema/cryptography-defs.jsonwasCMAC[-{cipherAlgorithm}][-{length}], which gave no way to express the key length (128, 192, or 256). This adds a[-{keyLength}]segment before the existing{length}segment, matching the convention used by CTR_DRBG and the other key-sized families. The existing{length}segment is kept unchanged, so the change is additive.Tests: I checked that the file still parses as JSON and that the CMAC pattern reads as
CMAC[-{cipherAlgorithm}][-{keyLength}][-{length}]. I did not run the Java or JS schema test suites locally because I did not install dependencies; CI runs them. No existing test covers the CMAC pattern string, so I did not add a regression test.🤖 Generated with Claude Code
Tests not run here: Java schema tests (tools/src/test/java/org/cyclonedx/schema/JsonSchemaVerificationTest.java): not run; would need Maven/Gradle dependencies, which I was told not to install. CI runs them., JS functional tests (tools/src/test/js/json-schema-functional-tests.js): not run; needs npm dependencies, which I was told not to install. CI runs them.
Fixes #866
🤖 Generated with Claude Code