Skip to content

Commit

Permalink
Fix cose formatting for ES512
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed Nov 19, 2024
1 parent e941ce1 commit d0551e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fido2/cose.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ def from_cryptography_key(cls, public_key):
1: 2,
3: cls.ALGORITHM,
-1: 3,
-2: int2bytes(pn.x, 64),
-3: int2bytes(pn.y, 64),
-2: int2bytes(pn.x, 66),
-3: int2bytes(pn.y, 66),
}
)

Expand Down

0 comments on commit d0551e2

Please sign in to comment.