Results 1 to 9 of 9

Thread: google authenticator 2fa

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    google authenticator 2fa

    im using GoogleAuthenticator from this URL
    Code:
    https://github.com/PHPGangsta/GoogleAuthenticator
    when i run its example. i get following output

    Code:
    Secret is: GJZSJG3PXEL2CVU2
    
    Google Charts URL for the QR-Code: https://chart.googleapis.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth%3A%2F%2Ftotp%2FBlog%3Fsecret%3DGJZSJG3PXEL2CVU2
    
    Checking Code '870986' and Secret 'GJZSJG3PXEL2CVU2':
    it return Checking Code '870986' in numbers only. I want to know how can i get it in AlphaNumeric?

  2. #2
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: google authenticator 2fa

    If I am not mistaken, Google Authenticator only gives numeric digits, not alphanumeric.
    My usual boring signature: Something

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: google authenticator 2fa

    Quote Originally Posted by dclamp View Post
    If I am not mistaken, Google Authenticator only gives numeric digits, not alphanumeric.

    Very sad :-(

    But is it possible to add some code into it and get it done? Or is there any other library that can do same task with alphanumeric code?

  4. #4
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: google authenticator 2fa

    You can create your own two factor authentication system. You would need the person's email address or phone number as a second form of authentication.
    My usual boring signature: Something

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: google authenticator 2fa

    Quote Originally Posted by dclamp View Post
    You can create your own two factor authentication system. You would need the person's email address or phone number as a second form of authentication.

    Yes you are right but he want me to use any existing library for this. Not to create own code

  6. #6
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,532

    Re: google authenticator 2fa

    What's wrong with Google's authenticator? So it gives the code in numerics only.... OK... so what?

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: google authenticator 2fa

    Quote Originally Posted by techgnome View Post
    What's wrong with Google's authenticator? So it gives the code in numerics only.... OK... so what?

    -tg
    It is working fine. But client is now saying he want alphabatic code not numeric :-(

    With numbers it is very good.

    Im using it for otp one time password

  8. #8
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,532

    Re: google authenticator 2fa

    Ungh... then you need a different authenticator... not that it will make one bit of difference. Most I've seen, and I use several, all produce a numeric code.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: google authenticator 2fa

    Quote Originally Posted by techgnome View Post
    Ungh... then you need a different authenticator... not that it will make one bit of difference. Most I've seen, and I use several, all produce a numeric code.

    -tg
    for numeric OTP only this authenticator is good? If client accept it with numbers only then this is OK?

    Do you know any other easy authenticator for alphanumeric?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width