-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
21 lines (14 loc) · 904 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Part of this program comes from PAM module from google authenticator
These parts are under Apache 2.0 Licence. It may have been modified by myself
Source code can be found here https://github.com/google/google-authenticator/tree/master/libpam
Apache 2.0 licence is available at http://www.apache.org/licenses/LICENSE-2.0
Rest of the code is under WTFPL license. See LICENSE.txt for more information
Source of this is at https://github.com/mioux/navspark-googleauth
This is Ansi C with terminal version, not Arduino/Navspark version.
Run this to compile Linux program :
gcc -g -Wall -std=c99 *.c -o main
Run this to compile Windows program :
windres main.rs -O coff -o main.res
gcc -g -Wall -std=c99 *.c *.res -o main.exe
Test : ./main JBSWY3DPEHPK3PXP
Should be the same code as http://blog.tinisles.com/2011/10/google-authenticator-one-time-password-algorithm-in-javascript/