fsantini / KoboCloud

A set of scripts to synchronize a kobo reader with popular cloud services
Other
1.03k stars 99 forks source link

Proton Drive support #176

Open elfi-ox opened 8 months ago

elfi-ox commented 8 months ago

Hey, i don't know how much it cost in term of effort or if this is possible but i think it would be great to have support for Proton Drive as it's possible to share files and folder with just a link. Since Proton is already used by many people for mail, VPN, password manager and calendar, it give the possibility for proton unlimited plan users to use their drive without having to pay something more

VPeeters commented 2 months ago

I will look into this

MrDananas commented 2 months ago

+1 on this. Would be amazing with proton drive support.

VPeeters commented 2 months ago

I looked into this, and unfortunately Proton Drive does not make it easy to download files using curl... I need some more time to figure this out. May take a while.

dsommers commented 1 month ago

I know rclone supports Proton Drive; I'm able to configure this on Linux where it works okayish (it's slow, compared to Tresorit or Filen). And I can almost make it work using the KoboCloud-rclone fork - except there are some certificate verification issues.

@VPeeters curl won't work with Proton Drive, as there exists no WebDAV entrance point (and never will appear). All files are PGP encrypted on the Proton servers and are being decrypted by the client. Hence rclone is a necessity, which provides Proton Drive support.

VPeeters commented 1 month ago

I know. But that does not mean rsync is a necessity. I was looking into how they use the Proton API to achieve this. However, for now implementing this into KoboCloud who be too time consuming for me to warrant the effort. (As I just use OwnCloud myself)