j256 / two-factor-auth

Two Factor Authentication Java code implementing the Time-based One-time Password Algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid base-32 character: _

GoldenScrew opened this issue · comments

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

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

commented

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