Relocating a vault #31

Open
opened 2024-09-19 06:41:02 +02:00 by srapzr · 13 comments

I got it that DroidFS use a whole folder as vault file system (I am not a developer).

If for example I set a folder like emulate/0/Secure as main folder for vaults, DroidFS call the first vault "Secure".

Instead I just want set a destination folder for all my vaults (currents and future) and deciding at the vault creation how to name them. In the case I choose CryFS cypher.

Currently it is not allowed.

I got it that DroidFS use a whole folder as vault file system (I am not a developer). If for example I set a folder like emulate/0/Secure as main folder for vaults, DroidFS call the first vault "Secure". Instead I just want set a destination folder for all my vaults (currents and future) and deciding at the vault creation how to name them. In the case I choose CryFS cypher. Currently it is not allowed.

DroidFS is just a port of gocryptfs and CryFS for Android. What you describe is not how gocryptfs or CryFS work.

Instead, just create a base directory such as /sdcard/Vaults, and create any volumes you want inside it with DroidFS.

DroidFS is just a port of gocryptfs and CryFS for Android. What you describe is not how gocryptfs or CryFS work. Instead, just create a base directory such as `/sdcard/Vaults`, and create any volumes you want inside it with DroidFS.
Author

And why I cannot do the same in emulate/0/Secure?

Sorry for my ignorance in this discipline.

And why I cannot do the same in emulate/0/Secure? Sorry for my ignorance in this discipline.

You can of course, but the actual path should be /storage/emulated/0/Secure.

You can of course, but the actual path should be `/storage/emulated/0/Secure`.
Author

Mmm if I create a vault within /Secure DroidFS generates one file and one folder.

So I had to create another sub-folder like /Secure/CryFS/vault-name.

I didnt understand where I wrong.

Mmm if I create a vault within /Secure DroidFS generates one file and one folder. So I had to create another sub-folder like /Secure/CryFS/vault-name. I didnt understand where I wrong.

Create your base folder first, then use DroidFS to select subfolders inside it for each of your vaults.

Create your base folder first, then use DroidFS to select subfolders inside it for each of your vaults.
Author

To see if I properly understand you:

  1. Manually I create the primary folder with (i.e.) a file manager (Anemo doesn't allow DroidFS writing permissions) in a writable directory.

  2. Create a vault with DroidFS app.

At this point I see (in /Secure/CryFS) one .bin file and a folder, not a vault folder.

Have I manually create it?

For example /Secure/CryFS/Moon for the Moon vault and /Secure/CryFS/Mars for the Mars one?

To see if I properly understand you: 1. Manually I create the primary folder with (i.e.) a file manager (Anemo doesn't allow DroidFS writing permissions) in a writable directory. 2. Create a vault with DroidFS app. At this point I see (in /Secure/CryFS) one .bin file and a folder, not a vault folder. Have I manually create it? For example /Secure/CryFS/Moon for the Moon vault and /Secure/CryFS/Mars for the Mars one?

Yes you have to manually create vault subfolders.

Yes you have to manually create vault subfolders.
Author

It lacks "Open an existing volume" button.
I haven't to create a new volume, just I moved an already existent one from A to B.

Now that it is in a new location, just I have to say to DroidFS where it is ---> Open...

It lacks "Open an existing volume" button. I haven't to create a new volume, just I moved an already existent one from A to B. Now that it is in a new location, just I have to say to DroidFS where it is ---> Open...

If the button text stays to "Create volume" then it probably means you've selected the wrong path.

If the button text stays to "Create volume" then it probably means you've selected the wrong path.
Author

I found the issue. Anemo doesn't allow writing permission even if you give it. Because Anemo create a new volume different from emulate/0/ etc.

https://f-droid.org/packages/exe.bbllw8.anemo/

In regular paths DroidFS works properly.

Could you add paths created by Anemo?

I found the issue. Anemo doesn't allow writing permission even if you give it. Because Anemo create a new volume different from emulate/0/ etc. https://f-droid.org/packages/exe.bbllw8.anemo/ In regular paths DroidFS works properly. Could you add paths created by Anemo?

Anemo uses its own private storage. Other apps can't access them by direct file access. They must use the ContentProvider API, which is not supported by DroidFS. See #6 for more info.

Anemo uses its own private storage. Other apps can't access them by direct file access. They must use the ContentProvider API, which is not supported by DroidFS. See [#6](https://github.com/hardcore-sushi/DroidFS/issues/6) for more info.
Author

KeepassDX can reading/writing on Anemo created path.

https://apt.izzysoft.de/fdroid/index/apk/com.kunzisoft.keepass.free

I have a Keepass vault in Anemo volume.

KeepassDX can reading/writing on Anemo created path. https://apt.izzysoft.de/fdroid/index/apk/com.kunzisoft.keepass.free I have a Keepass vault in Anemo volume.

Of course, KeepassDX does support the ContentProvider API as it's 100% native Android code, unlike DroidFS.

Of course, KeepassDX does support the ContentProvider API as it's 100% native Android code, unlike DroidFS.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hardcoresushi/DroidFS#31
No description provided.