Commit b9aeb0b
authored
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)1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
1050 | 1080 | | |
1051 | 1081 | | |
1052 | 1082 | | |
| |||
0 commit comments