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

Default path for encrypted data: Vault name is appended to folder name instead of creating a sub-directory #29

Closed
jfsen opened this issue Jan 5, 2022 · 1 comment

Comments

@jfsen
Copy link

jfsen commented Jan 5, 2022

Steps to reproduce:

  1. Go to preferences and set the default path for encrypted data directory e.g. ~/.vaults
  2. Create a new vault e.g. example

Current behavior

The encrypted data directory of the new vault is set as ~/.vaultsexample

Expected behavior

The encrypted data directory of the new vault should be set as ~/.vaults/example

Version information

  • Application: 0.2.1 (Flatpak)
  • Distribution: EndeavourOS with GNOME 41.1

Additional information

This way it would be easier to distinguish these folders when working with many vaults.

@jfsen
Copy link
Author

jfsen commented Jan 6, 2022

Nevermind. A trailing / or lack thereof made the difference...

@jfsen jfsen closed this as completed Jan 6, 2022
mpobaschnig added a commit that referenced this issue Jan 6, 2022
When setting a preferences path that does no trailing slash, the folder name is
just appended to the preferences path. Now, check if a trailing slash
exists and if not, append one.

Relates: #29
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

1 participant