File: README

package info (click to toggle)
google-authenticator 20130529-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,584 kB
  • ctags: 855
  • sloc: objc: 3,416; java: 3,324; ansic: 2,922; xml: 210; makefile: 83; python: 10
file content (36 lines) | stat: -rw-r--r-- 989 bytes parent folder | download
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
StrongAuth (Two-Factor Authentication) iOS client.
Author: Dave MacLachlan <dmaclach@google.com


This client generates and displays one time passwords for logging in to
GAIA, or any other system which supports HOTP[1] or TOTP[2].

It is designed to be configured via a URL handler, as follows:

  otpauth://TYPE/LABEL?PARAMETERS

where TYPE is "hotp" or "totp" and LABEL is a human readable label to help
distinguish multiple otp generators.

The supported PARAMETERS are:

  algorithm=(SHA1|SHA256|SHA512|MD5)
    OPTIONAL, defaults to SHA1.

  secret=[websafe Base64 encoded secret key, no padding]
    REQUIRED, 128 bits or more.

  digits=(6|8)
    OPTIONAL, defaults to 6.

  counter=N  (hotp specific)
    REQUIRED

  period=N  (totp specific)
    OPTIONAL, defaults to 30.

References:
1. HOTP: An HMAC-Based One-Time Password Algorithm
   http://tools.ietf.org/html/rfc4226
2. TOTP: Time-based One-time Password Algorithm
   http://tools.ietf.org/html/draft-mraihi-totp-timebased