23
submitted 1 year ago by GregorTacTac@lemm.ee to c/linux@lemmy.ml

I installed endeavourOS 2 days ago and then, the next day, there was a newnrelease of endeavourOS. It's supposed to have better encryption. Is it possible to upgrade encryption on Linux? An unrelated question: is it possible to change the password of an encrypted partition? I'm a beginner, so please explain your magical commands.

you are viewing a single comment's thread
view the rest of the comments
[-] d3Xt3r@lemmy.nz 1 points 1 year ago* (last edited 1 year ago)

If you're a beginner then don't worry about the encryption. Unless you're hiding from some three-letter agency or being targeted by hackers or something, LUKS1 encryption is more than good enough (for an average home user).

But just so you're aware, whilst it's trivial to convert to LUKS2 using cryptsetup convert, you'll need to first switch your bootloader to systemd-boot from GRUB, and that may not be a trivial process as there're multiple variables involved - is your ESP big enough, have you mounted your ESP to /boot, whether you're using secure boot or not, whether you're dual-booting or not etc. Plus you'll also need to manually create a bootloader config file that's specific to your system, and maybe even add a line to load a CPU microcode file if you're on Intel... there's a lot of things to consider here.

Honestly, I wouldn't recommend EndeavorOS to you as a newbie, because it's basically Arch, but by making the installation easy, you're skipping all the knowledge you'd get of your system and how it works. And when it comes to situations like you're in, you reach a roadblock because you took the easy path.

If you're really interested in Arch then I'd recommend wiping your system and install Arch manually, the Arch way.

[-] 0v0@sopuli.xyz 5 points 1 year ago

GRUB works just fine with LUKS2 these days. There is no need to switch bootloaders.

[-] d3Xt3r@lemmy.nz 2 points 1 year ago* (last edited 1 year ago)

Apparently there's still some limitations, according to the Arch Wiki:

  • Initial LUKS2 support was added to GRUB 2.06, but with several limitations that are only partially addressed in GRUB 2.12rc1. See GRUB bug #55093.

  • Since GRUB 2.12rc1, grub-install can create a core image to unlock LUKS2. However, it only supports PBKDF2, not Argon2.

  • Argon2id (cryptsetup default) and Argon2i PBKDFs are not supported (GRUB bug #59409), only PBKDF2 is.

[-] 0v0@sopuli.xyz 4 points 1 year ago

Argon2id (cryptsetup default) and Argon2i PBKDFs are not supported (GRUB bug #59409), only PBKDF2 is.

There is this patch, although I have not tested it myself. There is always cryptsetup luksAddKey --pbkdf pbkdf2.

[-] d3Xt3r@lemmy.nz 4 points 1 year ago

That patch looks promising. But I wouldn't recommend PBKDF2, I mean if you're going to go thru the trouble of converting to LUKS2 for stronger encryption, might as well go for Argon2.

[-] skullgiver@popplesburger.hilciferous.nl 1 points 1 year ago* (last edited 11 months ago)

[This comment has been deleted by an automated system]

load more comments (3 replies)
this post was submitted on 22 Nov 2023
23 points (92.6% liked)

Linux

48236 readers
640 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS