-
Notifications
You must be signed in to change notification settings - Fork 4
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
Invalid Secret #2
Comments
PHP Error: Fatal error: Uncaught Exception: Invalid secret provided. Secret: "JVIVET2MKBJUEU2TIZCVORCCJ5GTON2HKNGFOT2FIRCUGT2EIRIQ" in {FOLDER}/system/external/jocic/google-authenticator/source/Jocic/GoogleAuthenticator/Secret.php:194 Stack trace: #0 {FOLDER}/system/external/jocic/google-authenticator/source/Jocic/GoogleAuthenticator/Secret.php(128): Jocic\GoogleAuthenticator\Secret->setValue('JVIVET2MKBJUEU2...') #1 {FOLDER}/system/external/jocic/google-authenticator/source/Jocic/GoogleAuthenticator/Account.php(339): Jocic\GoogleAuthenticator\Secret->__construct('JVIVET2MKBJUEU2...') #2 {FOLDER}/system/external/jocic/google-authenticator/source/Jocic/GoogleAuthenticator/Account.php(128): Jocic\GoogleAuthenticator\Account->setAccountSecret('JVIVET2MKBJUEU2...') #3 {FOLDER}/system/datastore/n1cqm5613748d7246cp9v9ykuumg5p1b/999999999/2fa/variables.php(34): Jocic\GoogleAuthenticator\Account->__construct('Example', 'example@cwinfo....', 'JVIVET2MKBJUEU2 in {FOLDER}/system/external/jocic/google-authenticator/source/Jocic/GoogleAuthenticator/Secret.php on line 194 |
Temporarily fixed this with changing length check in Secret.php because in FreeOTP minimum legth for secret is 8 // Step 1 - Check Length
if (count($characters) < 8)
{
return false;
} |
Thank you for reporting the issue, I will resolve it as soon as possible! |
Is this issue solved? |
Yes, issue has been resolved. |
I want to make sure all kinds of secret are supported but for some reason I cannot use Epic Games style secret like this JVIVET2MKBJUEU2TIZCVORCCJ5GTON2HKNGFOT2FIRCUGT2EIRIQ (this not valid anymore)
The text was updated successfully, but these errors were encountered: