TOTP Codes Seem To Fall Out Of Sync #1837

Closed
opened 2026-04-06 02:27:31 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @bonedaddy on 12/27/2022

Subject of the issue

TOTP verification codes sometimes seem to fall out of sync from which the server they were issued from. Starting from version 1.24 (earliest I can recall this happening) every so I will be completely unable to use TOTP codes copied from the bitwarden extension, or the vaultwarden webvault. Any attempt in using them will result in the TOTP code being rejected.

I believe the issue is due to there being some synchronization issue between vaultwarden, and the source that issued the TOTP codes. My reasoning is that I can copy a TOTP code, attempt to ssh to one of my VPS, paste the TOTP code and have it rejected twice, but then on the third usage attempt have the TOTP code be accepted.

This issue only appears to affect TOTP codes issued by google-authenticator cli command.

*Originally created by @bonedaddy on 12/27/2022* ### Subject of the issue TOTP verification codes sometimes seem to fall out of sync from which the server they were issued from. Starting from version 1.24 (earliest I can recall this happening) every so I will be completely unable to use TOTP codes copied from the bitwarden extension, or the vaultwarden webvault. Any attempt in using them will result in the TOTP code being rejected. I believe the issue is due to there being some synchronization issue between vaultwarden, and the source that issued the TOTP codes. My reasoning is that I can copy a TOTP code, attempt to ssh to one of my VPS, paste the TOTP code and have it rejected twice, but then on the third usage attempt have the TOTP code be accepted. This issue only appears to affect TOTP codes issued by `google-authenticator` cli command.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1837