defaults for cryptsetup

Bhasker C V <[email protected]> Fri, 3 May 2024 20:01:49 +0100
Newsgroups gmane.linux.debian.user.testing
Message-ID <CAPLCSGAi7rbX-Z-JguTg-FRY2qYm8uomBitooka8n=mh+pL2GA@mail.gmail.com>
Hi all

>From cryptsetup 2:2.6.1-4~deb12u2  to 2:2.7.2-2  (on trixie) the defaults
for cipher and hash have changed.
I have used the previous version and it is difficult to type cypher and
hash every time a dm-plain device is opened
Is there a way to setup defaults in a config file - the only other option
is to fall back to cryptsetup 2.6.1 to continue using my encrypted devices
rather than typing out

aes-cbc-essiv:sha256 or ripemd160

every time.

Thanks