article --summary
The summary
The piece starts with a payments team that can see Bouncy Castle in its software bill of materials but cannot tell from that list whether the service uses RSA, or where to change it. A library's presence says little about which algorithm the code actually requests.
Using a Java example, the author shows how an algorithm can be read from a configuration value rather than appearing in the code, and how tracing that value to the cipher call reveals RSA with PKCS #1 v1.5 padding. A cryptographic bill of materials recorded in CycloneDX can capture the algorithm along with its source location, giving developers a specific call to review.
The article then argues for prioritizing by what the cryptography protects: long-term confidentiality faces harvest-now-decrypt-later risk, while signature keys matter for trust in forged tokens. It recommends testing the inventory with a developer who didn't generate it, flagging deployment-only values as unresolved, and generating the inventory in CI so configuration changes show up.
Editorial note: This is a summary of an article first published by The New Stack. The full piece is on their site.