Skip to content

Commit

Permalink
Fix coordinate access
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed Oct 28, 2024
1 parent ffc36ed commit 3e914e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fido2/arkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ def derive_public_key(self, info: bytes) -> CoseKey:
1: 2,
3: -7,
-1: 1,
-2: int2bytes(point.x, 32),
-3: int2bytes(point.y, 32),
-2: int2bytes(point.x(), 32),
-3: int2bytes(point.y(), 32),
},
parent_kid=self[2],
kh=kh,
Expand Down

0 comments on commit 3e914e6

Please sign in to comment.