Configuring Yubikey fails

Hi there,
I have bitwarden_rs running on a Synology NAS in Docker. I have configured the env parameters for yubikey.
When I want to enable the yubikey in my user account on the web panel, I receive the error Invalid Yubikey OTP provided.
What am I doing wrong? Does the communication with the standard yubikey server work? How can I check that.
When I perform a test with my yubikey on https://demo.yubico.com/otp/verify all looks good.
I have also generated the OTP into notepad and copied it manually into the web interface - but always the same result.
Any ideas are appreciated :slight_smile:
Thanks,
Sebastian

Hi there,

I too had this same issue. My Synology firewall was blocking all attempts to authenticate with yubico. You have to open communication from your Docker Ip to allow through your synology firewall. I pulled my hair out for a day lol.

2 Likes