proton-python-client
proton-python-client copied to clipboard
Python Proton client module
What's the point of this repo if it's intended to internal use and none of the API endpoints are documented?
As others have pointed out ([\[1\]](https://github.com/ProtonMail/proton-python-client/pull/47), [\[2\]](https://github.com/ProtonVPN/linux-app/issues/51#issuecomment-1548655085)), the project directly uses `urllib3` in a way not compatible with [v2.x](https://urllib3.readthedocs.io/en/stable/v2-migration-guide.html#attributeerror-httpresponse-object-has-no-attribute-strict), what leads to the known `Unknown API error` in vpn apps....
as #34 remains unanswered since 2021 admitting lack of proper documentation would be a good first step (to avoid XY problem - I am checking whether Proton mail is capable...
The default mail adress is used as default to reply to mails even if the originaly sent email, and the response from the receiver, was done with another custom domain....
Tried formats Host:Port:User:Pass and User:Pass@Host:Port Has anyone else had any success with this? ```python proton_session = Session( 'https://api.protonmail.ch', path.join(cwd, log_folder), path.join(cwd, "cache"), tls_pinning=False, proxies="Host:Port:Username:Password" ) proton_session.authenticate(username=proton_email, password=proton_password) #does not authenticate...
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/types.py", line 539, in __call__ obj.parse(packet) File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/packets.py", line 885, in parse self.keymaterial.parse(packet[:pend]) File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/fields.py", line 1625, in parse ECDHPub.parse(self, packet) File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/fields.py", line 724, in parse self.kdf.parse(packet) File...