Keepassdx: QR scan for OTP

Created on 13 May 2020  Â·  7Comments  Â·  Source: Kunzisoft/KeePassDX

Hi, is there any plan to implement QR scanning for 2FA?

completed developments feature

Most helpful comment

With next version 2.9.2, it will be possible to retrieve the shared link from a QR code reader. All you have to do is "Share" from your favorite barcode reader.

All 7 comments

sounds like something to be figured using intents and a free program called Binary Eye (if contributing to non copyleft projects isn't an issue, or if adding camera permissions to DX isn't a problem)

iirc Binary Eye already supports 2fa keys, but i don't know enough to tell if implementing a way to receive intents from that app is the only thing remaining to do.

Application named "andOTP" is avaible on f-droid too, but it's not the problem. That application would be better if it supports barcode.

There is also ZXing https://github.com/zxing/zxing
zxing/zxing is licensed under the
Apache License 2.0

a share function from the app to KeePassDX would be fine by me or if KeePassDX could call ZXing... or if KeePassDX wanted to incorporate the code altogether.

Ideally, I would liked not to directly integrate a library for reading the QR Code, but only calling up applications that are already installed. Unfortunately, there is no generic solution without Play Service to retrieve the value of a QR from another application. So we have to find a way to generalize the process.

https://github.com/zxing/zxing
ZXing ("zebra crossing") is an open-source, multi-format 1D/2D barcode
image processing library implemented in Java, with ports to other languages.

On Wed, Oct 7, 2020 at 4:32 AM Jérémy JAMET notifications@github.com
wrote:

Ideally, I would liked not to directly integrate a library for reading the
QR Code, but only calling up applications that are already installed.
Unfortunately, there is no generic solution without Play Service to
retrieve the value of a QR from another application. So we have to find a
way to generalize the process.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Kunzisoft/KeePassDX/issues/556#issuecomment-704782135,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADEBNSXDYBZS4PJCH7JU5GTSJQRSJANCNFSM4NAEAUFQ
.

I think this could be handled by registering KeePass DX to handle otpauth:// URLs. That is what's encoded in the QR codes, see here: https://github.com/google/google-authenticator/wiki/Key-Uri-Format

That way one could scan the code with any barcode reader app and the system would suggest KeePass DX as app to handle the scanned link.

With next version 2.9.2, it will be possible to retrieve the shared link from a QR code reader. All you have to do is "Share" from your favorite barcode reader.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sivaraam picture sivaraam  Â·  6Comments

kermit-frog picture kermit-frog  Â·  4Comments

stp-ip picture stp-ip  Â·  3Comments

axel-dd picture axel-dd  Â·  5Comments

alexanderadam picture alexanderadam  Â·  4Comments