Skip to content

chore: update algorithm families#893

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

chore: update algorithm families#893
github-actions[bot] wants to merge 184 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>
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@servicenow.com>
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>
stevespringett and others added 28 commits June 7, 2026 02:28
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>
A series of enhancements, corrections, and minor refactors of some of
the schemas supporting threat modeling.
…related areas in the spec.

Signed-off-by: Steve Springett <steve@springett.us>
…ehavior schema.

Signed-off-by: Steve Springett <steve@springett.us>
… - and updated it to be an array. Added cadence (previously was risk assessment type) to be a noun representing temporal data. Updated test case.

Signed-off-by: Steve Springett <steve@springett.us>
…ves, kill chains, and attack paths for lateral movement.

Signed-off-by: Steve Springett <steve@springett.us>
…king Group.

Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
…nts from Jan

Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
superceeds #776 and closes #718.


I have included the change to the `component` schema as an example of
how this would look like in other schemas. Once approved by TC54, I will
refactor the remaining part of the schemas to use the party model. The
refactor shall use the same pattern as the component schema and should
be considered during the review.
# 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.
…ling

Signed-off-by: Steve Springett <steve@springett.us>

# Conflicts:
#	schema/2.0/cyclonedx-2.0-bundled.min.schema.json
#	schema/2.0/model/cyclonedx-component-2.0.schema.json
@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);
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.

7 participants