[Bug 1867426] Re: ~/snap and fscrypt
nafallo@wendigo:~$ snap refresh signal-desktop 1.33.1 from Snapcrafters refreshed nafallo@wendigo:~$ fscrypt --version fscrypt version v0.2.7 nafallo@wendigo:~$ fscrypt status .|grep policy Options: padding:32 contents:AES_256_XTS filenames:AES_256_CTS policy_version:2 Confirmed working with newer fscrypt and v2 policies. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1867426] Re: ~/snap and fscrypt
Good point. I'm building a newer version of fscrypt in ppa:nafallo/magicalforest and will try to re-encrypt my home directory with a new policy. ** Changed in: fscrypt (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1867426] Re: ~/snap and fscrypt
In addition the new package FTBFS on Focal until a newer golang-golang-x -sys-dev have landed. The one currently sitting in focal-proposed works. In addition, there is a new upstream release of fscrypt, 0.2.7, that automatically configures v2 policies on new fscrypt setups on newer kernels. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1867426] Re: ~/snap and fscrypt
Unfortunately, policy v2 was introduced in newer version of fscrypt than currently available in focal [1]. I've had a similar issue to yours during snap refresh. I remember I had to logout the user and run something similar to sudo fscrypt purge "$(findmnt -n -o TARGET --target /home/)" --user sudo fscrypt unlock /home/ --user root sudo snap refresh from a second user which was NOT using home encryption. [1] https://github.com/google/fscrypt/releases/tag/v0.2.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1867426] Re: ~/snap and fscrypt
so that means snap refresh works with the unencrypted symlink, but not running the actual program from the snap. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1867426] Re: ~/snap and fscrypt
I worked around this issue by moving my snap directory to /home/$USER- snap and creating a symlink from /home/$USER/snap. Not the most pretty solution, but better than data loss. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1867426] Re: ~/snap and fscrypt
nafallo@wendigo:~$ signal-desktop cannot create user data directory: /home/nafallo/snap/signal-desktop/309: Not a directory that didn't work either... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1867426] Re: ~/snap and fscrypt
Still not working. "Required key not available (1)" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1867426] Re: ~/snap and fscrypt
Related issue: https://github.com/google/fscrypt/issues/182 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1867426] Re: ~/snap and fscrypt
I'm not sure I understand Go enough to provide a debdiff for this one. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1867426] Re: ~/snap and fscrypt
Related fix: https://github.com/google/fscrypt/pull/148 ** Bug watch added: github.com/google/fscrypt/issues #182 https://github.com/google/fscrypt/issues/182 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867426 Title: ~/snap and fscrypt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fscrypt/+bug/1867426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs