mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-02 22:57:18 -05:00
2FA code authentication time-sync issue/too strict authentication #241
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
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#241
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 @itsthejb on GitHub (Feb 27, 2019).
Related? https://github.com/dani-garcia/bitwarden_rs/issues/306
Hi all,
First of all, love this implementation! Great work on it!
One medium issue I keep having: it appears that the 2FA code authentication implementation has a timestamp-related issue. That is, it definitely works, but I find that the generation of the code on my app (currently Authy on iOS) and my
bitwarden_rsinstallation (using this docker image) is heavily out of sync. That is, I either have to enter the code in the first seconds of the code being generated, or the last seconds. Meaning, clearly the timestamp of the server and the timestamp of the 2FA client are quite out of sync. Alternatively, this could be caused by the fact thatbitwarden_rsdoesn't leniently accept "late" or "early" codes.I have been able to log in, but authenticating a new client is quite frustrating and this seems to be a genuine issue. Of course, alternatively this may also be an issue that should be fixed in the container.
Hope that someone can help. Thanks!
@itsthejb commented on GitHub (Feb 27, 2019):
Ok, my bad: Seems
ntpdwasn't running on my server (thought it was) and my date was quite off. Fixed with something like https://serverfault.com/questions/368602/how-do-i-update-a-centos-servers-time-from-an-authoritative-time-server