Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
OATH TOTP implementation in Opa
JavaScript Opa
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Makefile
README.md
base32.opa
base32_unittest.opa
google_authenticator.jpg
opa_qr.opa
otp_c200.png
qrcode.js
qrcode.opa
screenshot.png
utils_test.opa

README.md

OATH TOTP in Opa

OATH is a standard for two factor authentication (i.e. RSA thingy which generates a unique code every minute). The purpose of this code is to demonstrate how to implement things in Opa.

I also implemented Google's KeyUriFormat, so everything is easy with the Google Authenticator app.

Note: if you are going to use this in a real system, you might want to keep track of which tokens was last used (i.e. synchronize clocks)

license

http://www.opensource.org/licenses/mit-license.php

links

screenshots

  • demo app

  • google authenticator

  • otp c200

Something went wrong with that request. Please try again.