Closed quoraquestions closed 7 years ago
sample TOTP keys used for testing
G:ATNIUMOTRUMZPTUZTNZN3O4U7MH67IB7, D:ATNIUMOTRUMZPTUZTNZN3O4U7MH67IB6, G:ATNIUMOTRUMZPTUZTNZN3O4U7MH67IB5,D:ATNIUMOTRUMZPTUZTNZN3O4U7MH67IB4
There's a minor annoyance i have been trying to figure out, after i use the display_char with blink params to show the 'Identifier' like G for 'Google' even after i exit otp functionality the respective character lit areas still blink. the code does display_clear but looks like that is not sufficient
valid otp secrets No Identifier specified ATNIUMOTRUMZPTUZTNZN3O4U7MH67IB7,ATNIUMOTRUMZPTUZTNZN3O4U7MH67IB6 Identifiers specified: G:ATNIUMOTRUMZPTUZTNZN3O4U7MH67IB7, D:ATNIUMOTRUMZPTUZTNZN3O4U7MH67IB6,
mix and match is allowed too.
…ld in user input is now SINGLE-ALPHABET-IDENTIFIER:TOTP_KEY the SINGLE-ALPHABET-IDENTIFIER is optional and if user does not supply it the build system uses numeric identifiers such as 1,2,3... are used, to cycle between keys press up/down buttons, the SINGLE-ALPHABET-IDENTIFIER is shown on the top lcd leftmost segment in a blinking fashion.
NB: config.h.circle may need to be regenerated since the format in which keys are stored has changed and is incompatible with the previous string-only format