cryptomator / ios

Cryptomator for iOS
https://cryptomator.org
GNU General Public License v3.0
219 stars 28 forks source link

Add Proton Drive support #349

Open traktuner opened 8 months ago

traktuner commented 8 months ago

Please agree to the following

Summary

Proton Drive not selectable in iOS files app

System Setup

Cloud Type

Other File Provider

Steps to Reproduce

  1. In the iOS files app, select Proton Drive to be available in the list of file provider
  2. Open Cryptomator and add an existing vault
  3. Select other file provider
  4. Proton Drive is shown in the Files app but can not be selected

Expected Behavior

Select Proton Drive in the Files app and slelect existing vault

Actual Behavior

Proton Drive can not be chosen as a file provicer in Cryptomator

Reproducibility

Always

Relevant Log Output

No response

Anything else?

No response

tobihagemann commented 7 months ago

What you're reporting is not actually a bug, see here: https://docs.cryptomator.org/en/latest/ios/cloud-management/

Basically, Proton Drive has to support an undocumented feature, which probably will never happen.

I've changed this issue to a feature request, because we would have to add Proton Drive support explicitly (as with many other cloud storage services).

As far as I know, they don't have a public API (see this poll), but their API could be reverse-engineered from their repository: https://github.com/ProtonDriveApps/ios-drive

Seems to be a lot of work though, especially without proper documentation. And not sure if this would even work, because there is no way to register our own application at their authentication service.

traktuner commented 7 months ago

@tobihagemann Thanks for the clarification! If Proton ever releases an official API, would it then be possible to add Proton Drive support to Cryptomator iOS? Like it's done with Dropbox, Google Drive, etc Thank you!

tobihagemann commented 7 months ago

It would be possible, yes. Our cloud storage service implementations can be found here: https://github.com/cryptomator/cloud-access-swift

I'll be honest, it also totally depends on our roadmap if we have the capacity to implement new services. E.g., we're currently adding support for Box.