View previous topic :: View next topic |
Author |
Message |
nilreM n00b
Joined: 22 Nov 2007 Posts: 23 Location: Voronezh
|
Posted: Wed Oct 09, 2024 12:27 pm Post subject: Can't use bcachefs with internal encryption |
|
|
I want to change my very custom structure with dm-crypt, bcache and LVM into bcachefs-based, much simpler (from the operational structure). I plan to go into that all the way when the LTS kernel appears that has bcachefs merged, but for now I just have unmasked 6.11.2.
It works, but I can't use encryption. I created a filesystem with encryption supported but no master key, and want to change a passphrase, but I see `scrypt error: -1`:[/code]
Code: |
# bcachefs set-passphrase /dev/merlin_laptop/bcfs
Enter new passphrase:
Enter same passphrase again:
scrypt error: -1
|
What does that mean? Have I just not merged something? Have I missed something in the kernel? How to fix? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5298 Location: Bavaria
|
|
Back to top |
|
|
nilreM n00b
Joined: 22 Nov 2007 Posts: 23 Location: Voronezh
|
Posted: Wed Oct 09, 2024 1:29 pm Post subject: |
|
|
Yes, I have shown that I am using the program "bcachefs" which is provided by that package. It is what throws the scrypt error. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5298 Location: Bavaria
|
|
Back to top |
|
|
nilreM n00b
Joined: 22 Nov 2007 Posts: 23 Location: Voronezh
|
Posted: Wed Oct 09, 2024 6:39 pm Post subject: |
|
|
That error (requested key not available) I’ve seen in my other attempts. Well, although that’s not my case, it may be related.
OK, now at least I have something useful to read and, hopefully… Thank you. |
|
Back to top |
|
|
|