]> git.earman.xyz Git - sensor-watch.git/commit
Allow to pass secrets to totp_face through a separate (ignored) header.
authorMathias Kende <mathias@kende.fr>
Fri, 29 Aug 2025 20:05:13 +0000 (22:05 +0200)
committerMathias Kende <mathias@kende.fr>
Fri, 29 Aug 2025 20:05:19 +0000 (22:05 +0200)
commited7761cca46198cef31ef3d68913edfb8abbd066
tree03b7c2aaf94871df1bde87e6a29107c0997bf28b
parent5ecc3d6384b5143be7a19b920be0eabe719a076f
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).
watch-faces/complication/.gitignore [new file with mode: 0644]
watch-faces/complication/totp_face.c
watch-faces/complication/totp_face.h