Which SBOM generators can report cryptographic libraries and algorithms, and for which languages?
Only some SBOM generators report cryptographic libraries and algorithms, and coverage depends on the language your code is written in. Before you rely on a generator to find post-quantum relevant cryptography, check its output for the languages you ship. The sources in this topic describe two tools that go beyond package inventories: CBOMkit, which scans Java, Python and Go for cryptographic usage, and cdxgen, which can emit a cryptographic bill of materials (CBOM) through its cbom alias. Other generators in common use, including Syft and Trivy, are documented in the sources here as producing CycloneDX and SPDX output, but the sources do not say that they report cryptographic algorithms, so confirm that for your versions before assuming it.
This matters most to release engineers, supply chain teams and anyone who produces CBOMs for customers or internal audit. If a generator misses a language your products use, the cryptography in that code will not appear in the inventory you use to plan a migration, and the gap will be easy to miss because the SBOM will still look complete. CBOMkit publishes its own coverage figures for each library: Java's JCA and BouncyCastle light-weight API are listed at 100 percent, pyca/cryptography for Python at 100 percent, and the Go standard crypto library at 100 percent except crypto/x509, with golang.org/x/crypto only partially covered (hkdf, pbkdf2 and sha3). These are the project's own listed percentages, not an independent measurement, so test them against a sample of your own code. C# System.Security.Cryptography is listed as in development and "not yet meant for active usage".
Where cryptographic libraries appear in the languages your SBOM tool must scan
This table compares the languages named in the sources with the cryptographic libraries each one uses, and the scanning status the CBOMkit sources report for each cell. Read the status column as a statement about the CBOMkit project at the time of its listing, not as a guarantee that other generators cover the same libraries. Public-key algorithms are usually called from application code through these libraries, so this is where a scanner has to look.
| Language | Cryptographic libraries | Scanning status reported by sources |
|---|---|---|
| Java | Java Cryptography Architecture (JCA), BouncyCastle light-weight API | Scanned at 100 percent for JCA and BouncyCastle via the Sonar Cryptography Plugin (CBOMkit) |
| Python | pyca/cryptography | Scanned at 100 percent (CBOMkit) |
| Go | Standard crypto library, golang.org/x/crypto | Standard library scanned at 100 percent except crypto/x509; x/crypto partially scanned, covering hkdf, pbkdf2 and sha3 (CBOMkit) |
| C# | System.Security.Cryptography | In development and not yet meant for active usage (CBOMkit) |
| JavaScript and TypeScript | node:crypto, WebCrypto, JWT call sites | Algorithms derived by following lightweight constant propagation through common call sites (cdxgen); the sources do not give a percentage |
| Go, post-quantum signatures | crypto/mldsa (FIPS 204) | Requires Go Cryptographic Module version 1.26.0 or later; under FIPS 140-3 module v1.0.0 its key and verify functions return an error (Go documentation) |
What the CycloneDX and SPDX standards say about cryptographic assets
CycloneDX is the standard that most directly models cryptography in a bill of materials. CycloneDX 1.6 was ratified as ECMA-424 1st edition in June 2024, and the 2nd edition of December 2025 defines the CycloneDX v1.7 specification. Its JSON reference describes a component type called cryptographic-asset, defined as a cryptographic asset including algorithms, protocols, certificates, keys, tokens, and secrets. When you evaluate a generator, check that it emits components of this type and that it targets a specification version the consuming tools can read. Confirm the exact spec version in each generator's output, since the sources here do not say which generators emit which version.
Two timing points matter for planning. The CycloneDX 2.0 announcement dated 5 August 2026 says version 2.0 was not yet released at that time, that it is due in autumn 2026, and that Ecma International approval is anticipated in December. The same announcement says CycloneDX created the cryptographic bill of materials and that it is still the only bill of materials standard to include one. Treat 2.0 as a future target and check the published specification before you rely on any field name it may change.
SPDX 3.1 is in an earlier stage. The SPDX 3.1 release candidate 1 announcement, last updated 2026-01-26, says RC1 is for testing and validation, and that some features may be modified or reverted before the final stable release. Do not build a long-lived export pipeline on RC1 output without re-testing against the final release. For background on the signing side, Sigstore's blog post of 6 June 2025 says NIST published FIPS 204 and FIPS 205 in August 2024, and that Sigstore's own services did not yet use post-quantum algorithms at that date.
Which SBOM generators and scanners have shipped cryptographic reporting
CBOMkit is the tool in this group whose published documentation is most specific about cryptographic coverage. Its repository lists how much of each language's cryptographic API surface it scans, and it treats each language separately. Coverage is not uniform, so a 100 percent figure for one library does not mean the whole language is covered.
- Java: The Java Cryptography Architecture (JCA) and the BouncyCastle light-weight API are both listed at 100 percent, through the Sonar Cryptography Plugin.
- Python: pyca/cryptography is listed at 100 percent.
- Go: The standard crypto library is listed at 100 percent except crypto/x509, and golang.org/x/crypto is only partially covered, including hkdf, pbkdf2 and sha3.
- C#: System.Security.Cryptography is listed as in development and "not yet meant for active usage".
- Scope of the figures: The percentages describe the listed APIs, not every cryptographic call in a project.
Before you rely on CBOMkit for a language, compare the listed APIs against the libraries your code actually imports, and confirm the figures against the version you run.
cdxgen is a CycloneDX generator with an explicit cryptography mode. Its README describes a cbom alias, a method for inferring JavaScript and TypeScript algorithms from source, and a viewer that separates full cryptographic assets from source-derived ones. These are documented behaviors, and their completeness depends on the code patterns the tool can follow.
- The
cbomalias: The README sayscbomis equivalent tocdxgen -t java --include-crypto -o bom.json ., so it sets Java as the project type. - JavaScript and TypeScript: The README says algorithms are derived by following lightweight constant propagation through common node:crypto, WebCrypto and JWT call sites. Algorithms passed through other patterns may not be found.
- Viewer views: In the
cdxiviewer,.cryptosshows the full cryptographic asset view, and.sourcecryptosnarrows it to components derived from source. - Filtering: The
cbomcommand does not accept--component-type. To filter, runcdxgen --include-cryptoand filter the output yourself.
Run cdxgen on a representative project, then compare its cryptographic components against a manual review of the crypto calls in that code.
Syft is an SBOM generator whose README documents its output formats and its ability to convert between them. Its published documentation, as supplied, does not state that Syft reports cryptographic libraries or algorithms, so treat it as a general SBOM producer for this purpose.
- Output formats: The README lists CycloneDX, SPDX and Syft JSON as output formats.
- Format conversion: The README says Syft can convert between SBOM formats.
- Cryptography: The sources listed on this page do not say that Syft reports cryptographic algorithms or libraries.
If you use Syft as your inventory source, confirm in the current README or in its output whether cryptographic components appear for your ecosystem before you count it as a cryptography inventory tool.
Trivy's SBOM documentation covers generating and scanning SBOMs in two output formats. It also gives example specification versions, and it can scan an existing SBOM file. The documentation as supplied does not describe cryptographic reporting, so this tab covers format and workflow only.
- Output formats: CycloneDX JSON is supported, with XML not supported, along with spdx and spdx-json output.
- Spec versions in examples: The examples show CycloneDX specVersion 1.3 and 1.5, and SPDX-2.3.
- Scanning an existing SBOM: The
trivy sbomcommand scans an SBOM file that another tool produced. - Cryptography: The sources listed on this page do not say that Trivy reports cryptographic algorithms or libraries.
If you feed SBOMs from another generator into trivy sbom, check that the input format and spec version are ones your Trivy release accepts.
This tab covers two post-quantum signing items that are related to software integrity but are not SBOM generators. Sigstore's services and the Go library are tracked here because teams checking their supply chain often ask about them in the same review.
- Sigstore status: Sigstore's blog post of 6 June 2025 says its services did not yet use post-quantum algorithms. It plans to adopt them in Fulcio, Rekor and a timestamp authority once vetted implementations are available in the Go ecosystem.
- Sigstore's reference standards: The same post says NIST published FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) in August 2024.
- Go crypto/mldsa: The package implements ML-DSA from FIPS 204 and works with Go Cryptographic Module version 1.26.0 or later.
- FIPS 140-3 limitation: Under FIPS 140-3 module v1.0.0, the package's key and verify functions return an error.
If you depend on Sigstore for signing, check its current status after June 2025 and do not assume the services have changed. If you build with Go under FIPS 140-3, confirm which module version you use before planning any ML-DSA work.
What changes when you filter or convert cryptographic output
Cryptographic inventory output is not uniform across tools. The cards below cover four consequences you may hit when you narrow cdxgen output, convert between SBOM formats, pick an output format for Trivy, or choose a CycloneDX version. Check each one against your own pipeline before you rely on the result.
The cbom command has no component filter
The cdxgen cbom command does not accept --component-type, so the README's documented way to narrow its output is to run cdxgen --include-crypto and filter the resulting file yourself. The cbom command is an alias for CBOM-oriented defaults that is equivalent to cdxgen -t java --include-crypto -o bom.json ., so it is scoped to Java by default. Confirm the language scope you need before assuming the output covers your whole project. In the cdxi viewer, .sourcecryptos narrows the view to source-derived algorithm components.
Format conversion may drop crypto components
Syft can convert between SBOM formats, including CycloneDX, SPDX and Syft JSON. Whether cryptographic components survive a conversion is not established by the sources for this topic, so do not assume they do. Convert a known sample, compare the cryptographic entries before and after, and confirm the behavior for the Syft version you run. Keep the original file as the record you check against.
Syft READMETrivy CycloneDX output excludes XML
Trivy's SBOM documentation lists CycloneDX JSON as its CycloneDX output and states that XML is not supported. If your downstream tools expect CycloneDX XML, you will need a different generator or a conversion step, and that step carries the format-conversion risk described above. Trivy also offers spdx and spdx-json output, and trivy sbom can scan an existing SBOM file. Check the output formats of the Trivy version you run before building a pipeline around them.
CycloneDX version sets available fields
The CycloneDX version you choose determines which fields are available for cryptographic data. CycloneDX 1.6 was ratified as ECMA-424 1st edition in June 2024, and the 2nd edition of December 2025 defines the 1.7 specification, which includes a cryptographic-asset component type. Trivy's examples show specVersion 1.3 and 1.5, so a generator may emit an older version than you expect. Confirm the specVersion in each output file before you parse it for cryptographic fields.
How to check your SBOM tool before you rely on it
This sequence tests whether a generator reports the cryptographic libraries and algorithms your services actually use, using one representative service and a manual search as the reference. It produces a recorded result that states which tool version, output format and language coverage you verified, so you know where the tool's reporting can be relied on and where it needs a manual check.
List the languages in your codebase
Start by listing every language your services use, including build scripts and any code that calls cryptographic libraries directly. Record the language and the main cryptographic library each service imports, such as the Java Cryptography Architecture, pyca/cryptography, Go's standard crypto packages or the .NET System.Security.Cryptography namespace. The step is complete when you have a table of languages and libraries that you can compare against the coverage the tool documents. Keep the list, because the next step depends on it.
Match languages to documented coverage
Compare your language list with the coverage each generator publishes. CBOMkit documents coverage per language and per library: it lists Java through the Java Cryptography Architecture and BouncyCastle, Python through pyca/cryptography, and Go through the standard crypto library with partial coverage of golang.org/x/crypto. It also lists C# System.Security.Cryptography as in development and not yet meant for active usage. Mark any language or library that the documentation does not cover, or covers only partially, as needing a manual check. Read each generator's own documentation for its current coverage, since coverage changes between versions.
Run the generator on one service
Choose one representative service that uses the languages and libraries you care about most, and run the generator against it. For CycloneDX output with cryptographic assets, the cdxgen README describes a CBOM-oriented invocation and an option to include crypto data, and CBOMkit documents its own scan. Save the output file alongside the exact command and the tool version you ran. Using one service first keeps the comparison small enough to check by hand in the next steps.
Inspect cryptographic-asset components
Open the output and look for components of type cryptographic-asset. CycloneDX 1.7 defines this component type for algorithms, protocols, certificates, keys, tokens and secrets. Confirm that the file declares the CycloneDX 1.7 specification version, because many tools still default to older versions such as 1.5 in their examples. Note which algorithms are reported, which source files they came from, and whether any entries are missing. The step is complete when you can list the reported algorithms and the spec version they were written in.
Compare the output with a manual search
Search the same service by hand for calls into the cryptographic libraries you recorded in step one, using grep or your IDE's search across the source tree. Compare each call site with the algorithms the generator reported. Count what the manual search finds that the tool missed, and what the tool reports that the search did not confirm, such as dependencies that are not called directly. Any gap tells you which parts of the output need manual review before you rely on them.
Ask the vendor or maintainer about versions
Send your coverage findings to the tool's vendor or maintainer, and ask which versions support the cryptographic reporting you need, for each language and output format you use. Ask whether the output format you need is supported in the version you run, and whether any feature you depend on is in development or not yet ready for active use. Record the answers in writing, because support can differ between releases and between output formats. The step is complete when you have a written statement for each gap you found.
Record the result in your inventory
Write the tool version, the output format and specification version, and the language and library coverage you verified into your cryptographic inventory. Note each gap from the manual comparison and the vendor's written answer next to it. Mark the entries that need manual review before any migration decision depends on them. The inventory entry is complete when another engineer can repeat the check on the same version and reach the same result.
How missing cryptographic reporting can go unnoticed
An SBOM with no cryptographic entries can mean the generator found none, or that it could not look at the code at all. The gaps below are easy to miss because they look like a clean result, so each one needs a check against the source code before the SBOM is trusted for migration planning.
No coverage for your language
If a generator has no cryptographic scanner for the language your service is written in, the SBOM will contain no cryptographic components at all. The file looks complete, so it reads as though the software uses no cryptography rather than as a scan that never happened. Before relying on the output, confirm that your language appears in the generator's documented coverage. Then search your code for crypto imports and check whether any of them show up in the SBOM.
CBOMkit coveragePartial library coverage
Coverage can stop at part of a library. CBOMkit lists golang.org/x/crypto as only partially covered, with hkdf, pbkdf2 and sha3 detected and the rest of that package left out. A Go service that imports other x/crypto packages can therefore show some algorithms and omit others, with no error to signal the gap. Compare the packages in your import list against the packages the SBOM names.
CBOMkit repositorySupport still in development
Some scanners list a library as in development and not yet meant for active usage. CBOMkit describes C# System.Security.Cryptography this way. A generator in that state may produce incomplete or changing output for .NET code, so an empty or sparse result there does not confirm that the code is free of public-key algorithms. Check the generator's status for each language, and treat in-development support as unverified until your own review confirms the output.
CBOMkit statusPre-release format changes
Output can also change when the format itself is still being finalized. The SPDX 3.1 release candidate 1 announcement says that some features may be modified or reverted before the final stable release. Tools written against a release candidate may need updating once the specification is final. Confirm which specification version your generator and consumers use, and rerun the comparison after any version change.
SPDX 3.1 RC1 notesComparing output against imports
The general check for all of these gaps is to compare generator output with the code itself. Search each repository for the cryptographic library imports used in your languages, then list which libraries and algorithms the SBOM reports. Every import with no matching entry is a candidate gap to investigate. Record the result for each repository so that a missing entry is treated as an open question rather than as proof that the code is clean.
What the sources do not yet settle about SBOM cryptographic reporting
The sources leave several questions open, and teams planning cryptographic reporting should treat them as unresolved. The CycloneDX 2.0 announcement of 5 August 2026 says version 2.0 is due in autumn 2026, with Ecma International approval anticipated in December, so at the time of that announcement the specification had not been released. The same announcement describes CycloneDX 2.0 as the first version after the cryptographic bill of materials and says CycloneDX still remains the only bill of materials standard to include one. Plan around the 1.7 specification and confirm the final 2.0 schema before you build parsers or policies that depend on its field names.
The SPDX side is also not final. The SPDX 3.1 release candidate 1 announcement, last updated 2026-01-26, says RC1 is for testing and validation and that "Some features may be modified or reverted" before the final stable release. Any cryptographic element you adopt from SPDX 3.1 RC1 may change, so do not treat its current shape as stable. Check the SPDX project's release notes for the final 3.1 release before you commit to it.
The sources do not say whether other SBOM generators will add cryptographic coverage, or on what schedule. Before you rely on a tool for cryptographic reporting, read its release notes for the exact version you run, and test its output on a representative project. Confirm which languages, libraries and algorithms it covers, and which of those entries are marked as in development, because coverage varies by ecosystem and by release.
Questions teams ask about SBOM generators and cryptographic libraries
What is a cryptographic bill of materials?
A cryptographic bill of materials, or CBOM, is an inventory of the cryptographic assets in a piece of software: the algorithms, protocols, certificates, keys and libraries it uses. CycloneDX created the CBOM concept and, according to the CycloneDX 2.0 announcement of 5 August 2026, it "is still the only bill of materials standard to include one." The CycloneDX 1.7 specification, defined in ECMA-424 2nd edition (December 2025), describes a component type "cryptographic-asset" covering algorithms, protocols, certificates, keys, tokens and secrets. A CBOM is useful for finding where public-key algorithms are used before planning a migration. Whether a given generator fills it in depends on the language and the tool, so check the output against your own code.
Which SBOM generator should I use for Java?
The sources list CBOMkit as scanning Java through the Java Cryptography Architecture and the BouncyCastle light-weight API, both listed at 100 percent, via the Sonar Cryptography Plugin. cdxgen can also produce cryptography output for Java: its README says the cbom alias is equivalent to cdxgen -t java --include-crypto -o bom.json .. The two tools make different choices, so run both against a representative build and compare what each reports against the libraries your application actually imports. Coverage numbers in a project README describe the tool's own test set, not your codebase, so treat them as a starting point for your own verification.
Does Syft report cryptographic algorithms?
The sources supplied for this topic do not show Syft reporting cryptographic algorithms. The Syft README lists CycloneDX, SPDX and Syft JSON as output formats and says Syft can convert between SBOM formats, but it does not say that it lists cryptographic assets. Use Syft for component inventory and format conversion, and confirm for your version whether it reports algorithms by generating a CBOM from a known project and inspecting the output. If it does not, pair it with a tool that does, such as CBOMkit or cdxgen, for the cryptographic view.
Is CycloneDX 1.7 required to list cryptographic assets?
No. The sources show that CycloneDX 1.7, defined in the ECMA-424 2nd edition of December 2025, is the version that defines the "cryptographic-asset" component type. An older CycloneDX version may not carry the same fields, so the schema version your tools emit determines what can be expressed. Trivy's SBOM documentation, for example, shows examples at CycloneDX specVersion 1.3 and 1.5, and its CycloneDX output is JSON only. Before you rely on 1.7 fields, confirm that each generator and each downstream consumer reads that specification version, since a file in one version may be dropped or misread by a tool that expects another.
Can I rely on golang.org/x/crypto coverage?
Not for a full inventory. The CBOMkit repository lists Go coverage through the standard crypto library at 100 percent except crypto/x509, but it lists golang.org/x/crypto only partially, covering hkdf, pbkdf2 and sha3. Any package outside that list may be missing from the output, so an empty or short result does not mean the code has no cryptography. Check your go.mod for every x/crypto package you import, compare that list with the generator's output, and treat gaps as unverified until you have checked them by hand or with a second tool.
Should I build this in-house or ask for help?
It depends on how many languages you ship, how many repositories you have and how much you need the output to hold up in a customer or auditor review. Running an open generator on one service is a small task for an engineer. The larger cost is the verification work: comparing tool coverage with your imports, reconciling schema versions, and keeping the output current as dependencies change. DeployOpen plans and implements self-hosted tooling inside a client's own infrastructure, and most engagements are fixed-scope. A scoping call covers which repositories and languages are in scope, which generators fit each, how output is validated and stored, and what gaps need manual review. Ask for the written scope, deliverables and timeline before work starts. DeployOpen does not publish prices, so a quote follows from that scope.
How source code flows through an SBOM generator into a cryptographic inventory
The diagram starts with source code in a language the generator supports, such as Java, Python, Go or JavaScript. The generator resolves calls to cryptographic libraries (JCA and BouncyCastle for Java, pyca/cryptography for Python, the standard crypto library for Go, node:crypto and WebCrypto for JavaScript) and emits a CycloneDX or SPDX file containing cryptographic-asset components. A scanner such as trivy sbom can then read that file. Source written in an unsupported language produces no cryptographic components, so check coverage for each language before relying on the inventory. Coverage varies by library: the sources list C# System.Security.Cryptography as still in development and not yet meant for active usage.
Supported languages yield cryptographic-asset components, while unsupported languages yield none.
How DeployOpen works on this
DeployOpen starts by listing the languages, build systems and cryptographic libraries in your software, then checks which SBOM generators and scanners can report them. Work is fixed-scope, with the method, tested tools and deliverables agreed in writing before anything runs against your repositories.
How we scope
- We inventory the languages and build tools your repositories use, since coverage varies by ecosystem.
- We agree in writing which generators and scanners will be tested and which repositories are in scope.
- We confirm the output formats your downstream consumers and customers need, such as CycloneDX or SPDX.
How we build
- We run the candidate tools against representative projects and record which cryptographic libraries each one reports.
- We check cryptographic coverage per language, including gaps that the tool documentation states openly.
- We verify the tool version and specification version, because the reported fields differ between releases.
How we hand over
- You receive a written coverage report listing each library, language and algorithm the tools did or did not detect.
- The report sets out the commands and configuration used, so your team can rerun the checks in its own environment.
- We document known limits, such as components still in development, so the team knows what to verify by hand.
How we support
- Ongoing support and retesting are available as a retainer when tools or specification versions change.
- We can rerun the coverage checks after your dependencies or build pipeline are upgraded.
- Before you rely on a tool for compliance evidence, confirm its output with the maintainer's current documentation.

