Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ease QR capture on desktop (Screenshot QR codes) #410

Open
lurendrejer opened this issue Oct 25, 2024 · 5 comments
Open

Ease QR capture on desktop (Screenshot QR codes) #410

lurendrejer opened this issue Oct 25, 2024 · 5 comments

Comments

@lurendrejer
Copy link

Probably a nightmare.

Most meeting-type websolutions have some sort of screensharing, I guess this could be used to take a screenshot and import QR-codes that way.

The camera functionality is great for mobile devices - on the desktop a screenshot-type import would be nice.

@Bubka
Copy link
Owner

Bubka commented Oct 25, 2024

Hi,
the Upload a QR code button lets you upload any image that contains a QR code, like a screenshot. Isn't that what you're asking for?

Image analysis can take a lot of memory, so you might have to increase the php memory_limit setting to prevent the Allowed memory size of 134217728 bytes exhausted (tried to allocate 67108872 bytes) error.

@lurendrejer
Copy link
Author

lurendrejer commented Oct 25, 2024

More or less, i guess the inspiration comes from the authenticator-chrome-extension.
There you can select part of the screen and import the QR-code. Which is more convinent than screenshot -> save -> upload. Having saved screenshots might be a security concern also, but thats the users problem.

It is purely a convinience thing and might be a complete nightmare to implement.
Some sort of virtual camara-driver that takes a screenshot could be a workaround for my personal usecase.

@Bubka
Copy link
Owner

Bubka commented Oct 25, 2024

Ok I got it. Indeed this will be hard to implement, if not impossible. This implies to "escape' from the 2FAuth tab in the browser to display another one. I don't think this is technically possible/allowed by the browser without an extension (or an OS client app).

Maybe you could ask to @josh-gaby if he can do something with 2fauth-browser-extension

@lurendrejer
Copy link
Author

Would i paste-box make sense?
You can copy the QR-image to clipboard in most occations, having the ability to paste it into 2fauth would make the download/upload dance i little more user friendly.

@Bubka
Copy link
Owner

Bubka commented Nov 4, 2024

This one is probably achievable, I keep the idea 👍🏻 (although I still think this is a job for a browser extension)

@Bubka Bubka changed the title Screenshot QR codes Ease QR capture on desktop (Screenshot QR codes) Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants