Lurker News
Back to discussion

Comment by j1elo

j1elo4 replies#
The QR that you mention, is just an encoding of an actual string key (edit: I'm reading now that it's called seed). If possible, it is better to get the string directly, instead of its QR encoded counterpart.

This is needed for example to store the TOTP in a device that has no camera. Or in your Bitwarden Pro account. Obviously you wouldn't be able to scan a QR with such an application, so the actual string is needed you just copy-paste it, so it should be provided by any service that offers 2FA (I confirmed Google does)

Xylakant1 reply#
You are correct about the QR code just representing a (fairly short) string, but applications can handle QR code just fine - 1password can read it directly from the screen.
lcnPylGDnU4H9OF1 reply#
There may be a plugin for it but the KeePass clients I've used don't support this by default. Generally, it would be best to look for the string (and keep both the string and the image secret!).
wingmanjd1 reply#
KeepassXC lets you store the TOTP seed value associated with an entry by right-clicking on that key and selecting "Setting up TOTP".

Also, other TOTP generators like Authy and Aegis let you backup your tokens to restore to another device.

Continue this thread — 1 reply

password4321#
Why not both? Thanks for the clarification.
eigenvalue1 reply#
You can scan any QR code with the iPhone default camera app and get the string back that way. But yeah, all QR codes are just encoded strings.
2fast4you#
Sharing a useful app I found: The Orca Scan app on iPhone can scan and decode all kinds of barcodes and qr codes
notpushkin#
Linux:

    xclip -sel clip -t image/png -o | zbarimg -
macOS:

    pngpaste - | zbarimg -