Skip to content

Commit 5ac7ef5

Browse files
committed
use correct EC required parameters or thumbprint is wrong
1 parent 2be39b0 commit 5ac7ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cryptojwt/jwk/ec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class ECKey(AsymmetricKey):
119119
public_members = AsymmetricKey.public_members[:]
120120
public_members.extend(["kty", "alg", "use", "kid", "crv", "x", "y"])
121121
# required attributes
122-
required = ['crv', 'key', 'x', 'y']
122+
required = ['kty','crv', 'x', 'y']
123123

124124
def __init__(self, kty="EC", alg="", use="", kid="", key=None,
125125
crv="", x="", y="", d="", **kwargs):

0 commit comments

Comments
 (0)