Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Image

I am using Google Authenticator for 2-step authentication. I like how I can use a code and verify my account using my phone:

google-authenticator-android3.gif

I realize that the app was designed to run on a device other than a computer to increase security for the computer (in case that it is lost or stolen), but I would like to know if there is a way I can run Google Authenticator on my Macbook.

Now, per the Google Authenticator Page it will not run on a desktop:

What devices does Google Authenticator work on?

  • Android version 2.1 or later
  • BlackBerry OS 4.5 - 6.0
  • iPhone iOS 3.1.3 or later

However there are several emulators for developers and so I wonder if it is possible to run one of these emulators and then run Google Authenticator with that. I do realize this is not a best practice - but I'm less worried about my laptop getting stolen and more worried about someone just hacking the account.

So my question is this: Is it possible to run it on the desktop, even though it is not meant to be / not recommended?

share|improve this question

8 Answers 8

up vote 6 down vote accepted

You could use Oracle's VirtualBox, Android x86 OS, and then install the Authenticator. This would essentially give you the Google Authenticator on a desktop.

VirtualBox: https://www.virtualbox.org/

Android x86: http://www.android-x86.org/

share|improve this answer

There is a Self Hostable Web App at https://github.com/gbraad/html5-google-authenticator This is not secure on an internet facing machine, but you can load this on a completely offline Machine and you'd be safe.

share|improve this answer
    
It looks really good - just makes me nervous b/c I don't easily understand everything that makes it work :) –  cwd May 25 '13 at 0:30
    
basically, it's using local storage inside your browser to store a secret key, local storage is only accessible from the domain it was written from (someone correct me if i'm wrong), it then uses the current time and the secret key from the local storage, to compute what the key should be. It's all just Javascript goodness –  Jharwood May 28 '13 at 13:11
    
This one is awesome bro. Now I don't need to run a VirtualBox or Bluestacks for this. –  manish_s Mar 24 at 16:41

There's also a Firefox app version. It doesn't need Firefox to run first, and you can actually install Firefox portable so it doesn't impact your system .

https://marketplace.firefox.com/app/gauth-authenticator/

share|improve this answer

JAuth is a good alternative - Java based (has Windows, Linux, and OS X installers), small and portable. I keep a copy on a USB drive.

share|improve this answer
    
For my money, this ought to be the accepted answer. JAuth is works great, and has its own installer. It really couldn't be any easier. –  evadeflow Apr 11 at 13:37

Yes. You can use WinAuth. Works fine for me.

share|improve this answer

Install oath-toolkit via brew, generate your keys with:

oathtool --totp -b <your_secret>

To get your secret, use the 'change phone' option in Google. You can get your key by clicking the 'manually enter the key' link.

share|improve this answer

YubiKey offers a hardware solution (an USB dongle) that's capable of doing OATH-TOTP.

There's also a Windows helper program:

http://www.yubico.com/applications/internet-services/gmail/

share|improve this answer

Here is a Chrome extension version https://chrome.google.com/webstore/detail/authenticator/bhghoamapcdpbohphigoooaddinpkbai

share|improve this answer
2  
Wow, I would never use a non-Google tool for this. (But it might be legit and safe to use.) –  Arjan Jul 26 at 19:29
2  
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  Ƭᴇcʜιᴇ007 Jul 26 at 21:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.