Skip to content

A finir. Projet en C pour générer des codes google auth TOTP via un navspark.

License

Notifications You must be signed in to change notification settings

fargly/navspark-googleauth

Repository files navigation

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/

About

A finir. Projet en C pour générer des codes google auth TOTP via un navspark.

Resources

License

Stars

Watchers

Forks

Packages

No packages published