Skip to content
Java GUI client to generate Google authentication codes
Java Shell
Find file
New pull request
Latest commit 660b58c Aaron Kitzmiller Merge branch 'jauth-2.0'


Authors : James Cuff and Michele Clamp 2011/2012
Jonah Neugeboren and Aaron Kitzmkller 2015


JAuth is a reference desktop client for the google authenticator. Intended 
as an alternative to the iPhone Google Authenticator app and similar.

Explanatory bloggage at

Installation using GUI Installer


All installers available from


To compile and run in bash


then to run 

  java -jar JAuth.jar


  java -jar JAuth.jar <myauthfile>

By default it looks in the home directory for a file called .google_authenticator

Alternatively :

  java -jar JAuth.jar -secret=MY_SECRET_KEY


Initialize your keystore (do this only once)

  keytool -genkey -alias JAuth -keyalg RSA -keystore keystore.jks -keysize 2048

Sign your jar

  jarsigner -keystore keystore.jks  JAuth.jar JAuth

Edit the JAuth.jnlp file to reflect your local webserver path.
Copy the JAuth.jnlp and JAuth.jar files into the webserver path.


Thanks to bookest (Christopher Grim) for the secret key dialog code

Installer Software Install4j from ej-technologies

Many thanks for the open-source license

PasscodeGenerator and Base32String code from

LCD Font from
Digital-7:  1.00 Oct 03 13:24:00 2008
TrueType font 33.2KB
Created by Sizenko Alexander. © 2008 Style-7. All rights reserved.

LCD Background png from
E-LAB Computers
modified from

Layout code from
JGoodies Karsten Lentzsch

Something went wrong with that request. Please try again.