TOTP generator
Reasonably small (~1 MB statically linked without dependencies, single executable), portable TOTP (Time-based one-time password) generator intended to be used for github 2FA.
Using with github: copy secret key (named as "setup key" below) and paste it in application settings, optionally (insecure!) enabling saving it to disk (JSON file next to application executable).
Github would ask for OTP/password (6 digits) right away and when logging in next time. Click "Generate OTP now" and copy code or type it manually.
Note that each OTP is theoretically valid only for 30 seconds (though service might as well accept older codes to deal with time synchronization and delay introduced by the user).
Application shows how much time left for OTP validity in status bar.
- Initial release: binary: totp_generator_0_0_1_bin.zip, source: totp_generator_0_0_1_src.7z
- 2023.11.01: binary: totp_generator_0_0_2_bin.zip,
source: totp_generator_0_0_2_src.zip
- FIX: replaced time(NULL) with WinAPI call - apparently TC2006/C++ Builder function was returning wrong value in Poland for a week or so at the last DST change