Skip to content

Commit 6ee6d1c

Browse files
committed
schemas: remove ecdsa_common EcUnnamedGroup
In all cases where this schema is used, the curve is a simple string.
1 parent c441f3c commit 6ee6d1c

File tree

1 file changed

+1
-56
lines changed

1 file changed

+1
-56
lines changed

schemas/ecdsa_common.json

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,7 @@
55
"type": "object",
66
"properties": {
77
"curve": {
8-
"anyOf": [
9-
{
10-
"$ref": "#/definitions/EcUnnamedGroup"
11-
},
12-
{
13-
"type": "string",
14-
"description": "the name of the EC group"
15-
}
16-
],
8+
"type": "string",
179
"description": "the EC group used by this public key"
1810
},
1911
"keySize": {
@@ -44,53 +36,6 @@
4436
}
4537
},
4638
"additionalProperties": false
47-
},
48-
"EcUnnamedGroup": {
49-
"type": "object",
50-
"properties": {
51-
"a": {
52-
"type": "string",
53-
"format": "BigInt",
54-
"description": "coefficient a of the elliptic curve equation"
55-
},
56-
"b": {
57-
"type": "string",
58-
"format": "BigInt",
59-
"description": "coefficient b of the elliptic curve equation"
60-
},
61-
"gx": {
62-
"type": "string",
63-
"format": "BigInt",
64-
"description": "the x-coordinate of the generator"
65-
},
66-
"gy": {
67-
"type": "string",
68-
"format": "BigInt",
69-
"description": "the y-coordinate of the generator"
70-
},
71-
"h": {
72-
"type": "integer",
73-
"description": "the cofactor"
74-
},
75-
"n": {
76-
"type": "string",
77-
"format": "BigInt",
78-
"description": "the order of the generator"
79-
},
80-
"p": {
81-
"type": "string",
82-
"format": "BigInt",
83-
"description": "the order of the underlying field"
84-
},
85-
"type": {
86-
"type": "string",
87-
"description": "an unnamed EC group over a prime field in Weierstrass form",
88-
"enum": [
89-
"PrimeOrderCurve"
90-
]
91-
}
92-
},
93-
"additionalProperties": false
9439
}
9540
}
9641
}

0 commit comments

Comments
 (0)