Why aren't you just attaching an SSH key or two to your user identity? When you authenticate with that key you get access to any repository that your user can access. You shouldn't be adding a key per repository. That's meant for automations and deployments really.
I only need a single SSH key, and it works across organisations as well across repositories.
The purpose of the hardened set of patches, and tools like AppArmor and SELinux, is not about the known issues but dealing more effectively with the unknown ones.
While they can make it harder for some attacks, really they should make it harder for someone who has gained unauthorised access to a system to elevate their privileges, sometimes even using known security vulnerabilities, or access resources they shouldn't normally have access to, even when all other permissions would allow it.
Nonetheless, it's not a solution in and of itself, but a component in a defense in depth strategy.
I run linux-hardened as mine is mostly a laptop just for browsing, coding, and occationlly watching videos. I run it with apparmor, encrypted disks, signed kernels, hardware keys, etc., so it all just fits in with general hardening of my systems. I've never had any major issues with it, and it's nice to have that additional layer of protection and control.
Same here. TBF I've never noticed a difference between mainline, LTS, and hardened. If there is a significant performance differences, it's not that big, or on a reasonably obscure or lightly used path.
I've been using the hardened on servers and desktops for about 3 years now, and I'm quite happy with it. Laptop is certainly performant enough for me and my work, but I don't game, so I can't advise on that aspect.
It is very much a personal preference. I know people who are still happy with using Gnome Terminal. ๐ For me, I tried Kitty but never really gelled with it. I'm a big tmux user, so in the end Alacritty won out and I've been using that for quite a few years now. There's the odd bug along the way, but I'm totally happy with it.
I've been using Arch Linux myself for about 9 or so years now on my personal machines. I followed up a month or two later with rebuilding my work desktops and laptops with Arch. But alas, I was 29 back then! Before that was Ubuntu for a year, Gentoo for probably 8 years, and a little Red Hat and Fedora before that.
I was 18 when I started with Linux, now 21 years ago... lol. A store-bought copy of Red Hat 6 (the first generation, not Enterprise or Fedora) kicked me off, which I bought instead of Windows 2000. However, I ended up spending my first year or two tinkering and building systems using the LinuxFromScratch book. A great way to learn the underlying components, how to build them, and how to configure and compile a kernel! But Arch is definitely the best now for customisation, stability, and support.
I've noticed a few quirks myself. The behaviours when you change the sub-type of a device (like from Duplex to Output only, or HDMI1 to HDMI2), then you tend to lose the audio as it switches to the next available device during the disconnection and doesn't switch back.
Waybar seems to be a bit slow to pick it up on launch. I'm not sure if this is a change in how the API starts up in comparison to the old one. Once I click on the module it updates, but it starts blank.
I've been running BTRFS as the root partition on my personal laptop for about 13 months now, and on my work laptop for about 8 months. Reliable enough, quick enough, and as I need to run Sophos on the work laptop, it hooks into that fine too. Works quite well with snapper too, especially with the pacman hook.
The only issue for me really was the swap partition - you have to have that on a different partition practically. It is supported on BTRFS now, but it's awkward as you need to manage offsets on the kernel for hibernation and copy-on-write settings for the subvolume IIRC. In the end I didn't do it that way. Even more of a pain as I have the swap encrypted and I didn't want to use LVM too, so I ended up with two separate encrypted partitons (but he initramfs for cryptsetup helps with that quite nicely without having to enter two passwords each time).
I've have plenty of crashes, kernel faults, running out of the battery both in use and sleeping, and forced power offs. No issues at all with BTRFS.
I'm probably in be minority, but it doesn't bother me really - I use Jenkins to automatically build packages on changes and upload them to a private repo for me and a group of friends. There are a few which update every day, or every few days and that's fine.
Either you've automated it, in which case it doesn't matter, or you just upgrade the package when you need to, in which case it doesn't really matter for me either. No-one forces anyone to always update it every time you release an update.
That being said, sometimes the -git version is better, but the amount of people that flag them as "out of date" when they're not is annoying. They don't realise the version gets automatically updated at build time, not release time, even when I have flagged comments that say just that. You can't win either way!
It takes me longer to enter my pass phrase to decrypt the partition than it takes to then boot to the login screen. btrfs is more than fast enough for every day needs!
It becomes a bit more important with encrypted systems if you want to try and use hibernation. You can do file-based swap for ext4 and xfs, but performance is not as good. btrfs is way more challenging due to the offset (IIRC) but does give you the snapshot support available to LVM. TBF I am using btrfs and now LVM but I don't really care for hibernation right now.
LVM gives you a single encrypted container in which you can create both root and swap volumes independently which works well with the resume process. And of course snapshots are a useful extra! ๐
They're included as a section within the EFI stub image. objcopy handles that for me. Just means you cannot change them on booting; having different kernels helps if I have an issue with one image, and of there are other problems I boot via the USB image.
I completely bypassed any bootloader on my system. I did try with signed Grub at one point, plus some variations around signed shims, but that was just a management pita with so many files. It never did seem to work properly. Today I just build the EFI stub version of the kernel, initramfs, and configuration external to the EFI partition, sign them with custom keys, then copy them across.
My laptop then has a number of entries for mainline, rc, lts, and hardened (default) kernels via UEFI, which I select when needed. Been working quite successfully for four months now. ๐
Why aren't you just attaching an SSH key or two to your user identity? When you authenticate with that key you get access to any repository that your user can access. You shouldn't be adding a key per repository. That's meant for automations and deployments really.
I only need a single SSH key, and it works across organisations as well across repositories.
The purpose of the hardened set of patches, and tools like AppArmor and SELinux, is not about the known issues but dealing more effectively with the unknown ones.
While they can make it harder for some attacks, really they should make it harder for someone who has gained unauthorised access to a system to elevate their privileges, sometimes even using known security vulnerabilities, or access resources they shouldn't normally have access to, even when all other permissions would allow it.
Nonetheless, it's not a solution in and of itself, but a component in a defense in depth strategy.
I run linux-hardened as mine is mostly a laptop just for browsing, coding, and occationlly watching videos. I run it with apparmor, encrypted disks, signed kernels, hardware keys, etc., so it all just fits in with general hardening of my systems. I've never had any major issues with it, and it's nice to have that additional layer of protection and control.
Same here. TBF I've never noticed a difference between mainline, LTS, and hardened. If there is a significant performance differences, it's not that big, or on a reasonably obscure or lightly used path.
I've been using the hardened on servers and desktops for about 3 years now, and I'm quite happy with it. Laptop is certainly performant enough for me and my work, but I don't game, so I can't advise on that aspect.
It is very much a personal preference. I know people who are still happy with using Gnome Terminal. ๐ For me, I tried Kitty but never really gelled with it. I'm a big tmux user, so in the end Alacritty won out and I've been using that for quite a few years now. There's the odd bug along the way, but I'm totally happy with it.
The release with this is out. I've updated my config and I can click on links now ๐
I've been using Arch Linux myself for about 9 or so years now on my personal machines. I followed up a month or two later with rebuilding my work desktops and laptops with Arch. But alas, I was 29 back then! Before that was Ubuntu for a year, Gentoo for probably 8 years, and a little Red Hat and Fedora before that.
I was 18 when I started with Linux, now 21 years ago... lol. A store-bought copy of Red Hat 6 (the first generation, not Enterprise or Fedora) kicked me off, which I bought instead of Windows 2000. However, I ended up spending my first year or two tinkering and building systems using the LinuxFromScratch book. A great way to learn the underlying components, how to build them, and how to configure and compile a kernel! But Arch is definitely the best now for customisation, stability, and support.
I've noticed a few quirks myself. The behaviours when you change the sub-type of a device (like from Duplex to Output only, or HDMI1 to HDMI2), then you tend to lose the audio as it switches to the next available device during the disconnection and doesn't switch back.
Waybar seems to be a bit slow to pick it up on launch. I'm not sure if this is a change in how the API starts up in comparison to the old one. Once I click on the module it updates, but it starts blank.
Apps in the main seem OK with it otherwise.
Jenkins! ๐
I've been running BTRFS as the root partition on my personal laptop for about 13 months now, and on my work laptop for about 8 months. Reliable enough, quick enough, and as I need to run Sophos on the work laptop, it hooks into that fine too. Works quite well with snapper too, especially with the pacman hook.
The only issue for me really was the swap partition - you have to have that on a different partition practically. It is supported on BTRFS now, but it's awkward as you need to manage offsets on the kernel for hibernation and copy-on-write settings for the subvolume IIRC. In the end I didn't do it that way. Even more of a pain as I have the swap encrypted and I didn't want to use LVM too, so I ended up with two separate encrypted partitons (but he initramfs for cryptsetup helps with that quite nicely without having to enter two passwords each time).
I've have plenty of crashes, kernel faults, running out of the battery both in use and sleeping, and forced power offs. No issues at all with BTRFS.
I'm probably in be minority, but it doesn't bother me really - I use Jenkins to automatically build packages on changes and upload them to a private repo for me and a group of friends. There are a few which update every day, or every few days and that's fine.
Either you've automated it, in which case it doesn't matter, or you just upgrade the package when you need to, in which case it doesn't really matter for me either. No-one forces anyone to always update it every time you release an update.
That being said, sometimes the -git version is better, but the amount of people that flag them as "out of date" when they're not is annoying. They don't realise the version gets automatically updated at build time, not release time, even when I have flagged comments that say just that. You can't win either way!
It takes me longer to enter my pass phrase to decrypt the partition than it takes to then boot to the login screen. btrfs is more than fast enough for every day needs!
It becomes a bit more important with encrypted systems if you want to try and use hibernation. You can do file-based swap for ext4 and xfs, but performance is not as good. btrfs is way more challenging due to the offset (IIRC) but does give you the snapshot support available to LVM. TBF I am using btrfs and now LVM but I don't really care for hibernation right now.
LVM gives you a single encrypted container in which you can create both root and swap volumes independently which works well with the resume process. And of course snapshots are a useful extra! ๐
They're included as a section within the EFI stub image. objcopy handles that for me. Just means you cannot change them on booting; having different kernels helps if I have an issue with one image, and of there are other problems I boot via the USB image.
I completely bypassed any bootloader on my system. I did try with signed Grub at one point, plus some variations around signed shims, but that was just a management pita with so many files. It never did seem to work properly. Today I just build the EFI stub version of the kernel, initramfs, and configuration external to the EFI partition, sign them with custom keys, then copy them across.
My laptop then has a number of entries for mainline, rc, lts, and hardened (default) kernels via UEFI, which I select when needed. Been working quite successfully for four months now. ๐
End of this list.
Back to top