Details
-
Type:
Task
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Not a Bug
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
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)
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
maybe use the same syntax of google-autenticator program:
BASE32KEY
" RATE_LIMIT 3 30 1355849151 1355849167
" WINDOW_SIZE 17
" TOTP_AUTH
FAIL SAFE KEYS