bcachefs-tools
bcachefs-tools copied to clipboard
Fix set-passphrase on --no_passphrase FS
This also fixes a bug where the set-passphrase command failed to derive the key for disks initially formatted with --encrypted and --no_passphrase, due to bch_sb_crypt_init not configuring the KDF params if the passphrase wasn't specified during formatting.
Tested-by: Jérôme Poulin [email protected]