bartnv / twofactor_webauthn

Roundcube plugin for FIDO2/WebAuthn 2-factor authentication
GNU General Public License v3.0
29 stars 7 forks source link

Add a new security key #2

Closed Technikte closed 3 years ago

Technikte commented 3 years ago

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.

Technikte commented 3 years ago

I have updated today with the last commit https://github.com/bartnv/twofactor_webauthn/commit/333890c1d383c0eaff94f045d1c8557415909bc6 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 !