Skip to content

u/Hafnon

In this archive from May 2018 to Jul 2023

0
posts
24
comments
0
media
101
score

You can use a pin with the TPM. If the TPM is implemented correctly, (i.e. no bugs in firmware), then the TPM should only release the key if the pin is correct. The TPM can also be configured to allow only a certain amount of attempts in a period of time. For my setup, I have 3 incorrect tries before a 24-hour cooldown is enforced.

With LUKS you can enrol into several keyslots, so it's worth also using a recovery key that you keep safe for emergency use.

1 points

I've had something similar with a USB-C dock connected to power and ethernet, but when unconnected to the laptop. Somehow some power-saving feature kicks in and the dock starts sending out ethernet Pause frames, which my switch forwards (it's not meant to), and that brings down the network.

3 points

Sadly TRIM cannot yet be used with AEAD modes offered by dm-crypt. So if you're concerned about authenticity then you can't use TRIM (encryption only provides confidentiality).

That being said, the only AEAD modes offered by dm-crypt feature nonce sizes up to 96 bits (with the aegis256-random cipher) which may be considered unsafe anyway, so it might be better to handle integrity at the fs layer (such as with BTRFS' full data checksumming with the blake2 hash) and keep using non-authenticated encryption.

1 points

I went through this. You are better off using the native convolver recently merged into the latest version of Pipewire available on Arch already. The Pipewire wiki has not been updated with the new instructions, but you can take a look at https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/src/daemon/filter-chain/sink-virtual-surround-7.1-hesuvi.conf for an example of using Hesuvi HRIRs.

1 points

So I removed the rd.luks.name and root from my cmdline but kept the rd.luks.options=fido2-device=auto since I use YubiKey unlock but it prompted me for one of my other text keyslots. So looks like I can't make use of discoverable partitions just yet.

1 points

I was interested in the discoverable partitions you mentioned since it was the first time I'd heard of it, hoping it would reduce the amount of configuration, but sadly it appears that there isn't a way to easily specify mount options such as btrfs compression (https://github.com/systemd/systemd/issues/18035). So I will stick to the cmdline options and /etc/fstab configuration for now.

Also thanks for mentioning the bgrt_disable option, that fixes one of the minor annoyances I had with using a splash screen.

3 points

End of this list.

Back to top

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.