Chapter 11. Plugins
179
# An example track exercising the programmable Rockbox metronome
# or also http://das.nasophon.de/klick/.
lead-in: 1 4/4 120 XXXX 0.5 # 4 emphasized but less loud ticks
intro: 4 4/4 120
# standard beat
tearing down: 4
120-90
# changing tempo from 120 to 90
break: 2 1/4 90
# 2 1/4 bars at 90
rolling: 2 6/8 90
# 2 6/8 at same tempo (quarters!)
rumbling: 4 3/4 90 X.x
# 3/4, first (tick) and last (tock)
ramp-up: 8 2/4 90-150
# speeding up to 150 bpm again
flow: 4
150
# steady 4/4 at 150 bpm
death: 8
150-60
# going down to 60
final: 1 1/1 60
# one last hit
11.4.15. One-Time Password Client
This plugin provides the ability to generate one-time passwords (OTPs) for authenti-
cation purposes. It implements an HMAC-based One-Time Password Algorithm (RFC
4226), and on targets which support it, a Time-based One-Time Password Algorithm
(RFC 6238).
Adding Accounts
The plugin supports two methods of adding accounts: URI import, and manual entry.
It is important to note that for TOTP (time-based) accounts to work properly, the
clock on your device MUST be accurate to no less than 30 seconds from the time on the
authentication server, and the correct time zone must be configured in the plugin. See
section
(page
) for more information.
URI Import
This method of adding an account reads a list of URIs from a file. It expects each URI
to be on a line by itself in the following format:
otpauth://[hotp OR totp]/[account name]?secret=[Base32 secret][&counter=X][&period=X][&digits=X]
An example is shown below, provisioning a TOTP key for an account called “bob”:
otpauth://totp/bob?secret=JBSWY3DPEHPK3PXP
Any other URI options are not supported and will be ignored.
Most services will provide a scannable QR code that encodes a OTP URI. In order to
use those, first scan the QR code separately and save the URI to a file on your device.
If necessary, rewrite the URI so it is in the format shown above. For example, GitHub’s
URI has a slash after the provider. In order for this URI to be properly parsed, you
must rewrite the account name so that it does not contain a slash.
The Rockbox manual
(version 3.14)
Toshiba Gigabeat F and X Series