A simple terminal app for Google Authenticator
medium.com
medium.com
pass-otp(1)[0] already has encryption ready; and it also adds another warning:
> This method is provided as a means to transport your TOTP tokens to other devices, disconnected from your single factor authentication part. If you add those secrets into the same basket of eggs, you will be defeating the whole purpose of the multi factor authentication[1] mantra. Please think it through before running this migration.
[0] https://github.com/tadfisher/pass-otp
[1] https://en.wikipedia.org/wiki/Multi-factor_authentication