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

[not a bug] couple of question #418

Open
JunkyardCat opened this issue Mar 9, 2022 · 5 comments
Open

[not a bug] couple of question #418

JunkyardCat opened this issue Mar 9, 2022 · 5 comments

Comments

@JunkyardCat
Copy link

im using debian 11

  1. will you guys update the repo used in debian to 0.11.x? currently its still at 0.10.2
  2. using the tutorial as an example to move my encrypted file can i just copy the basedir and mountdir to my portable hdd?
  3. can this work well with jellyfin or kodi?
  4. if 0.11 will become available in the future to debian do i need to reencrypt my file again?
@smessmer
Copy link
Member

Hi, thanks for reaching out.

  1. David Steele is the maintainer for the Debian package. An upgrade to 0.11 is in the works but it will likely not be backported to older versions of Debian.
  2. Make sure the filesystem is unmounted before copying, but yes that should work. You only have to copy the basedir, the mountdir should be empty when it is unmounted.
  3. I don't know what jellyfin or Kodi are
  4. 0.10 and 0.11 use the same file system format but 0.11 supports an additional encryption cipher and uses that cipher if you choose the default settings in the file system creation dialog. As long as you're not using that cipher, you can freely move filesystems between 0.10 and 0.11.

@JunkyardCat
Copy link
Author

are there plans to further improve windows so it will be out of experimental status?

@smessmer
Copy link
Member

Eventually yes but I'm not actively working on Windows at the moment. But when I have time, I am fixing bugs that are reported, so if you notice a bug on Windows, please file an issue here in the repository.

@JunkyardCat
Copy link
Author

is there a way to pause cryfs while in the middle of encrypting loads of data
I want to be able to pause and shutdown (lock or do whatever necessary) if ever it is still encrypting my data or i have my data mounted/unencrypted when my power source switches to my UPS/APC in case of power failure

@smessmer
Copy link
Member

smessmer commented May 2, 2022

The only thing you can do is unmount it. Unmounting should be pretty quick. There is a flag in cryfs-unmount that tells it to unmount immediately and not wait until the last process stopped using it (which would otherwise be these default behavior). This is safe from a file system consistency point of view, but it would mean that any further writes by such a process will likely fail or maybe get written to the empty mount directory where no file system is mounted anymore. This is for Linux though, I'm not sure if that flag works on Windows.

Note that after unmounting cryfs, you want to make sure that the underlying file system also syncs the ciphertext blocks to disk, there is a cache usually. For this, the "sync" cli command or syscsll should work.

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

2 participants