-
-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Describe the defect
HPKE is defined in schema/cryptography-defs.json but is missing from schema/cryptography-defs.schema.json#/definitions/algorithmFamiliesEnum. BOM 1.7 validates cryptoProperties.algorithmProperties.algorithmFamily against this enum, so using HPKE fails validation.
Additional context
Reproduction
- Copy
tools/src/test/resources/1.7/valid-cryptography-implementation-1.7.json. - Change
cryptoProperties.algorithmProperties.algorithmFamilyfromAEStoHPKE. - Validate against
schema/bom-1.7.schema.json.
Observed error:
/components/0/cryptoProperties/algorithmProperties/algorithmFamily: 'HPKE' is not one of [...]
Expected
HPKE should be accepted as a valid algorithm family.
Proposed fix
Add "HPKE" to algorithmFamiliesEnum (alphabetically between GOST and HC).
Metadata
Metadata
Assignees
Labels
No labels