mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #1258] Error when registering U2F device #885
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#885
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AJEvans3 on GitHub (Dec 6, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1258
I am self hosting Bitwarden_rs in docker on my synology nas. When I try to add my Yubico security key or Solokey, I get a generic error that appears almost immediately after clicking on the "Read key" button. Ive read in the other posted issues that solution could potentially be found by looking at my configuration.
Is it something to do with my configuration or URLS? How do I go about checking my config/URLS to make sure they are correct? And if not, making the change? When typing in https://webvault.com/app-id.json I get the following:
{"trustedFacets":[{"ids":["http://xxxxx","ios:bundle-id:com.8bit.bitwarden","android:apk-key-hash:xxxxxxxxxx"],"version":{"major":1,"minor":0}}]}
@ikkuranus commented on GitHub (Dec 11, 2020):
I'm experiencing the same problem with my yubikey 5.
@BlackDex commented on GitHub (Dec 15, 2020):
Keep in mind that you need HTTPS, else these functions will not work.
@BlackDex commented on GitHub (Dec 15, 2020):
Also, does it work here: https://demo.yubico.com/webauthn-technical/registration
@AJEvans3 commented on GitHub (Dec 15, 2020):
@BlackDex commented on GitHub (Dec 15, 2020):
You need to have an encrypted connection to bitwarden_rs so https:// without it, reading the key will not work.
@AJEvans3 commented on GitHub (Dec 16, 2020):
I guess I thought I had an encrypted connection. How do I verify that I do? And if I dont, fix it?
@ikkuranus commented on GitHub (Dec 19, 2020):
I run this docker container under unraid with the swag (letsencrypt) reverse proxy. I assume even though the swag container is providing https and the actual bitwarden container is only http that it won't be enough to pass that check?
@BlackDex commented on GitHub (Dec 19, 2020):
It should be enough. The browser needs an encrypted connection, else it won't work.
If your URL starts with
https://that should be enough.Also, check that you have your
DOMAINsettings correctly.If that doesn't match what is in your URL, it will also fail.
github.com/dani-garcia/bitwarden_rs@175f2aeace/.env.template (L194)@qx-775 commented on GitHub (Jan 2, 2021):
I have this issue too, I am trying to register a key clearly on the https page using a self signed cert.
Where IPADDRESS and PORTNUMBER are my actual (redacted) numbers.
Opening the console gives me this
Using the latest version 2.17.1
What can I do to make the yubikey work? I have 2fa TOTP already enabled.
@BlackDex commented on GitHub (Jan 2, 2021):
Your DOMAIN is not configured correctly.
If you have a self signed cert, which common name (domain name) did you use? That is what you need to fill in into the domain.
Also, I'm not sure if u2f will work with self signed certs. It could be that you need to add your self signed CA root into your trusted certificates for your browser.
But that
error 2means something is not matching, it's either domain or certificate or maybe both.@BlackDex commented on GitHub (Jan 31, 2021):
Closing this issue due to inactivity.
Please make sure you have a valid certificate and that the
DOMAINvariable is configured correctly.If one of these presents an issue using a U2F Token will not work.
If you use the
image: docker.io/bitwardenrs/server:testingtagged image the DOMAIN variable can be validated within the/admin/diagnosticspage.