|
hi guys, i'm trying to write a autenticator plugin like the google autenticator (with same algorithm) i found the library that works like it
http://www.nongnu.org/oath-toolkit/index.html
the point is
1)i don't want to use pam, since i want to use in windows
2)i want to save password in mysql.user table
3)i want to add 5 columns on user table (or create another table just to OTP):
otp_type= "TOPT"/"HTOP"
otp_key= "BASE 32 KEY",
otp_counter= "HTOP CURRENT COUNTER",
otp_only_one= "ONLY ACCEPT THE KEY ONE TIME"
otp_scans="NUMBER OF SCANS, FOR TIME EACH SCAN IS 30SECONDS, FOR COUNTER ONE COUNTER"
4)i need read, and write to this columns (or maybe a serialize on auth_string column)
|