Allow to use 3 character long labels in the totp face.

This commit is contained in:
Mathias Kende
2025-08-31 23:09:21 +02:00
parent 5ecc3d6384
commit faee5bdce1
2 changed files with 17 additions and 11 deletions
+3 -2
View File
@@ -55,8 +55,9 @@
* TOTP credentials. The file includes two examples that you can use as a
* reference. Credentials are added with the `CREDENTIAL` macro in the form
* `CREDENTIAL(label, key, algorithm, timestep)` where:
* o `label` is a 2 character label that is displayed in the weekday digits
* to identify the TOTP credential.
* o `label` is a 2 or 3 character label that is displayed in the weekday
* digits to identify the TOTP credential (only the first 2 characters
* are displayed on the classic LCD).
* o `key` is a string with the base32 encoded secret.
* o `algorithm` is one of the supported hashing algorithms listed above.
* o `timestep` is how often the TOTP refreshes in seconds. This is usually