Skip to content

chore: update algorithm families - #893

Open
github-actions[bot] wants to merge 148 commits into
masterfrom
update-algorithm-families
Open

chore: update algorithm families#893
github-actions[bot] wants to merge 148 commits into
masterfrom
update-algorithm-families

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR updates schema/cryptography-defs.schema.json with the latest algorithm families generated from schema/cryptography-defs.json.

stevespringett and others added 30 commits June 14, 2025 20:17
Signed-off-by: Steve Springett <steve@springett.us>
Syncing with master to incoporate v1.7 spec
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>
github-actions Bot and others added 7 commits June 28, 2026 22:24
# 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
github-actions Bot force-pushed the update-algorithm-families branch from 3f6d144 to 547aeea Compare June 28, 2026 23:38
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);
jkowalleck and others added 12 commits July 29, 2026 19:44
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>
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
github-actions Bot force-pushed the update-algorithm-families branch from 547aeea to 4cd1f2f Compare August 4, 2026 16:06
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
github-actions Bot force-pushed the update-algorithm-families branch from 4cd1f2f to b59f256 Compare August 4, 2026 16:13
@github-actions
github-actions Bot force-pushed the update-algorithm-families branch 2 times, most recently from 2764c07 to df66fdb Compare August 4, 2026 17:00
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.

6 participants