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

Feature/#98 change vault init #99

Merged
merged 11 commits into from
Mar 16, 2021
Merged

Conversation

infeo
Copy link
Member

@infeo infeo commented Mar 12, 2021

Closes #98

Implemented Solution

With this PR, the content root of a vault will be exclusivley created during the vault initialization, i.e. in the static CryptoFileSystemProvider.initialize(Path vaultPath) method and never implicitily during CryptoFileSystem(Impl) creation.

Additionally, when creating a new CryptoFileSystem in the CryptoFileSystems class, the existence of the vault content root is checked before the the filesystem is actually constructed and an IOException raised, if the check fails.

@infeo infeo changed the base branch from develop to release/2.0.0 March 12, 2021 14:33
@infeo infeo added this to the 2.0.0 milestone Mar 12, 2021
@infeo infeo merged commit d5772f1 into release/2.0.0 Mar 16, 2021
@infeo infeo deleted the feature/#98-change-vault-init branch March 16, 2021 08:06
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

Successfully merging this pull request may close these issues.

Exclusively create encrypted file system root at vault initialization
2 participants