Set up two-factor codes (TOTP)

Enrol

Secret (base32, in groups of four, to type by hand)
otpauth URI (what a QR code would carry)
Typed in lowercase with the spaces, it decodes to

Current code

Code
Next code in

Check a code