Allow to pass secrets to totp_face through a separate (ignored) header.
That header (`totp_face.secrets.h`) is listed in the .gitignore file for that directory, so that there is limited risk to commit it to GitHub by mistake (at least less than when the secrets are directly listed in `totp_face.c`). And this is also easier to use than totp_lfs_face (at least until secrets can be sent to that face over IR).
This commit is contained in:
@@ -61,6 +61,10 @@
|
||||
* o `algorithm` is one of the supported hashing algorithms listed above.
|
||||
* o `timestep` is how often the TOTP refreshes in seconds. This is usually
|
||||
* 30 seconds.
|
||||
* o Alternatively, place the `credentials` variable as-is in a file named
|
||||
* `totp_face.secrets.h` in this directory, and it will be included instead.
|
||||
* This lowers the risk of commiting your OTP secrets to GitHub as that file
|
||||
* is listed in the .gitignore file.
|
||||
*
|
||||
* If you have more than one secret key, press ALARM to cycle through them.
|
||||
* Press LIGHT to cycle in the other direction or keep it pressed longer to
|
||||
|
||||
Reference in New Issue
Block a user