mirror of
https://github.com/Yubico/python-fido2
synced 2024-08-03 19:49:56 +02:00
Merge PR #74.
This commit is contained in:
commit
391c5ca65e
@ -158,7 +158,7 @@ class SignatureData(bytes):
|
|||||||
super(SignatureData, self).__init__()
|
super(SignatureData, self).__init__()
|
||||||
|
|
||||||
reader = ByteBuffer(self)
|
reader = ByteBuffer(self)
|
||||||
self.user_presence = reader.unpack(">B")
|
self.user_presence = reader.unpack("B")
|
||||||
self.counter = reader.unpack(">I")
|
self.counter = reader.unpack(">I")
|
||||||
self.signature = reader.read()
|
self.signature = reader.read()
|
||||||
|
|
||||||
|
@ -253,7 +253,7 @@ class AuthenticatorData(bytes):
|
|||||||
|
|
||||||
reader = ByteBuffer(self)
|
reader = ByteBuffer(self)
|
||||||
self.rp_id_hash = reader.read(32)
|
self.rp_id_hash = reader.read(32)
|
||||||
self.flags = reader.unpack(">B")
|
self.flags = reader.unpack("B")
|
||||||
self.counter = reader.unpack(">I")
|
self.counter = reader.unpack(">I")
|
||||||
rest = reader.read()
|
rest = reader.read()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user