Firefox OS authenticator app for one-time passwords (RFC 6238).
The applications is build to be highly customizable, by allowing all the options provided by the RFC 6238 and RFC 4226, and to respect Firefox OS's default layout. The options for adding a new token generator (a credential) are:
- time step (after how many seconds should a new token be generated)
- hashing algorithm (which SHA function should be used for the HMAC)
- output length (how many digits should the token consists of)
- time offset (how many seconds offset should there be with respect to Unix time)
To achieve the look and feel of a Firefox OS app, Mozilla's Building Blocks is used.
Clone the repository and use bower to install the dependencies.
$ bower install
You can convert the app icons from SVG into PNG using Inkscape.
$ for size in 60 128 512;do inkscape -z -e img/icon-$size.png -w $size -h $size img/icon.svg;done