Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 351ea6daec
Fetching contributors…

Cannot retrieve contributors at this time

file 81 lines (51 sloc) 1.802 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
Authors : James Cuff and Michele Clamp 2011
-------------------------------------------

Description
------------

JAuth is a reference desktop client for the google authenticator. Intended
as an alternative to the iPhone Google Authenticator app and similar.
http://code.google.com/p/google-authenticator/

Explanatory bloggage at http://blog.jcuff.net/2011/09/beautiful-two-factor-desktop-client.html


Demo
----

http://minilims.bioteam.net/JAuth.demo.jnlp

(Uses a dummy secret key - usually your personal key would be in
a .google_authenticator file on your local system)

Installation
------------

To compile and run in bash

  ./makejar

then to run

  java -jar JAuth.jar

or

  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

Webstart
--------

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.

Acknowledgements
----------------

PasscodeGenerator and Base32String code from
--------------------------------------------
sweis@google.com


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.
http://www.styleseven.com

LCD Background png from
-----------------------
E-LAB Computers

http://www.e-lab.de/components/lcd_and_keyboard_en.html
modified from http://www.e-lab.de/diverse/LCD2x16.jpg

Layout code from jgoodies.com
-----------------------------
JGoodies Karsten Lentzsch
Something went wrong with that request. Please try again.