Skip to content

Commit bf35f74

Browse files
committed
fix(jwk): remove useless properties on OKPKey
1 parent 2425793 commit bf35f74

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/joserfc/_rfc8037/okp_key.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ class OKPKey(CurveKey[PrivateOKPKey, PublicOKPKey]):
116116
"d": KeyParameter("OKP Private Key", "str", private=True, required=False),
117117
}
118118
binding = OKPBinding
119-
required_fields = frozenset(["crv", "x"])
120-
private_only_fields = frozenset(["d"])
121119

122120
def exchange_derive_key(self, key: "OKPKey") -> bytes:
123121
# used in ECDH-ES Algorithms

0 commit comments

Comments
 (0)