]> git.earman.xyz Git - sensor-watch.git/commit
faces/totp: decode secrets when setting up
authorMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Mon, 26 Feb 2024 01:23:38 +0000 (22:23 -0300)
committerMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Mon, 26 Feb 2024 01:50:47 +0000 (22:50 -0300)
commitd70511515e986427ab4c73e14458de01e24aa3b8
treed23d3fb10b8647e5b042b087507acb7313b131fe
parent1c0050c97b510224f35be9fe502397c387e59061
faces/totp: decode secrets when setting up

This allows the user to easily copy the base32 encoded secrets
into the TOTP record initializers. They will be decoded once
at runtime when the face is being set up by the movement framework.

Also rename the array of TOTP records to credentials. Much better.
movement/watch_faces/complication/totp_face.c