We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1379962 commit 80ef1f4Copy full SHA for 80ef1f4
src/cryptojwt/jwk/ec.py
@@ -275,6 +275,9 @@ def __eq__(self, other):
275
:return: True if the keys as the same otherwise False
276
"""
277
278
+ if self.__class__ != other.__class__:
279
+ return False
280
+
281
if cmp_keys(self.pub_key, other.pub_key, ec.EllipticCurvePublicKey):
282
if other.private_key():
283
if cmp_keys(self.priv_key, other.priv_key,
0 commit comments