j256 / two-factor-auth

Two Factor Authentication Java code implementing the Time-based One-time Password Algorithm
ISC License
319 stars 110 forks source link

Invalid base-32 character: _ #7

Closed GoldenScrew closed 7 years ago

GoldenScrew commented 7 years ago

secret = SECRET_SHOWN_BYBITSKINS Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Invalid base-32 character: at com.j256.twofactorauth.TimeBasedOneTimePasswordUtil.decodeBase32(TimeBasedOneTimePasswordUtil.java:307)

GoldenScrew commented 7 years ago

Use generateBase32Secret() to generate a secret key in base-32 format for the user. For example: "NY4A5CPJZ46LXZCP"

j256 commented 7 years ago

Is there something here dude for me to improve the docs on?

GoldenScrew commented 7 years ago

no, I just new in programming, just learn language. Thanks

2017-07-18 18:32 GMT+06:00 Gray notifications@github.com:

Is there something here dude for me to improve the docs on?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/j256/two-factor-auth/issues/7#issuecomment-316049382, or mute the thread https://github.com/notifications/unsubscribe-auth/ADzs99J8dImn81-Ex4z1gwQjmr0XiRHfks5sPKW5gaJpZM4Oamlp .

-- Skype: GoldenScrew Agent.mail.ru: GoldenScrew@mail.ru ICQ: 18-02-1991 Mobile phone: +77057792739