nathan-yan/otp_

Incorrect error message when secret cannot be decoded

bersbersbers opened this issue · 0 comments

Describe the bug
If a secret cannot be decoded, the error message says that a valid secret can only be A-Z2-7 even if that is the case.

To Reproduce

>otp write NAME 2
Invalid secret! Valid secrets contain only the letters A-Z and digits 2-7