heapsource / active_model_otp

Adds methods to set and authenticate against one time passwords (Two-Factor Authentication). Inspired in AM::SecurePassword
MIT License
773 stars 81 forks source link

ROTP::Base32::Base32Error Exception: Invalid Base32 Character - '{' #38

Closed MohdAnas closed 7 years ago

MohdAnas commented 7 years ago

I have encrypted my otp_secret_key in database using Gibberish. When I am trying to call authenticate_otp it is giving me this error ROTP::Base32::Base32Error Exception: Invalid Base32 Character - '{' .

Kindly please look into it.