Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsh mfa add - 6 digit input not being accepted #6892

Closed
quinqu opened this issue May 17, 2021 · 0 comments
Closed

tsh mfa add - 6 digit input not being accepted #6892

quinqu opened this issue May 17, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@quinqu
Copy link
Contributor

quinqu commented May 17, 2021

What happened:

When adding an OTP device with tsh mfa add and try to enter the code, teleport says the code must be 6 digits long when the input surely is. The input is still not accepted.

Once created, enter an OTP code generated by the app: 624072
TOTP code must be exactly 6 digits long, try again
Once created, enter an OTP code generated by the app: 624072
TOTP code must be exactly 6 digits long, try again
Once created, enter an OTP code generated by the app: 910046
TOTP code must be exactly 6 digits long, try again
Once created, enter an OTP code generated by the app: 426970
TOTP code must be exactly 6 digits long, try again

What you expected to happen:
An error message if the input is incorrect/some other error message or for the input to be accepted.

Reproduction Steps

As minimally and precisely as possible, describe step-by-step how to reproduce the problem.

  1. tsh mfa add with TOTP device type
  2. Enter the code generated by the added entry

Server Details

  • Teleport version (run teleport version): v6.2.0-beta.1
  • Where are you running Teleport? (e.g. AWS, GCP, Dedicated Hardware): AWS
  • Additional details:
    Using DUO as 2FA app

Client Details

  • Tsh version (tsh version): v6.2.0-beta.1
  • Computer OS (e.g. Linux, macOS, Windows): Linux

Debug Logs

Please include or attach debug logs, when appropriate. Obfuscate sensitive information!

  • Start Teleport with --debug flag (teleport --debug) No logs related
  • Run tsh with --debug flag (tsh --debug) No logs related
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants