Get manual configuration key for 2FA TOTP from QR Code

Question

KeePassXC supports TOTP generation from the password manager itself. However, many website tend to not supply a manual configuration key for it barring few like AWS.

Is it possible to derive this configuration key from the QR code itself? I tried scanning the QR code but none of the information there could get a TOTP from KeePassXC that worked.

I know configuring the TOTP in the password manager defeats the purpose of 2FA to a great extent, but there are a few desperate times like the 2FA device getting broken where that would help.


Show source
| security   | two-factor-authentication   2017-08-08 23:08 2 Answers

Answers to Get manual configuration key for 2FA TOTP from QR Code ( 2 )

  1. 2017-08-10 12:08

    Most implementations of the QR code work for Google Authenticator, in which the secret is encoded as base32. If you base32 decode the secret parameter before configuring KeePassXC it should work.

    Let me know if that helps at all.

  2. 2017-08-11 10:08

    Not sure what I did wrong the first time, but the QR code has the secret built right in. Just scan the code and copy the secret. No modifications to the secret (base32 decode or encode) are needed for KeePassXC to start generating TOTP keys.

Leave a reply to - Get manual configuration key for 2FA TOTP from QR Code

◀ Go back