chore: update algorithm families - #893
Open
github-actions[bot] wants to merge 148 commits into
Open
Conversation
Signed-off-by: Steve Springett <steve@springett.us>
Syncing with master to incoporate v1.7 spec
This reverts commit bde33b2.
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
…ment patterns. Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
# Migrate enveloped signature support from JSF to JSS (ITU-T X.590) ## Summary - Replaced legacy JSON Signature Format (JSF) with JSON Signature Scheme (JSS) per ITU-T X.590 (10/2023). Added CycloneDX 2.0 model schema that implements JSS - Updated all schema files referencing signatures to use the new `signatures` array (JSS) instead of singular `signature` object (JSF) - Removed old JSF test (`valid-signatures-2.0.json`) and added 18 targeted JSS test cases (8 valid, 10 invalid) This PR closes #851 All tests are **structural validations only**. Keys, certificates, thumbprints, and signature values are illustrative and may not be cryptographically valid. No content validation is performed.
github-actions
Bot
force-pushed
the
update-algorithm-families
branch
from
June 28, 2026 23:38
3f6d144 to
547aeea
Compare
| const absoluteRootPath = path.resolve(rootSchemaPath); | ||
|
|
||
| // Verify paths exist | ||
| await fs.access(absoluteModelsDir); |
|
|
||
| // Verify paths exist | ||
| await fs.access(absoluteModelsDir); | ||
| await fs.access(absoluteRootPath); |
| console.log(`Output (minified): ${minifiedPath}\n`); | ||
|
|
||
| // Read all schema files in the models directory | ||
| const files = await fs.readdir(absoluteModelsDir); |
| const schemaPath = path.join(absoluteModelsDir, file); | ||
| console.log(` Reading ${file}...`); | ||
|
|
||
| const content = await fs.readFile(schemaPath, 'utf8'); |
|
|
||
| // Read the root schema | ||
| console.log(`\nReading root schema...`); | ||
| const rootContent = await fs.readFile(absoluteRootPath, 'utf8'); |
| console.log('\nWriting bundled schema...'); | ||
| const prettyJson = JSON.stringify(finalSchema, null, 2); | ||
| await fs.writeFile(bundledPath, prettyJson); | ||
| const bundledStats = await fs.stat(bundledPath); |
| const lineCount = minifiedJson.split('\n').length; | ||
| console.log(` Minified JSON is on ${lineCount} line(s)`); | ||
|
|
||
| await fs.writeFile(minifiedPath, minifiedJson); |
| console.log(` Minified JSON is on ${lineCount} line(s)`); | ||
|
|
||
| await fs.writeFile(minifiedPath, minifiedJson); | ||
| const minifiedStats = await fs.stat(minifiedPath); |
| // Pattern for markdown links at the end | ||
| const markdownLinkPattern = /\]\([^)]+\)$/; | ||
|
|
||
| return urlPattern.test(text) || markdownLinkPattern.test(text); |
| // Pattern for markdown links at the end | ||
| const markdownLinkPattern = /\]\([^)]+\)$/; | ||
|
|
||
| return urlPattern.test(text) || markdownLinkPattern.test(text); |
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
test scripts were split between CycloneDX v1.x and v2.x (v2 tests do not exist, yet) --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
- [x] Java tests - functional - [x] JS tests - functional - WIP - found some false-positives/false-negatives - due to errors in test resources - [x] JS tests - schema validate - includes #996 - includes #992 - JS tests - semantics - [x] #998 - [x] #995 - [x] PHP tests - functional added tests only, no schema/res fixes - they are prepared in - #997 - #1001 --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
github-actions
Bot
force-pushed
the
update-algorithm-families
branch
from
August 4, 2026 16:06
547aeea to
4cd1f2f
Compare
merge latest master and fix conflicts caused by #652 (comment) ---- there are currently some conflicts in the `.github/workflows/*` ```text This branch has conflicts that must be resolved Use the command line to resolve conflicts before continuing. .github/workflows/bundle_2.0_schemas.yml .github/workflows/test_java.yml .github/workflows/test_js.yml .github/workflows/test_php.yml .github/workflows/test_proto.yml docgen/json/templates/cyclonedx/base.html docgen/json/templates/cyclonedx/section_properties.html docgen/proto/templates/html.tmpl docgen/xml/xs3p.xsl tools/src/test/js/json-schema-functional-tests.js tools/src/test/js/json-schema-lint-tests.js ``` i will sort this out soon. basically this is a file being moved in our(`2.0-dev`) branch, and a dependabot updating an action in their's(`master`) branch. similar with tests and QA tools ... but i have no idea what to do with the docs - i guess we use "ours"? --------- Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be> Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> Signed-off-by: Basil Hess <bhe@zurich.ibm.com> Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com> Signed-off-by: Steve Springett <steve@springett.us> Signed-off-by: Joachim Vandersmissen <git@jvdsn.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: wievdndr <wiebe.vandendriessche@ugent.be> Co-authored-by: Wiebe Vandendriessche <146532897+wiebe-vandendriessche@users.noreply.github.com> Co-authored-by: Basil Hess <bhe@zurich.ibm.com> Co-authored-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com> Co-authored-by: Steve Springett <steve@springett.us> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Joachim Vandersmissen <git@jvdsn.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions
Bot
force-pushed
the
update-algorithm-families
branch
from
August 4, 2026 16:13
4cd1f2f to
b59f256
Compare
github-actions
Bot
force-pushed
the
update-algorithm-families
branch
2 times, most recently
from
August 4, 2026 17:00
2764c07 to
df66fdb
Compare
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.
This PR updates
schema/cryptography-defs.schema.jsonwith the latest algorithm families generated fromschema/cryptography-defs.json.