bartnv/twofactor_webauthn

Add a new security key

Closed this issue · 1 comments

Hi,
when I try to add a key in the webinterface nohting happens and this message comes in stoudt.
[Tue Jan 05 22:28:21.423505 2021] [php7:warn] [pid 158] [client 192.xxx.xxx.101:61319] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/plugins/twofactor_webauthn/twofactor_webauthn.php on line 271, referer: http://xxxxxxx.local:8000/?_task=settings

I'am running roundcube as a docker container with the plugins installed via composer.json.

I have updated today with the last commit 333890c and then tried it again but nothing happend, no error in log.
Then I remebered that firefox needs a secure connection to use a yubikey...then I put my roundcube instance behind my reserve proxy with ssl.
After I open it as an https site, the button to add an key worked right away. So maybe it worked the whole time.
In the end, very nice plugin !