Comments (6)
the time should be synchronised
Did you confirm it? ntpdate -q pool.ntp.org
?
It really sounds like either your computer or the app(?) you're using has the wrong time set.
What is generating the code on the client side?
from google-authenticator-libpam.
The delay isn't too great:
[root@cms slee]# ntpdate -q pool.ntp.org
server 139.180.160.82, stratum 2, offset -0.025777, delay 0.04787
server 67.219.100.202, stratum 2, offset -0.026687, delay 0.05949
server 162.159.200.123, stratum 3, offset -0.025012, delay 0.03571
server 103.76.40.123, stratum 3, offset -0.025579, delay 0.04906
1 May 09:54:55 ntpdate[177428]: adjust time server 139.180.160.82 offset -0.025777 sec
Issues is happening with Devolution Remote Desktop Manager, Putty, WinSCP and Linux SSH. It seems to be less problematic with Linux SSH though.
I get different error codes such
- Did not receive verification code from user
- Invalid verification code
- Too many concurrent login attempts. Please try again.
from google-authenticator-libpam.
The time set on the phone may be wrong too. You never said what is generating the code on the client side.
from google-authenticator-libpam.
Problem occurs with MFA code obtained on the Google authenticator app on the phone, Devolution Remote Desktop Manager and application on Desktop.
from google-authenticator-libpam.
Issue is related to the time discrepancy between the laptop and time server. Devolution RDM and desktop application are using the same time, and MFA codes are the same. MFA code obtained from terminal server and phone works with issues.
I'll need to sync my laptop with an NTP server. Thanks for the guidance.
from google-authenticator-libpam.
Heh. Thanks for the followup.
You're not the first to have it be due to time not being set correct: https://twitter.com/thomashabets/status/1133780752582217728
from google-authenticator-libpam.
Related Issues (20)
- SFTP with google-authenticator HOT 3
- module for nginx HOT 3
- Nginx with PAM authentication through pam_script HOT 23
- Configuring name HOT 3
- Getting the time that google-authenticator is using HOT 1
- Verification code not matching with google authenticator app on phone HOT 5
- G
- G
- Gg
- TOTP not accepted:
- Does.google_authenticator have to be writable? HOT 1
- configure: error: Unable to find the PAM library or the PAM header files HOT 1
- Implement 2FA for Raspberry Pi HOT 3
- How to change configuration after original setup for a user? HOT 3
- Where is the content of the configuration file documented? HOT 5
- Time Sync issue? some trouble in authentication HOT 3
- Chown root:root for .google_authenticator file HOT 3
- The URL of the QR code generated with google-authenticator-libpam results in a 404 error and the QR code is not displayed. HOT 10
- Pulled google-authenticator-libpam into yocto build, library is not getting installed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-authenticator-libpam.