otp 136 B

123456
  1. #!/bin/bash
  2. if [ -z "TOTP" ]; then
  3. echo "please export TOTP with your authentication code"
  4. exit 1
  5. fi
  6. oathtool --base32 --totp "$TOTP"