otpcli.c: implement secret reading and decoding
commit02713fb0ef21a5a44e6086e4725bc5cc5c8aa447
authorKyle J. McKay <mackyle@gmail.com>
Fri, 18 Aug 2023 08:02:09 +0000 (18 01:02 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 18 Aug 2023 08:02:09 +0000 (18 01:02 -0700)
treeb1c1f4b1822c21232af81f0eba2b4277c1e170e3
parent33e1622dedc3d1f6d3d52cab10ff39caf447d3fe
otpcli.c: implement secret reading and decoding

Add code to read the secret file (when not using immediate mode).
Add hexadecimal decoding support.
Add base 32 decoding support.
otpcli.c