Skip to content

u/GiveMeAnAlgorithm

In this archive from Aug 2018 to Nov 2022

9
posts
49
comments
5
media
1.1k
score

It sounds like there's some additional thing that needs to be regenerated if your password leaks out.

Yes, you're correct, this is the case :)

The disk isn't encrypted by your password, but by a key. The key can only be retrieved with the correct password.

Password1    Password2    Password3
        |        /         /
        |     /        /
        |   /       /
        |  /    /
        V V     V
       Encryption  Key

This allows having multiple passwords, since encryption only works with exactly one key.

Changing your password means the old password can no longer be used to retrieve the key, it does however not mean that the key itself has changed.

If the key is leaked at some point (e.g. by an old backup and known password) it can be used to decrypt the hard drive.

If you want to change the key (not sure if this is supported by LUKS) you would need to decrypt and reencrypt the entire hard drive. That is: for each block on the disk, decrypt it using the old key and encrypt it with the new one. This makes changing password a massive pain, and again encryption only supports one key. So that's why there is an "intermediate layer"

I hope that makes sense, still a bit early in the morning lol :)

2 points

I've been running Arch on a XPS13 7390 2-in-1 for a little bit more than a year now. Initially there were problems, because the touch driver wasn't fully available, but this had been fixed shortly after I got mine and it's been working fine ever since. Webcam and fingerprint drivers still aren't available, you might want to choose a Linux Edition Notebook, they will work there I think...

I use my notebook in combination with xournalpp to take notes or annotate PDFs and it's absolutely fine. Concerning power, I like to keep my system minimal, i.e. there's "no big DE" like KDE running, but only i3 and I think I get ~ 8-10h battery life, depends what you do obviously.

Both, the Ubuntu Wiki and the Arch wiki have a page dedicated to my model, see if they answer your questions :)

1 points

Hmm yes he would need to shrink either the ext4 or the ntfs partition and move them such that there is free space. Might take some time to copy the data around but it's pretty simple if you use gparted :)

1 points

You should be able to increase the boot partition using a live USB. Go for the arch live iso and use gdisk if you feel comfortable, or use any other distribution with a graphical interface and use gparted to adjust the partition as you need it :) Mine is ~500MB and I never had issues...

1 points

It's not my "ignorance" making me say that, it's your missing experience creating a misunderstanding, but I'll try to explain my point.

ArchLinux serves 11067 packages in the official repositories at the moment. There is constant development going on, which is why there's a lot of news in general and also there are some news marked as "requires manual intervention", which pretty much all of them are "--overwrite" issues.

Now let me explain:

1. "Where is manual intervention required?" The packages affected are usually not widely-used mainstream packages. Given the fact Arch serves thousands of libraries, these manual interventions actually happen very rarely or not at all and most of the time you're not even affected, since the library isn't installed anyway.

2. "Why is there a manual intervention required?" For example because a developer or package maintainer made mistakes. (Check the latest news: "The zn_poly package prior to version 0.9.2-2 was missing a soname link. This has been fixed in 0.9.2-2, so the upgrade will need to overwrite the untracked files created by ldconfig.")

Specifying the --overwrite flag, you acknowledge that pacman is going to overwrite the files you mention.

Note that at that point, other Distributions require manual intervention as well. (dpkg would show a dialog window and ask how to proceed, as it does for example for configuration files)

If you do a dist-upgrade in Ubuntu/Debian you get a lot of those questions. Because a lot changed and there are many questions. These are all manual interventions. On rolling release distros you get those questions spread over the year and not just "at one point", when you do a major upgrade.

Cheers.

2 points

I saw a lot of setups I like here, and my firefighter instincts kept telling me 'I'm surprised that's safe'

If you get a setup for 2000$ for your pleasure, you might want to get a smoke detector for 20$ for your life, too.

As others have mentionend, the smoke of the fire or extensive usage of a CO2 extinguisher might black you out and lead to inner suffocation.

So please, think of your emergency plan, before anything happens. If life was some service running on your setup, you would have a backup plan too.

6 points

Yes, definitely! :) For me, KDE provides so many useful applications, but it would be time consuming to pick all the required packages when installing, or maybe I'm just too lazy :P Also I guess the development modules I installed were required by projects from GitHub, etc., where I didn't get them in a virtual environment / via pip. Whoops :)

6 points

Hmm I looked at the list and saw:

  • A lot of KDE packages (actually I installed the entire suite)
  • Some GNOME packages
  • Lots of python-* / perl-* / ruby-* packages

Maybe I'd be able to remove some of those what seem to be manually installed dependencies, but then again I risk to break some script/worker/whatever and me finding out in 2 months, then spending a weekend on finding what caused the problems...

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.