Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ECKey.__eq__() doesn't compare "kid" and "use" members #184

Copy link
Copy link
@janste63

Description

@janste63
Issue body actions
>>> from cryptojwt.jwk.ec import ECKey
>>> k1 = ECKey(crv="P-256", kty="EC", x="f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU", y="x_FEzRu9m36HLN_tue659LNpXW6p\
CyStikYjKIWI5a0", kid="kid1")
>>> k2 = ECKey(crv="P-256", kty="EC", x="f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU", y="x_FEzRu9m36HLN_tue659LNpXW6p\
CyStikYjKIWI5a0", kid="kid2")
>>> k1 == k2
True
>>> 

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.