Dominik Csapak 831c43c91b config/tfa: webauthn: disallow registering a token twice
by adding the existing credential id to the 'excludeCredentials' list

this prevents the browser from registering a token twice, which
lets authentication fail on some browser/token combinations
(e.g. onlykey/solokey+chromium)
while is seems this is currently a bug in chromium, in a future spec
update the underlying behaviour should be better defined, making this
an authenticator bug

also explicitly catch registering errors and show appropriate error messages

0: https://bugs.chromium.org/p/chromium/issues/detail?id=1087642

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-03-03 14:05:05 +01:00
..
2021-02-19 09:14:31 +01:00
2021-02-02 14:46:15 +01:00
2020-12-11 13:02:23 +01:00
2021-01-11 10:22:32 +01:00
2020-11-10 13:38:30 +01:00
2021-03-01 11:11:07 +01:00
2021-01-15 15:19:52 +01:00
2020-09-25 18:34:54 +02:00
2020-09-25 18:34:54 +02:00