-
Notifications
You must be signed in to change notification settings - Fork 50
/
README
93 lines (59 loc) · 2.4 KB
/
README
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
82
83
84
85
86
87
88
89
90
91
92
Authors : James Cuff and Michele Clamp 2011/2012
Jonah Neugeboren and Aaron Kitzmkller 2015
------------------------------------------------
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
Installation using GUI Installer
--------------------------------
OS X https://github.com/mclamp/JAuth/tree/master/Installers/JAuth_macos_2_0.dmg
Windows https://github.com/mclamp/JAuth/tree/master/Installers/JAuth_windows_2_0.exe
Windows64 https://github.com/mclamp/JAuth/tree/master/Installers/JAuth_windows-x64_2_0.exe
Linux https://github.com/mclamp/JAuth/tree/master/Installers/JAuth_unix_2_0.sh
All installers available from https://github.com/mclamp/JAuth/tree/master/Installers
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
----------------
Thanks to bookest (Christopher Grim) for the secret key dialog code
Installer Software Install4j from ej-technologies
-------------------------------------------------
Many thanks for the open-source license
http://www.ej-technologies.com/products/install4j/overview.html
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.
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