cryptsetup reencrypt --hash sha512 /dev/sdx
This works but it will re-encrypt the entire device.
On Tue, Apr 21, 2020 at 1:30 PM Sreyan Chakravarty
wrote:
> Is it possible to re-encrypt a partition with the
>
> cryptsetup reencrypt
>
> command, to use the SHA-512 hash ?
>
> Currently, my
Is it possible to re-encrypt a partition with the
cryptsetup reencrypt
command, to use the SHA-512 hash ?
Currently, my partition uses SHA-256, so I want to reencrypt without losing
any data. I have heard that the cryptsetup reencrypt does online
re-encryption, but the man page is not clear