Repository navigation
Conversation
Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com>
Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com>
Mehrn0ush
force-pushed
the
feat/cbom-ssh-algorithm-lists
branch
from
November 11, 2026 13:24
f0f0bab to
a343720
Compare
Avoids a merge conflict with CycloneDX#1184, which inserts at the same positions. Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com>
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.
SSH has no cipher suites. It negotiates algorithms independently per category in
SSH_MSG_KEXINIT(RFC 4253 section 7.1). Today a producer can only put SSH algorithms intocipherSuitesorrelatedCryptographicAssets, so a consumer cannot tell a key exchange method from a host key algorithm or a cipher.This PR adds an optional
protocolProperties.sshAlgorithmsobject with one list per KEXINIT name-list category:kex(kex_algorithms)hostKey(server_host_key_algorithms)encryptionmaccompressionEach entry has a required
name(the name as it appears in the SSH name-list, preferably from the IANA SSH Protocol Parameters registry) and an optionalalgorithmreference to an algorithm asset. This is the same shape as the existingikev2TransformTypesentries.Semantics:
kex_algorithms(e.g.ext-info-s, RFC 8308) are not recorded.The category is carried by the property name, so no free-text role vocabulary is introduced.
Fixtures: one valid document, including the two cases from #1162 (comment) (
mlkem768x25519-sha256as key exchange,ssh-ed25519as host key), and three invalid documents (bare string item, missingname, unknown category).Addresses the SSH portion (problem 2) of #1162 without closing the issue.