- Joined
- Nov 26, 2012
- Messages
- 2,567
- Trophies
- 2
- Location
- United States
- Website
- sites.google.com
- XP
- 3,893
- Country
Wait, what ? Two-factor authentication codes on a TI-89 ? ? ?
Code:
key_parm = base32_decode(key, x, 16);
https://github.com/arcanericky/ga-cmd/blob/master/src/codegen.c#L15
Really? There are 32 characters in a totp secret, yet you only decode 16? wtf?
Well, thankfully, I figured out the problem !
Now I can use two-factor on my calculator :-)
I just need to put the totp secret in a variable instead of hardcoded into my program, get my program to read from that variable, and then release the source code (which really is ga-cmd but fixed variable widths, romcalls and shit)