Fix silent authentication with resident keys.

It requires a new silent format, so silent credentials must be reissued.

Related with #113.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2025-02-23 21:57:16 +01:00
parent ce7d3ea72f
commit 3807e23914
3 changed files with 33 additions and 10 deletions

View File

@@ -57,9 +57,8 @@ def test_with_allow_list_after_reset(device, MCRes_DC, GARes_DC):
device.reset()
with pytest.raises(CtapError) as e:
ga_res = device.doGA(allow_list=allow_list)
assert e.value.code == CtapError.ERR.NO_CREDENTIALS
# It returns a silent authentication
ga_res = device.doGA(allow_list=allow_list)