fix tests
This commit is contained in:
parent
2272e69e15
commit
4d9285085f
@ -222,9 +222,7 @@ class FIDO2Tests(Tester):
|
|||||||
)
|
)
|
||||||
|
|
||||||
with Test("Get shared secret"):
|
with Test("Get shared secret"):
|
||||||
key_agreement, shared_secret = (
|
key_agreement, shared_secret = self.client.pin_protocol.get_shared_secret()
|
||||||
self.client.pin_protocol.get_shared_secret()
|
|
||||||
)
|
|
||||||
cipher = Cipher(
|
cipher = Cipher(
|
||||||
algorithms.AES(shared_secret),
|
algorithms.AES(shared_secret),
|
||||||
modes.CBC(b"\x00" * 16),
|
modes.CBC(b"\x00" * 16),
|
||||||
|
@ -51,7 +51,7 @@ class Tester:
|
|||||||
self.host = "examplo.org"
|
self.host = "examplo.org"
|
||||||
self.user_count = 10
|
self.user_count = 10
|
||||||
self.is_sim = False
|
self.is_sim = False
|
||||||
self.nfc_interface_only = False;
|
self.nfc_interface_only = False
|
||||||
if tester:
|
if tester:
|
||||||
self.initFromTester(tester)
|
self.initFromTester(tester)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user