Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query local vault feature/status / Filen (cloud file store/share) integration (iOS) #329

Open
ldexterldesign opened this issue Dec 8, 2022 · 8 comments

Comments

@ldexterldesign
Copy link

ldexterldesign commented Dec 8, 2022

👋

Hope you're well

What's the status of local vaults, specifically on iOS - I see there's some beta-type status..?:

IMG_0279

Since Boxcryptor just sold to Dropbox, I feel like I just lost my Dropbox encryption so have migrated to Filen

I installed the Filen app but there is, obviously, no Filen integration like Dropbox so I explored the local feature but it doesn't behave like I expected (i.e. show file browser so I can select a local vault)

Could someone suggest a method - or roadmap - for accessing/loading my Filen stored vault - would this require Filen↔BC integration, a Filen WebDAV solution or a new BC feature where users can store and access their vaults with any of the dozens of file share/store offerings?

Hope to hear back

Sincerely

@ldexterldesign ldexterldesign changed the title Query iOS local vault setup / Filen integration Query iOS local vault setup status / Filen integration Dec 8, 2022
@ldexterldesign ldexterldesign changed the title Query iOS local vault setup status / Filen integration Query iOS local vault setup / Filen integration Dec 8, 2022
@ldexterldesign ldexterldesign changed the title Query iOS local vault setup / Filen integration Query iOS local vault setup / Filen (cloud file store/share) integration Dec 8, 2022
@ldexterldesign ldexterldesign changed the title Query iOS local vault setup / Filen (cloud file store/share) integration Query (iOS) local vault feature/status / Filen (cloud file store/share) integration Dec 9, 2022
@ldexterldesign ldexterldesign changed the title Query (iOS) local vault feature/status / Filen (cloud file store/share) integration Query local vault feature/status / Filen (cloud file store/share) integration (iOS) Dec 9, 2022
@ldexterldesign
Copy link
Author

ldexterldesign commented Dec 9, 2022

Prior to the introduction of the Files app with iOS 11, every app had to bring its own file browser if it was going to enable file editing. With the proliferation and evolution of Apple’s own Files app, this is no longer necessary. Files are best managed and edited centrally from within it. By handing over file management to the Files app, we can now focus entirely on our core competency: Encrypting and decrypting your files. - https://www.boxcryptor.com/en/blog/post/everything-new-boxcryptor-for-ios

Relevant?

@PhilippMDoerner
Copy link

PhilippMDoerner commented Dec 25, 2022

Just for my understanding to see whether this is the same issue that I myself am facing:
This is a feature request for a sort of "import .bcub file" button that would allow one to choose a .bcup file that one may have copied through whatever means onto the device and now just wants to get into the application, is that correct?

I've been trying to wrap my head around whether buttercup-mobile is able to load the .bcub file in my Downloads folder on Android or not but can't seem to get to a fully satisfying answer. There's multiple issues stating that local files can be used, but that seems only to be the case for creating your own bcub files for the device, not for loading them from other folders. Meanwhile on the app itself when setting up a vault (passing by the same interface as you show) I can't see any GUI element that allows me to import or use this .bcup file.

@ldexterldesign
Copy link
Author

What you’ve described is my experience too

@perry-mitchell
Copy link
Member

Buttercup mobile supports local files, but only within the app's document directory: https://github.com/buttercup/buttercup-mobile/blob/master/source/library/datasource/LocalFileInterface.ts#L9

image

So for a vault to be visible to Buttercup it needs to be in the document folder for the app.

I'm not by any means an expert in local files on mobile, but at least on android you might create a temp directory via the app (like in my screenshot) and try to find that externally - drop your vault in there and you should be able to add it to the app just fine.

I'd accept a PR to improve this process, if there's some easier way to manage this. I'd also accept PRs to add support for the sharing system (at least on iOS) so the app can receive vault files and add them to the documents folder as mentioned above.

@hamusi
Copy link

hamusi commented Feb 3, 2023

Buttercup mobile supports local files, but only within the app's document directory: https://github.com/buttercup/buttercup-mobile/blob/master/source/library/datasource/LocalFileInterface.ts#L9

image

So for a vault to be visible to Buttercup it needs to be in the document folder for the app.

I'm not by any means an expert in local files on mobile, but at least on android you might create a temp directory via the app (like in my screenshot) and try to find that externally - drop your vault in there and you should be able to add it to the app just fine.

I'd accept a PR to improve this process, if there's some easier way to manage this. I'd also accept PRs to add support for the sharing system (at least on iOS) so the app can receive vault files and add them to the documents folder as mentioned above.

Unfortunatelly this is not possible I guess, because the application has rights to view only it's own files. So from 3rd party app there is no way to put a .bcup file into the Buttercup data directory.

Really some better approach needs to be used, for example ability to import a .bcup file from.

For example OpenVPN has it that way for importing configuration profile, but I guess it's native android app, so not much helpful hint.

Sadly buttercup is almost useless without this feature on iOS and Android.

@ldexterldesign
Copy link
Author

“Useless” is harsh but it would be nice not to have to rely on a Dropbox account to store the BCUP file

@ldexterldesign
Copy link
Author

ldexterldesign commented Feb 3, 2023

If anyone reading this discovers a workaround in iOS for this then I’m all ears else hopefully iOS improves this soon

I’m left feeling BC isn’t to blame here

Tangentially, a use case that has pissed me off for ages with iOS is inability to easily upload and play MP3s. I hasten to think this is a DRM issue with Apple, which may relate 😤..?

@softlazo
Copy link

I'm not by any means an expert in local files on
mobile, but at least on android you might create a temp directory via the app (like in my screenshot) and try to find that externally - drop your vault in there and you should be able to add it to the app just fine.

Really, me neither, I've been searching almost my entire directory system on android, even in root, and I can't seem to find this Buttercup storage anywhere. (I was almost going to go insane...) Anyone have a slight idea, or know in what directory Buttercup saves the .bcup file in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants