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

Automatically create mount directory with generated directory name #40

Open
Tracked by #62
teohhanhui opened this issue Apr 20, 2022 · 2 comments · May be fixed by #77
Open
Tracked by #62

Automatically create mount directory with generated directory name #40

teohhanhui opened this issue Apr 20, 2022 · 2 comments · May be fixed by #77
Labels
enhancement New feature or request

Comments

@teohhanhui
Copy link

Is your feature request related to a problem? Please describe.
I'd like to be able to mount multiple different encrypted directories without having to keep empty mount directories around.

Describe the solution you'd like
Select a parent directory where mount directories would be automatically created with (partially random?) generated directory names.

Additional context
e.g. I choose the parent directory /run/media/teohhanhui, and Vaults would generate /run/media/teohhanhui/Vaults-{uuid}

@teohhanhui
Copy link
Author

An idea inspired by https://stackoverflow.com/a/15395191/1529493:

Generate the uuidv5 for the Vaults namespace:

teohhanhui@envy-x360:~> uuidgen --sha1 --namespace '00000000-0000-0000-0000-000000000000' --name io.github.mpobaschnig.Vaults
63602166-834c-5bac-bb94-e66c51adb6ec

Generate the uuidv5 for the encrypted directory's path:

teohhanhui@envy-x360:~> uuidgen --sha1 --namespace '63602166-834c-5bac-bb94-e66c51adb6ec' --name '/run/media/teohhanhui/Transcend TS2TSJ25H3B/Backups/2FA recovery codes'
e29c7abe-420d-572d-b17a-d880eb750d8d

@mpobaschnig
Copy link
Owner

This would be a good condidate as part of #54.

@mpobaschnig mpobaschnig added the enhancement New feature or request label May 7, 2023
@mpobaschnig mpobaschnig mentioned this issue Jul 20, 2023
7 tasks
@mpobaschnig mpobaschnig linked a pull request Jan 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants