add hmac-secret to reg response

This commit is contained in:
Conor Patrick
2019-03-20 23:58:42 -04:00
parent 3a48756f96
commit 02e83073e0
2 changed files with 38 additions and 1 deletions

View File

@@ -803,6 +803,11 @@ class Tester:
other={"extensions": {"hmac-secret": True}, "options": {"rk": True}},
)
with Test("Check 'hmac-secret' is set to true in auth_data extensions"):
assert reg.auth_data.extensions
assert "hmac-secret" in reg.auth_data.extensions
assert reg.auth_data.extensions["hmac-secret"] == True
with Test("Get shared secret"):
key_agreement, shared_secret = (
self.client.pin_protocol._init_shared_secret()