Captcha support
It seems that configuring Proton with Rclone fails with:
2025/01/08 21:07:xx.xxxxxxx WARN RESTY 422 POST https://mail.proton.me/api/auth/v4: For security reasons, please complete CAPTCHA. If you can't pass it, please try updating your app or contact us here: https://proton.me/support/appeal-abuse (Code=9001, Status=422), Attempt 1
2025/01/08 21:07:xx.xxxxxxx ERROR RESTY 422 POST https://mail.proton.me/api/auth/v4: For security reasons, please complete CAPTCHA. If you can't pass it, please try updating your app or contact us here: https://proton.me/support/appeal-abuse (Code=9001, Status=422)
2025/01/08 21:07:xx CRITICAL: Failed to create file system for "proton:": couldn't initialize a new proton drive instance: 422 POST https://mail.proton.me/api/auth/v4: For security reasons, please complete CAPTCHA. If you can't pass it, please try updating your app or contact us here: https://proton.me/support/appeal-abuse (Code=9001, Status=422)
I haven't experienced this in the past, it seems it some security feature that was recently added by Proton.
I am aware that you might not be available to implement this, but I am creating an issue for a visibility.
The interesting bit is that I've went to: https://drive.proton.me on a same machine, tried to logged in using browser and solved the captcha.
It seems that solving captcha whitelists the IP. Afterwards rclone started to work.
Perhaps the potential improvement would be to capture this error and open user's browser so they can login and solve the captcha. Obviously this assumes that this captcha IP whitelisting behavior will remain as it is which only Proton themselves would be able to confirm.
Facing this issue too, I tried disabling Proton Sentinel to no avail.
This triggered on my machine after the service I used to automount my drive on my system restarted multiple times, probably timeoutting me in the process.
Sentinel is saying this in the logs,
even though the password is correct, I will try tomorrow and see if it's a single day timeout, but yeah, captcha support would be a good thing indeed