An OATH credential on a CanoKey consists of a name (typically issuer:account), a secret key, and a set of parameters that define how one-time codes are generated.
| Type | Description |
|---|---|
| HOTP | HMAC-based One-Time Password. Codes are generated from an internal counter that advances each time a code is calculated. |
| TOTP | Time-based One-Time Password. Codes are generated from the current time, using a configurable time period (commonly 30 seconds). |
| Algorithm | Description |
|---|---|
| HMAC-SHA1 | The most widely supported algorithm; the default in most services. |
| HMAC-SHA256 | Supported by some services. |
| HMAC-SHA512 | Available from firmware 1.5.2. |
The number of digits in the generated code is configurable per credential. Six digits is the most common choice.
A credential can carry the touch-required property. When set, generating a code for that credential requires physically touching the CanoKey, which confirms user presence for every code calculation.
otpauth:// URI FormatMany services provide OATH credentials as an otpauth:// URI, either displayed as text or encoded in a QR code. The format is:
otpauth://TYPE/LABEL?secret=SECRET&issuer=ISSUER&algorithm=ALGORITHM&digits=DIGITS&period=PERIOD
TYPE is hotp or totp.LABEL identifies the credential, usually in the form issuer:account.secret is the shared secret key, Base32-encoded.issuer, algorithm, digits, and period specify the corresponding credential parameters.An otpauth:// URI can be imported directly with ckman; see Managing Credentials.
Firmware 1.5.2 and later support an optional OATH passphrase, separate from the device Admin PIN. When configured, CanoKey Console and ckman use it to unlock OATH credential management and code calculation. See Managing Credentials.