a simple, externally configured multi-factor authenticator for the Cardputer ADV
boot screen
time entry
list screen
otp
git clone https://github.com/wisnc/cTOTP
cd cTOTP
pio run
this firmware is mainly configured externally. to increase speed in which it becomes useable (since you usually only configure it once), I decided to have all config files be edited by other means such as a firmware with a built in editor.
on first boot, it creates a directory on root named TOTP and a config file that contains wifi info, display setting, and timezone (currently unused)
entries are created by creating an extensionless file with the name as the display name and the contents to be in this order
type=
label=
secret=
issuer=
algorithm=
digits=
period=
type and label can be whatever you want, the important ones are secret, algorithm, digits, and period
only secret is required, if the others are left empty they will default to:
algorithm=SHA1
digits=6
period=30
currently cTOTP supports SHA1, SHA256, SHA512 for algorithm.
- release