CycloneDX / CycloneDX/specification
[Defect]: Variant pattern for PBES1 must have {hashAlgorithm} instead of {kdf}
- Dominant language
- XSLT
- Stars
- 547
- Forks
- 93
- Avg merge
- 7h 11m
- Merged PRs (30d)
- 37
Description
## Describe the defect
As per [RFC8018](https://datatracker.ietf.org/doc/html/rfc8018#section-6.1) PBES1 combines the PBKDF1 function with an underlying block cipher. PBES1 is compatible with the encryption scheme in PKCS5_15. Therefore, the variable {hashAlgorithm} which is one of the parameters for the underlying PBKDF1 must be an element of the variant pattern instead of {kdf}.
Refer https://docs.oracle.com/en/java/javase/25/docs/specs/security/standard-names.html#cipher-algorithms for example of PBES1 usage.
## Additional context
The issue is data-quality / naming defect in the Cryptography Registry and can be fixed without changing schema behavior or introducing new algorithms.
Contributor guide
Assessment
This issue has not been assessed yet.