Dark blue abstract digital topographic lines representing hidden RSA cryptography dependencies within application code.

Suppose you own a payments service and your security team asks where it still uses RSA for encryption. You pull up the software bill of materials (SBOM) for the last release. It lists Bouncy Castle, a cryptography library, right down to the version. Then the question hits you: Do I need to plan a migration?

You can’t determine the answer from that SBOM. The library supports many algorithms, and its presence doesn’t tell you which one the service selected, whether it uses RSA to encrypt data or verify a signature, or where a developer would change that choice. Updating the package could leave the application doing exactly what it did before.

“Updating the package could leave the application doing exactly what it did before.”

That distinction is key for teams that are preparing for a future of post-quantum cryptography. Before you can decide whether to update a library, change a setting, or revise a protocol, you need to know how the service uses cryptography. A cryptographic bill of materials (CBOM) lets teams inventory those uses without starting a fresh investigation every time an algorithm needs to change. NIST plans to deprecate RSA and elliptic-curve algorithms after 2030 and disallow them after 2035.

Trace the algorithm from configuration to code

How would you find out whether the service actually requests RSA?

 Java String transform = config.get("token.cipher"); Cipher cipher = Cipher.getInstance(transform); cipher.init(Cipher.ENCRYPT_MODE, publicKey); 

Searching this Java code for RSA won’t find it. The last line initializes a cipher for encryption, but the first line reads the algorithm and padding from token.cipher. Suppose that setting is RSA/ECB/PKCS1Padding.

“Searching this Java code for RSA won’t find it.”

If the analysis traces that value to Cipher.getInstance, the CBOM can tell you what the package list couldn’t: this call requests RSA encryption with PKCS #1 v1.5 padding. That gives the developer a specific place to review, even before a post-quantum migration: the RSA specification retains this encryption scheme for compatibility with existing applications.

A tool can record that finding in CycloneDX, an open standard from OWASP for machine-readable bills of materials. Alongside the algorithm, it can include the source file and line so the developer can go straight to the call.

Prioritize by what the cryptography protects

Two services can both need a post-quantum migration for different reasons. Suppose one sends medical records over a connection that uses a quantum-vulnerable key exchange. Another accepts short-lived access tokens signed with RSA. Which would you move first?

For the medical records, ask how long the contents must stay confidential. Someone could capture the encrypted traffic today and keep it, hoping to decrypt it later. If the records must stay private for 15 years, everything sent before the connection migrates stays exposed for that long. Migrate in year 10, and you have sent 10 years of records that someone could decrypt later. That’s the risk NIST calls “harvest now, decrypt later.”

“If the records must stay private for 15 years, everything sent before the connection migrates stays exposed for that long.”

The token’s signature protects authenticity, not secrecy. The concern isn’t that someone will read an expired token years from now. It’s that a service that still trusts a vulnerable signing key could accept a forged token once that key is recovered. A short token lifetime doesn’t retire the key. To plan that change, you need to know which services verify the signatures and when they can accept the issuer’s new signature scheme.

NIST has standardized ML-KEM for establishing a shared secret and ML-DSA and SLH-DSA for digital signatures. These serve different purposes; none is a drop-in replacement for the Java cipher setting above. The CBOM identifies the cryptographic operation, and the service owner knows what it protects and which other systems must change with it.

Make the inventory part of the build

I’d start with one service and a simple test: give its CBOM to a developer who didn’t generate it. Can they trace an entry to the call that uses the algorithm and explain where its parameters came from? If the algorithm comes from deployment configuration the build can’t see, the honest result is an unresolved value. Record that gap and check the deployment rather than reporting a default as a production fact.

Then generate the inventory alongside the SBOM in CI. With the same code, configuration, and analysis, the result should be repeatable. On a test branch, change token.cipher in a configuration file the build actually reads. Leave the Java call and dependencies alone. The package list should stay the same. The cryptographic inventory should show the new choice and point to the same call site. That’s a small, concrete test of whether your pipeline notices the change you actually care about.

A CBOM won’t migrate a service or prove it’s compliant. What it can change is the conversation around the next release. Back at the payments service, the package list told you that Bouncy Castle shipped. The CBOM points you to the call that requests RSA encryption and the setting that selects its padding. Now you can ask the team on the other end of that exchange what it can decrypt and plan the change together. A current inventory turns “Where do we use RSA?” into a decision the software owners can make.

The post Your SBOM lists the crypto library. Where does your app actually use RSA? appeared first on The New Stack.