[MDEV-3949] OTP authenticator plugins Created: 2012-12-18  Updated: 2014-09-28  Resolved: 2012-12-19

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Trivial
Reporter: roberto spadim Assignee: Unassigned
Resolution: Not a Bug Votes: 0
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)



 Comments   
Comment by roberto spadim [ 2012-12-18 ]

maybe use the same syntax of google-autenticator program:
BASE32KEY
" RATE_LIMIT 3 30 1355849151 1355849167
" WINDOW_SIZE 17
" TOTP_AUTH
FAIL SAFE KEYS

Comment by Sergei Golubchik [ 2012-12-19 ]

With all due respect, this is a wrong place for asking development question. I'm closing this, and answer to you on the mailing list.

Comment by roberto spadim [ 2013-04-11 ]

hi Sergei, could you reopen it for google summer code?

Generated at Thu Feb 08 06:52:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.