Skip to content

Commit

Permalink
Revert "KeyVault: Add OKP/EdDSA support to version 7.3-preview (Azure…
Browse files Browse the repository at this point in the history
…#17251)" (Azure#17331)

This reverts commit d50e631.
  • Loading branch information
maorleger authored and mstrisoline committed Feb 1, 2022
1 parent c2dc2bf commit 6f473a1
Showing 1 changed file with 10 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1270,9 +1270,7 @@
"RSA",
"RSA-HSM",
"oct",
"oct-HSM",
"OKP",
"OKP-HSM"
"oct-HSM"
],
"x-ms-enum": {
"name": "JsonWebKeyType",
Expand Down Expand Up @@ -1301,14 +1299,6 @@
{
"value": "oct-HSM",
"description": "Octet sequence (used to represent symmetric keys) which is stored the HSM."
},
{
"value": "OKP",
"description": "Octet key pair (https://tools.ietf.org/html/rfc8037)"
},
{
"value": "OKP-HSM",
"description": "Octet key pair (https://tools.ietf.org/html/rfc8037) with a private key which is stored in the HSM."
}
]
}
Expand All @@ -1333,7 +1323,7 @@
"d": {
"type": "string",
"format": "base64url",
"description": "RSA private exponent, or the D component of an EC or OKP private key."
"description": "RSA private exponent, or the D component of an EC private key."
},
"dp": {
"x-ms-client-name": "DP",
Expand Down Expand Up @@ -1381,8 +1371,7 @@
"P-256",
"P-384",
"P-521",
"P-256K",
"Ed25519"
"P-256K"
],
"x-ms-enum": {
"name": "JsonWebKeyCurveName",
Expand All @@ -1403,18 +1392,14 @@
{
"value": "P-256K",
"description": "The SECG SECP256K1 elliptic curve."
},
{
"value": "Ed25519",
"description": "The Ed25519 Edwards curve."
}
]
}
},
"x": {
"type": "string",
"format": "base64url",
"description": "X component of an EC or OKP public key."
"description": "X component of an EC public key."
},
"y": {
"type": "string",
Expand Down Expand Up @@ -1616,9 +1601,7 @@
"RSA",
"RSA-HSM",
"oct",
"oct-HSM",
"OKP",
"OKP-HSM"
"oct-HSM"
],
"x-ms-enum": {
"name": "JsonWebKeyType",
Expand All @@ -1642,8 +1625,7 @@
"P-256",
"P-384",
"P-521",
"P-256K",
"Ed25519"
"P-256K"
],
"x-ms-enum": {
"name": "JsonWebKeyCurveName",
Expand All @@ -1665,9 +1647,7 @@
"RSA",
"RSA-HSM",
"oct",
"oct-HSM",
"OKP",
"OKP-HSM"
"oct-HSM"
],
"x-ms-enum": {
"name": "JsonWebKeyType",
Expand Down Expand Up @@ -1724,8 +1704,7 @@
"P-256",
"P-384",
"P-521",
"P-256K",
"Ed25519"
"P-256K"
],
"x-ms-enum": {
"name": "JsonWebKeyCurveName",
Expand Down Expand Up @@ -1908,8 +1887,7 @@
"ES256",
"ES384",
"ES512",
"ES256K",
"EdDSA"
"ES256K"
],
"x-ms-enum": {
"name": "JsonWebKeySignatureAlgorithm",
Expand Down Expand Up @@ -1958,10 +1936,6 @@
{
"value": "ES256K",
"description": "ECDSA using P-256K and SHA-256, as described in https://tools.ietf.org/html/rfc7518"
},
{
"value": "EdDSA",
"description": "Edwards-curve Digital Signature Algorithm, as described in https://tools.ietf.org/html/rfc8032."
}
]
}
Expand Down Expand Up @@ -1995,8 +1969,7 @@
"ES256",
"ES384",
"ES512",
"ES256K",
"EdDSA"
"ES256K"
],
"x-ms-enum": {
"name": "JsonWebKeySignatureAlgorithm",
Expand Down

0 comments on commit 6f473a1

Please sign in to comment.