Tag Archive for: oathtool

Use oathtool command line for 2 step verification (2FA)

You don’t need to use GAMMA Authenticators or closed private apps that generates 2 step verification (2FA) codes on your phone. Keep it simple and under your control, use oathtool command:

oathtool -b --totp 'private_key'

This will give you an output with the code you need whenever you want, ex:

521319