Skip to content

Commit b9aeb0b

Browse files
feat(registry): add SPAKE2 (RFC 9382) and SPAKE2+ (RFC 9383) (CycloneDX#798)
## Summary Add SPAKE2 (RFC 9382) and SPAKE2+ (RFC 9383) to `schema/cryptography-defs.json`. ## References - Issue: CycloneDX#797 - RFC 9382: https://doi.org/10.17487/RFC9382 - RFC 9383: https://doi.org/10.17487/RFC9383 ## Change - Add `family: SPAKE2` with variants: - `SPAKE2` - `SPAKE2[-{group}][-{hashFunction}][-{kdf}][-{mac}]` - Add `family: SPAKE2PLUS` (represents SPAKE2+) with variants: - `SPAKE2+` - `SPAKE2+[-{group}][-{hashFunction}][-{kdf}][-{mac}]` Notes: - `family` uses `SPAKE2PLUS` (no `+`) to match existing registry naming constraints, while `pattern` preserves the canonical protocol name `SPAKE2+` from RFC 9383. - Entries are placed in alphabetical order within `algorithms[]`. ## Validation - `python3 -m json.tool schema/cryptography-defs.json` (JSON OK)
2 parents 2d03abb + 6cd1973 commit b9aeb0b

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

schema/cryptography-defs.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,36 @@
10471047
}
10481048
]
10491049
},
1050+
{
1051+
"family": "SPAKE2",
1052+
"standard": [
1053+
{
1054+
"name": "RFC9382",
1055+
"url": "https://doi.org/10.17487/RFC9382"
1056+
}
1057+
],
1058+
"variant": [
1059+
{
1060+
"pattern": "SPAKE2[-{group}][-{hashFunction}][-{kdf}][-{mac}]",
1061+
"primitive": "key-agree"
1062+
}
1063+
]
1064+
},
1065+
{
1066+
"family": "SPAKE2PLUS",
1067+
"standard": [
1068+
{
1069+
"name": "RFC9383",
1070+
"url": "https://doi.org/10.17487/RFC9383"
1071+
}
1072+
],
1073+
"variant": [
1074+
{
1075+
"pattern": "SPAKE2+[-{group}][-{hashFunction}][-{kdf}][-{mac}]",
1076+
"primitive": "key-agree"
1077+
}
1078+
]
1079+
},
10501080
{
10511081
"family": "TUAK",
10521082
"standard": [

0 commit comments

Comments
 (0)