Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.devel.testing > #1415

Re: defaults for cryptsetup

From Bhasker C V <bhasker@unixindia.com>
Newsgroups linux.debian.devel.testing
Subject Re: defaults for cryptsetup
Date 2024-05-06 14:00 +0200
Message-ID <IB5aF-btvB-9@gated-at.bofh.it> (permalink)
References <IA6s9-aRwK-1@gated-at.bofh.it> <IB5aF-btvB-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Thanks
i resorted to writing a wrapper which is for now useful for me until i get
a chance to re-create those new dm-plain crypt devices

On Sun, May 5, 2024 at 7:34 AM Paul Wise <pabs@debian.org> wrote:

> On Fri, 2024-05-03 at 20:01 +0100, Bhasker C V wrote:
>
> > 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
>
> There are a few options for this:
>
> Create a new device using the new defaults, copy the data over and
> continue with the new defaults.
>
> Switch to a new device using LUKS, which stores the encryption type in
> a header that is stored on the disk, so you don't have to specify it.
>
> Store the settings in /etc/crypttab and rely on the default systemd
> crypttab conversion scripts starting and mounting the device.
> The crypttab manual page documents how to do this.
>
> Create a script containing the desired values and run it to setup
> devices instead of plain cryptsetup commands.
>
> Create the same using manually created systemd unit files.
>
> --
> bye,
> pabs
>
> https://wiki.debian.org/PaulWise
>

Back to linux.debian.devel.testing | Previous | NextPrevious in thread | Find similar


Thread

defaults for cryptsetup Bhasker C V <bhasker@unixindia.com> - 2024-05-03 21:10 +0200
  Re: defaults for cryptsetup Bhasker C V <bhasker@unixindia.com> - 2024-05-06 14:00 +0200

csiph-web