Replies: 3 comments
|
Hello @Markoise and welcome to AeroFTP. I noticed that adding Proton Drive support to AeroFTP was already suggested before in https://www.reddit.com/r/cloudstorage/comments/1s9egl9/comment/odnufh8, so you might want to read what’s written there. With this in mind, now is a good opportunity to suggest to @axpnet an idea that has been on my mind for a while, which will nicely allow Proton Drive and other cloud drives to connect to AeroFTP. Proton Drive published its open-source CLI two months ago to the day. AeroFTP already allows connecting to MEGA via MEGAcmd, which, except for MEGAcmd’s WebDAV, Rclone can’t do. |
|
Thanks both, and welcome @Markoise.
That is the one piece that still does not exist, and @EhudKirsh is right about the state of play. Proton publishes no third-party Drive API. What they do publish is the Proton Drive SDK under MIT, and its README is explicit on two points: the SDK "is not yet ready for third-party production use", and authentication, session management and the user address provider are outside its scope. So even holding the SDK, a third-party client cannot log a user in today. The good news is that the same README now carries a commitment that was not there before: once the integration across Proton's own clients is stable and the new cryptographic model has landed, the SDK will be released for third-party use. Their current estimate for that window is end of 2026 or early 2027. To be clear about intent, since this comes up as a question rather than a plan: Proton Drive is a roadmap objective for us, not a maybe. It has had a dedicated design document since May 2026, and it carries a commitment we made before anyone asked in public, which is that we will not reverse engineer the Proton protocol. That is the same position Ehud describes, and we put it in writing to Proton support in May 2026: we want to integrate through official means, whenever official means exist. What has been missing so far is not the will, it is a sanctioned way in. Now to Ehud's suggestion, because it is the interesting part. Yes, and we are closer to it than the thread suggests: the pattern already exists in AeroFTP. Our MEGA provider is not a special case, it is a general shape. It implements the same We checked that properly against the actual CLI rather than in principle, and the coverage is good. Of the methods our storage trait requires, the Proton CLI covers essentially all of them: There are six real gaps, and they are worth stating plainly because they shape what such a tab can honestly promise:
One correction on the candidate list. Filen would not belong to that tab as things stand: our Filen provider is a native Rust implementation talking to the Filen API directly, and the only place we shell out is a small call for quota. So the tab would open with two members, MEGAcmd and Proton Drive, and grow from there. Also worth saying: we would not bundle the Proton CLI. The user installs the official binary themselves and signs in themselves, exactly as they do for MEGAcmd today. That keeps the requests coming from Proton's own client, honestly identified as such, with the session in the OS secret store and credentials never passing through us. The last piece is not technical. Proton's guidelines for personal and non-commercial projects are written about using the SDK, and we do not want to assume by ourselves that they extend cleanly to a third-party application automating the official CLI on a user's behalf. Their CLI announcement encourages use in scripts, cron jobs and pipelines, so orchestration looks like intended usage, but we would rather have their answer than our own reading of it. We are asking them on the support channel we already have open, before writing any code, and we will report their answer here whatever it is. If it is yes, this is buildable in a reasonable amount of work since the skeleton exists. If it is no, we wait for the SDK to reach general availability and integrate then. And credit where it is due. @EhudKirsh welcomes practically every newcomer who opens a thread here, and does it with the context and the links already gathered, which is why this one turned into a design discussion within a day of being opened rather than sitting as a feature request. Thanks for that, and thanks for pushing the idea one level up, from one provider to a category. That framing is the right one, and it is the part of this thread we will carry into the roadmap. |
|
I came across some interesting information by chance that I think might be relevant here. In https://account.protonvpn.com/account-password, I saw this:
The 'Learn more' hyperlink links to this URL: https://proton.me/support/switch-two-password-mode. I wonder if this is applicable here, to support Proton Drive and possibly other cloud drives that by default decrypt with the login password but might support having another password for that. |

Uh oh!
There was an error while loading. Please reload this page.
Would it also be possible to add ProtonDrive as cloud storage?
There should be an API for third-party providers.
All reactions