ente-io / ente

Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
https://ente.io
GNU Affero General Public License v3.0
15.7k stars 812 forks source link

Ente can't scan big google auth. Q qr-codes #2768

Open CrazyWolf13 opened 2 months ago

CrazyWolf13 commented 2 months ago

Description

Hi I just wanted to switch away from google after Linus TechTips awesome video which features ente, however after exporting my google authentificator codes, and getting the qr codes and scanning them just nothing happens.

Normally QR-codes are not really that picky in getting read, nevertheless I tested with different background lighting in the room, different devices (android + ios), also the method of using another device then taking a photo and scanning that, does not work.

If I hover over the image just nothing happens, I can also not click any button or so, permissions are correctly set.

Also where can I find this feature? https://github.com/ente-io/ente/pull/336

Thanks for any help

Version

3.1.1

What product are you using?

Ente Auth

What platform are you using?

Mobile - Android

Freilichtbuehne commented 2 months ago

Same Problem for me. I had four images and was able to import the first and the last. When exporting just the second page (account 10-20) it did not work. I see no pattern.

Apraxed commented 2 months ago

I had the same problem, I just kept trying until eventually it scanned, it helps to place the device with the QR code on it on a table and just keep trying until it scans. Larger QR codes like those take forever to scan

CrazyWolf13 commented 2 months ago

To be honest, I spent an hour trying every device combination, waiting for minutes, testing different light enviroments etc. I could not get a single one to scan.

Normally QR-Codes are rather known for how quickly/easily they scan without that fiddling around, but I'll try again today

Apraxed commented 2 months ago

It took me like 5-10 minutes to get it to scan, it's annoying because it's scanning on another screen which is always going to be harder. If you have too many more issues with it I don't know what to say, it might be an app issue but that's just how QR codes are sometimes. The issue with the QR codes is that the larger they are (the higher their "version" number) the harder it is to scan them naturally, due to how much data they store

mrsideshowjack commented 2 months ago

Same issue, using my macbook's relatively low quality webcam to try to scan was impossible no matter how close/far the code was.

1Aw3someAlex commented 2 months ago

For me, scanning from Google Auto the Ente Auth, Ente just says the QR code is invalid.

Freilichtbuehne commented 2 months ago

It is now working for me. It takes like 5-10 seconds for each code. No idea why it works now without changing anything. Maybe I held the camera more steady.

CrazyWolf13 commented 2 months ago

For me it's still not working, the Samsung QR-Scanner is perfectly able to scan the code in a reasonable(5-10sec) time, however with the ente app even after minutes of holding the phone turning, twisting etc, still nothing.

NWJ9PB commented 2 months ago

Bump! Not working in Android Build [Host: Android, Version: 14, AppVer: LATEST]

CrazyWolf13 commented 2 months ago

Hey, just reporting back here, I found a little workaround, when exporting, I kep all selected (which were 23 accounts) google seems to split them into 3 big qr codes.

After choosing just one account, I got a much smaller qr code and it finally worked, guess the problem therefore is the big qr code.

syselement commented 2 months ago

Same here, Invalid QR code with:

iPhone Camera app scans the QR correctly and opens the Google Authenticator app, asking for the second QR code.

EDIT: Works via Settings > Data > Import codes > Google Authenticator

jacobi090 commented 2 months ago

Same problem here, i just show the QR code to the cam, and nothing is working. No message, nothing.

MalGamerz commented 2 months ago

As @Apraxed mentioned, the larger the code, the harder or longer it is to scan. My workaround for this problem is to export smaller segments of code. I've successfully exported up to six codes at a time without any issues because I've noticed that it can't handle scanning ten codes at once. Since I only have a limited number of codes, I'm not sure what the maximum limit is, but six seems to work fine. Obviously, this is a pain if you have hundreds of codes or accounts.

NWJ9PB commented 2 months ago

I'm exporting 4 codes, but it fails to scan, other apps that use standard library works as intended, maybe it is in the app qrcode library?

On Wed, Aug 28, 2024, 7:09 AM Ikhmal @.***> wrote:

As @Apraxed https://github.com/Apraxed mentioned, the larger the code, the harder or longer it is to scan. My workaround for this problem is to export smaller segments of code. I've successfully exported up to six codes at a time without any issues because I've noticed that it can't handle scanning ten codes at once. Since I only have a limited number of codes, I'm not sure what the maximum limit is, but six seems to work fine. Obviously, this is a pain if you have hundreds of codes or accounts.

— Reply to this email directly, view it on GitHub https://github.com/ente-io/ente/issues/2768#issuecomment-2313732785, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQOVW6WHOXK7MSAHIKKNSHLZTUBL5AVCNFSM6AAAAABM2R7BROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJTG4ZTENZYGU . You are receiving this because you commented.Message ID: @.***>

DiegoMMR commented 2 months ago

same here i keep trying to low the ammount and it worked until i exported only 2, with 2 exported accouns it works instanly for now

syselement commented 1 month ago

Yeah I can confirm it Works via Settings > Data > Import codes > Google Authenticator

On Sat, 7 Sep 2024 at 14:55, 0Anonym @.***> wrote:

I had the same issue at the beginning until I understood that scanning is not the same as importing. If you just click "Scan a QR code" it won’t work. Settings > Data > Import codes > Google Authenticator

— Reply to this email directly, view it on GitHub https://github.com/ente-io/ente/issues/2768#issuecomment-2335178695, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATM7E2SJJGOG34ZRFJQT2ALZVLZU3AVCNFSM6AAAAABM2R7BROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGE3TQNRZGU . You are receiving this because you commented.Message ID: @.***>

NWJ9PB commented 1 month ago

So when will this be addressed? Or just put an instruction that export/import to ente with only one at a time?

On Sun, Sep 8, 2024, 6:18 AM syselement @.***> wrote:

Yeah I can confirm it Works via Settings > Data > Import codes > Google Authenticator

On Sat, 7 Sep 2024 at 14:55, 0Anonym @.***> wrote:

I had the same issue at the beginning until I understood that scanning is not the same as importing. If you just click "Scan a QR code" it won’t work. Settings > Data > Import codes > Google Authenticator

— Reply to this email directly, view it on GitHub https://github.com/ente-io/ente/issues/2768#issuecomment-2335178695, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ATM7E2SJJGOG34ZRFJQT2ALZVLZU3AVCNFSM6AAAAABM2R7BROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGE3TQNRZGU>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/ente-io/ente/issues/2768#issuecomment-2336467261, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQOVW6SW6KO7SGFDBOKPHYTZVN3T3AVCNFSM6AAAAABM2R7BROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWGQ3DOMRWGE . You are receiving this because you commented.Message ID: @.***>

TheNonWu commented 1 month ago

Did it the slow way, 2 codes a scan. Still not fixed for anybody showing here.

Quick tip: Don't click the return back arrow in Google Authenticator, but use the system "Back" button to save yourself some tedious clicking of extra codes. Took some time, but something rather than nothing :)

syselement commented 1 month ago

Yeah I can confirm it

Works via Settings > Data > Import codes > Google Authenticator

On Sat, 7 Sep 2024 at 14:55, 0Anonym @.***> wrote:

I had the same issue at the beginning until I understood that scanning is

not the same as importing. If you just click "Scan a QR code" it won’t

work. Settings > Data > Import codes > Google Authenticator

Reply to this email directly, view it on GitHub

https://github.com/ente-io/ente/issues/2768#issuecomment-2335178695, or

unsubscribe

https://github.com/notifications/unsubscribe-auth/ATM7E2SJJGOG34ZRFJQT2ALZVLZU3AVCNFSM6AAAAABM2R7BROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGE3TQNRZGU

.

You are receiving this because you commented.Message ID:

@.***>

@TheNonWu

TheNonWu commented 1 month ago

Yeah I can confirm it Works via Settings > Data > Import codes > Google Authenticator On Sat, 7 Sep 2024 at 14:55, 0Anonym @.***> wrote:

I had the same issue at the beginning until I understood that scanning is

not the same as importing. If you just click "Scan a QR code" it won’t

work. Settings > Data > Import codes > Google Authenticator

Reply to this email directly, view it on GitHub

#2768 (comment), or

unsubscribe

https://github.com/notifications/unsubscribe-auth/ATM7E2SJJGOG34ZRFJQT2ALZVLZU3AVCNFSM6AAAAABM2R7BROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGE3TQNRZGU

.

You are receiving this because you commented.Message ID:

@.***>

@TheNonWu

I did it that way, it wouldn't scan the 3 images with 23 "codes" in total. Tried with 4 codes, still wouldn't scan with me holding it there for over a minute. Finally worked as expected (speed wise) with just 2 codes.

Also I think there may be an issue with me having an S23 Ultra and it was choosing a suboptimal camera for the scanning (the edges of the QR code seemed blurry at times and had to move a bit further for everything to be in focus)?

Also would've been great if I could just import the screenshots of the QR codes into the app rather than having to scan :)

melroy89 commented 1 month ago

Same problem. This drives me nuts! I might even think there is a bug in the app that doesn't allow to scan qr codes using this app on certain Android devices..

I really wanted to get rid of Google authentication. This bug is holding me back. And I'm not going to scan 1 export at the time.

I have a Motorola moto g73, official stock rom. It's running Android 14. Could other people also share their Android versions?

jacobi090 commented 1 month ago

Still not fixed? damn

syselement commented 1 month ago

Have you tried?

Settings > Data > Import codes > Google Authenticator

On Sun, 29 Sep 2024 at 04:06, ThePlug09 @.***> wrote:

Still not fixed? damn

— Reply to this email directly, view it on GitHub https://github.com/ente-io/ente/issues/2768#issuecomment-2381065719, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATM7E2TFT3ULHIKUHYHEOL3ZY5ODFAVCNFSM6AAAAABM2R7BROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGA3DKNZRHE . You are receiving this because you commented.Message ID: @.***>

melroy89 commented 1 month ago

Yes we all tried that.

hummat commented 1 month ago

Same problem here. Neither few nor single account QR codes work for me.

melroy89 commented 1 month ago

Same problem here. Neither few nor single account QR codes work for me.

Which android version are you on?

hummat commented 1 month ago

Same problem here. Neither few nor single account QR codes work for me.

Which android version are you on?

12 (with Samsungs One UI 4.1)

Mark1381 commented 2 weeks ago

Found that changing Google Auth to light mode instead of dark mode allowed Ente app to scan the QR codes. Also set the phone brightness to 100%. Had 75 that were successfully transferred.

melroy89 commented 2 weeks ago

I indeed today managed to successfully migrate from Google Auth to Ente Auth finally! Scanning the codes weren't easy..

I followed your advise and I switched to Light mode (instead of dark mode) in Google Auth.

I screenshot every page on my mobile. Sent the files to my desktop PC (using Matrix E2E chat to myself). Opened the screenshots on a large screen on my desktop PC, with high brightness.

And finally, I scanned one QR code at a time (apparently containing 10 codes each). The Auth interface also tries to redirect the user back to scan another QR code.. but I believe you need to cancel that, and go again to Menu -> Import codes -> Select Google Authenticator again. Since otherwise it might expect just a single code QR image. 😮‍💨

Anyhow, scanning the image even on a large screen was not easy! I need to put the image exactly in the square of the camera app of Ente. And hold the camera very still and don't breathe.. 🤕