LeanderBB / you-have-mail

Application to notify you if an email has arrived in your email Account
GNU Affero General Public License v3.0
88 stars 5 forks source link

App asks for CAPCHA for security reasons #12

Closed BalooRJ1 closed 1 year ago

BalooRJ1 commented 1 year ago

Hello,

When attempting to login to my Protonmail accoumt use this app with GrapheneOS, I am given an error message in the app asking for completion of a CAPCHA. But it does not appear the app supports a CAPCHA. Any thoughts as to a fix? Thank you very much.

LeanderBB commented 1 year ago

Hey, have you tried to use the "Proton Mail V-Other" backend? That seems to solve the capcha issue for some folks.

BalooRJ1 commented 1 year ago

Thanks for the quick reply. Unfortunately, the other login option gives me "Network Request Failed."

LeanderBB commented 1 year ago

Regarding the capcha, it is sadly not something I can fix since I can't reproduce it :/.

That being said, the other backend has been known to work and used to circumvent this.

Could you share the logs from the application when the request fails so I can take a look?

BalooRJ1 commented 1 year ago

How would I go about accessing logs?

-------- Original Message -------- On May 6, 2023, 4:21 AM, LeanderBB wrote:

Regarding the capcha, it is sadly not something I can fix since I can't reproduce it :/.

That being said, the other backend has been known to work and used to circumvent this.

Could you share the logs from the application when the request fails so I can take a look?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

LeanderBB commented 1 year ago

You can follow one of the suggestions listed here: https://www.xda-developers.com/how-to-take-logs-android/

LeanderBB commented 1 year ago

@BalooRJ1 do you still have network issues and/or managed to get hold of the logs?

LeanderBB commented 1 year ago

Is it possible you have the old two password system enabled for your account?

Wjxfi commented 1 year ago

Same miui 13.0.5 f-droid android 12

LeanderBB commented 1 year ago

@Wjfxi, did you try to use the Proton V-Other Backend? It's known to not request captchas.

If you did and you ran into a network request error, do you have a proton account with two password mode?

Wjxfi commented 1 year ago

did you try to use the Proton V-Other Backend?

Yes. I don't know about the rest.

theAkito commented 1 year ago

@Wjxfi

I don't know about the rest.

https://github.com/LeanderBB/you-have-mail/issues/13#issuecomment-1567030265

dailyherold commented 1 year ago

Greetings. I'm getting the Network request failed error as well. I do not have two password mode enabled, but do have MFA enabled, which seems to be the issue. In my Proton Mail logs I see the following security event log:

Sign in success (awaiting second factor)

LeanderBB commented 1 year ago

Hey, do you think you could provide the app logs?

There is support for TOTP codes, but not for FIDO/yubi keys. The former does not cause network request errors though.

LeanderBB commented 1 year ago

@dailyherold Does this happen after you submit the username + password or after you input 2FA/TOTP ?

dailyherold commented 1 year ago

Sorry for delay @LeanderBB, I have a security key (onlykey) registered, so based on your comment that must be it. I'll remove key and re-test to confirm.

dailyherold commented 1 year ago

Yup, got it working by removing security key. Might open an issue simply for tracking, no pressure to work on.

LeanderBB commented 1 year ago

@dailyherold Thanks so much for digging deeper into this :pray:

LeanderBB commented 1 year ago

Good news everybody, I finally managed to trigger the captcha request.

v0.9.0 now supports solving Proton Captchas.

If there is an issue related to this new feature, please open a separate ticket, thanks.