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

Code subcommand doesn't include trailing zero. #31

Closed
lukalot opened this issue Dec 11, 2020 · 2 comments
Closed

Code subcommand doesn't include trailing zero. #31

lukalot opened this issue Dec 11, 2020 · 2 comments

Comments

@lukalot
Copy link

lukalot commented Dec 11, 2020

It seems that rbw doesn't include a trailing zero in its code subcommand output.rbw code <name> returns, for example 17368, if the expected code is 017368, and presumably would even return a two digit code if there were four trailing zeros. This is a problem because most applications won't accept an auth code with less than 6 digits, leaving the user to type the trailing zeros manually.

@doy
Copy link
Owner

doy commented Dec 12, 2020

this should have been fixed in #25 (included in version 0.5.1) - are you sure you are using the latest version?

@lukalot
Copy link
Author

lukalot commented Dec 12, 2020

Ah, my mistake, you're correct I wasn't up to date. I thought 5.0 was the latest version for whatever reason. Thanks.

@lukalot lukalot closed this as completed Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants