Skip to content

Commit 5b8fff6

Browse files
authored
Update cryptography-defs.json
- Adds a few more algorithm - Converts urls to standards to doi links, where available. - Checks if urls work Signed-off-by: Basil Hess <[email protected]>
1 parent 76745f2 commit 5b8fff6

File tree

1 file changed

+69
-18
lines changed

1 file changed

+69
-18
lines changed

schema/cryptography-defs.json

Lines changed: 69 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,88 +5,139 @@
55
{
66
"family": "RSASSA-PKCS1",
77
"standard": [
8-
{"name": "RFC8017", "url": "https://datatracker.ietf.org/doc/html/rfc8017"},
9-
{"name": "IEEE1363", "url": "https://standards.ieee.org/ieee/1363/"}
8+
{"name": "RFC8017", "url": "https://doi.org/10.17487/RFC8017"},
9+
{"name": "IEEE1363", "url": "https://doi.org/10.1109/IEEESTD.2000.92290"}
1010
],
1111
"variant": "RSA-PKCS1-1.5-{digestAlgorithm}-{keyLength}",
1212
"primitive": "signature"
1313
},
1414
{
1515
"family": "RSASSA-PSS",
1616
"standard": [
17-
{"name": "RFC8017", "url": "https://datatracker.ietf.org/doc/html/rfc8017"},
18-
{"name": "IEEE1363A", "url": "https://standards.ieee.org/ieee/1363a/"}
17+
{"name": "RFC8017", "url": "https://doi.org/10.17487/RFC8017"},
18+
{"name": "IEEE1363A", "url": "https://doi.org/10.1109/IEEESTD.2004.94612"}
1919
],
2020
"variant": "RSA-PSS-{digestAlgorithm}-{saltLength}-{keyLength}",
2121
"primitive": "signature"
2222
},
2323
{
2424
"family": "RSAES-PKCS1",
2525
"standard": [
26-
{"name": "RFC8017", "url": "https://datatracker.ietf.org/doc/html/rfc8017"}
26+
{"name": "RFC8017", "url": "https://doi.org/10.17487/RFC8017"}
2727
],
2828
"variant": "RSA-PKCS1-1.5-{keyLength}",
2929
"primitive": "pke"
3030
},
3131
{
3232
"family": "RSAES-OAEP",
3333
"standard": [
34-
{"name": "RFC8017", "url": "https://datatracker.ietf.org/doc/html/rfc8017"}
34+
{"name": "RFC8017", "url": "https://doi.org/10.17487/RFC8017"}
3535
],
3636
"variant": "RSA-OAEP-{hashAlgorithm}-{maskGenAlgorithm}-{keyLength}",
3737
"primitive": "pke"
3838
},
3939
{
4040
"family": "EdDSA",
4141
"standard": [
42-
{"name": "RFC8032", "url": "https://datatracker.ietf.org/doc/html/rfc8032"}
42+
{"name": "RFC8032", "url": "https://doi.org/10.17487/RFC8032"}
4343
],
4444
"variant": "Ed{25519|448}{|ph|ctx}",
4545
"primitive": "signature"
4646
},
4747
{
4848
"family": "ECDSA",
4949
"standard": [
50-
{"name": "FIPS186-4", "url": "https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf"},
51-
{"name": "X9.62", "url": "https://x9.org/standards/x9-62/"}
50+
{"name": "FIPS186-4", "url": "https://doi.org/10.6028/NIST.FIPS.186-4"},
51+
{"name": "X9.62", "url": "https://standards.globalspec.com/std/1955141/ansi-x9-62"}
5252
],
5353
"variant": "ECDSA-{curve}-{hash}",
5454
"primitive": "signature"
5555
},
5656
{
5757
"family": "ECDH",
5858
"standard": [
59-
{"name": "SP800-56A", "url": "https://csrc.nist.gov/publications/detail/sp/800-56a/rev-3/final"},
60-
{"name": "IEEE1363", "url": "https://standards.ieee.org/ieee/1363/"},
61-
{"name": "X9.63", "url": "https://x9.org/standards/x9-63/"}
59+
{"name": "SP800-56A", "url": "https://doi.org/10.6028/NIST.SP.800-56Ar3"},
60+
{"name": "IEEE1363", "url": "https://doi.org/10.1109/IEEESTD.2000.92290"},
61+
{"name": "X9.63", "url": "https://webstore.ansi.org/standards/ASCX9/ansix9632011r2017"}
6262
],
6363
"variant": "ECDH-{curve}",
6464
"primitive": "key-agree"
6565
},
6666
{
6767
"family": "FFDH",
6868
"standard": [
69-
{"name": "RFC7919", "url": "https://datatracker.ietf.org/doc/html/rfc7919"},
70-
{"name": "SP800-56A", "url": "https://csrc.nist.gov/publications/detail/sp/800-56a/rev-3/final"}
69+
{"name": "RFC7919", "url": "https://doi.org/10.17487/RFC7919"},
70+
{"name": "SP800-56A", "url": "https://doi.org/10.6028/NIST.SP.800-56Ar3"}
7171
],
7272
"variant": "FFDH-{named_group}",
7373
"primitive": "key-agree"
7474
},
7575
{
7676
"family": "SHA-1",
7777
"standard": [
78-
{"name": "FIPS180-4", "url": "https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf"}
78+
{"name": "FIPS180-4", "url": "https://doi.org/10.6028/NIST.FIPS.180-4"}
7979
],
8080
"variant": "SHA-1",
8181
"primitive": "hash"
8282
},
8383
{
8484
"family": "SHA-2",
8585
"standard": [
86-
{"name": "FIPS180-4", "url": "https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf"}
86+
{"name": "FIPS180-4", "url": "https://doi.org/10.6028/NIST.FIPS.180-4"}
8787
],
8888
"variant": "SHA-{224|256|384|512|512/224|512/256}",
8989
"primitive": "hash"
90-
}
90+
},
91+
{
92+
"family": "AES",
93+
"standard": [
94+
{"name": "FIPS197", "url": "https://doi.org/10.6028/NIST.FIPS.197-upd1"},
95+
{"name": "SP800-38{A-G}", "url": "https://doi.org/10.6028/NIST.SP.800-38A"},
96+
{"name": "RFC 5116", "url": "https://doi.org/10.17487/RFC5116"}
97+
],
98+
"variant": "AES-{128|192|256}-(ECB|CBC|CFB(1|8|128)|OFB|CTR|)",
99+
"primitive": "block-cipher"
100+
},
101+
{
102+
"family": "HKDF",
103+
"standard": [
104+
{"name": "RFC5869", "url": "https://doi.org/10.17487/RFC5869"}
105+
],
106+
"variant": "HKDF-{hash}",
107+
"primitive": "kdf"
108+
},
109+
{
110+
"family": "HMAC",
111+
"standard": [
112+
{"name": "SP800-224", "url": "https://doi.org/10.6028/NIST.SP.800-224.ipd"},
113+
{"name": "RFC2104", "url": "https://doi.org/10.17487/RFC2104"}
114+
],
115+
"variant": "HMAC-{hash}-{length}",
116+
"primitive": "mac"
117+
},
118+
{
119+
"family": "ChaCha",
120+
"standard": [
121+
{"name": "RFC8439", "url": "https://doi.org/10.17487/RFC8439"}
122+
],
123+
"variant": "ChaCha20-{AES|other}",
124+
"primitive": "stream-cipher"
125+
},
126+
{
127+
"family": "Poly1305",
128+
"standard": [
129+
{"name": "RFC8439", "url": "https://doi.org/10.17487/RFC8439"}
130+
],
131+
"variant": "Poly1305",
132+
"primitive": "mac"
133+
},
134+
{
135+
"family": "ChaCha20-Poly1305",
136+
"standard": [
137+
{"name": "RFC8439", "url": "https://doi.org/10.17487/RFC8439"}
138+
],
139+
"variant": "ChaCha20-Poly1305",
140+
"primitive": "ae"
141+
}
91142
]
92-
}
143+
}

0 commit comments

Comments
 (0)