yubikey-full-disk-encryption VS sbupdate

Compare yubikey-full-disk-encryption vs sbupdate and see what are their differences.

sbupdate

Generate and sign kernel images for UEFI Secure Boot on Arch Linux (by andreyv)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
yubikey-full-disk-encryption sbupdate
16 9
775 223
- -
0.0 0.0
5 months ago 9 months ago
Shell Shell
Apache License 2.0 GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

yubikey-full-disk-encryption

Posts with mentions or reviews of yubikey-full-disk-encryption. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-13.
  • I have seen in a lot of posts here people say not to use Google Authentication for 2FA. Can someone simply explain why, and what should I use instead?
    2 projects | /r/Bitwarden | 13 Apr 2023
  • LUKS with Yubikey
    2 projects | /r/voidlinux | 8 Apr 2023
    Would using this be possible? https://github.com/agherzan/yubikey-full-disk-encryption/tree/master/src
  • Getting LUKS, Btrfs, Hibernation and Swap file working in tandem
    4 projects | news.ycombinator.com | 9 Mar 2023
    > Hibernate is less interesting, and apparently unsupported using secure boot anyway.

    That's not the case. I have a similar setup to yours (/ on ext4 with separate swap, on LVM on LUKS, separate /efi) and my box hibernates just fine with secure boot and auto-unlock via TPM.

    The difference with your setup is I don't use grub, but have the UEFI load a signed unified kernel image directly. Since this works so well, I never had a reason to mess around with yet another moving piece (grub or other bootloader).

    As another commenter said, I haven't attempted to mess around with the MOK. I just replaced all the secure boot keys with my own, and I've also signed MS's Windows key (but not the 3rd party one) for my dual-boot needs.

    ---

    For specifics: This is an up-to-date Arch Linux install, running on an HP EliteBook 840 G8 (11th gen intel). I know Debian may have older components than arch, but this setup has been working for more than a year now.

    IIRC, the most significant change was brought by systemd 251 which started supporting auto-unlocking LUKS with the TPM. Before that, on an older computer with the same general setup, hibernation worked well, too. I just needed to input the unlock password (which I was too lazy to do, so I just used my yubikey - see https://github.com/agherzan/yubikey-full-disk-encryption).

  • systemd 253 Released With Ukify Tool, systemd-cryptenroll Unlocking Via FIDO2 Tokens
    1 project | /r/linux | 18 Feb 2023
    Does yubikey-full-disk-encryption provide anything systemd 253 doesn't now?
  • Tillitis Security Key – Mullvad spin-off inspired by measured boot and DICE
    3 projects | news.ycombinator.com | 19 Sep 2022
    Do you mean something like this: https://github.com/agherzan/yubikey-full-disk-encryption
  • Encrypt data on server (Linux, LUKS) on Raspberry Pi
    2 projects | /r/HomeServer | 13 Sep 2022
    Full disk encryption is rarely as portable as simply encrypting the files you need. When I ran a “homemade” NAS, I had everything LUKS encrypted. I used a Yubikey to unlock the encrypted data.
  • Using a YubiKey to unlock LUKS - How to secure or encrypt /boot?
    2 projects | /r/linuxquestions | 11 Sep 2022
    A few days ago I akquiriere a Yubikey and I'm currently trying to set up 2FA with the Yubikey and a password to unlock the LUKS container. Since I am running Arch I came across the yubikey-full-disk-encryption package and tested it in an Arch VM. So far it worked really well. The only issue I am having is that compared to my old setup I need to have /boot unencrypted because it seems GRUB itself cannot deal with the 2FA setup and ykfde if /boot is encrypted. Previously I had most of /boot inside the LUKS volume with only the /efi part unencrypted (this is used when telling grub where the efi-directory is - see the previous guide for the full details please) and the GRUB_ENABLE_CRYPTODISK=y option set in the GRUB config.
  • LUKS boot unlock fido2 issue
    2 projects | /r/archlinux | 11 Jun 2022
    I don't know about the hanging, I use yubikey-full-disk-encryption which uses challenge-response (1FA or 2FA) which you can set up how many attempts to use the YubiKey before it falls back to the passphrase.
  • Is it possible to crack drive encryption without header?
    1 project | /r/linux4noobs | 18 Feb 2022
    Related: https://github.com/agherzan/yubikey-full-disk-encryption
  • How safe is encryption?
    2 projects | /r/PrivacyGuides | 31 Dec 2021
    https://github.com/cornelinux/yubikey-luks or https://github.com/agherzan/yubikey-full-disk-encryption with yubikey 5 will get you going. It is a bit expensive to get two keys (regular and backup), but these can be also used to secure most of the online accounts.

sbupdate

Posts with mentions or reviews of sbupdate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-09.
  • Getting LUKS, Btrfs, Hibernation and Swap file working in tandem
    4 projects | news.ycombinator.com | 9 Mar 2023
    I use sbupdate [0] to build the unified kernel image and to sign it with my keys. It's run by a hook in the arch's package manager whenever the kernel, the initrd or the firmware images change. I saw the other day that systemd recently got an utility to do this, but I've never looked into that. sbupdate has been working fine for me for several years now.

    It doesn't store a new key in the uefi, it signs the new image with the key that uefi already knows about.

    See [1] for the whole setup and [2] for the signing part specifically.

    [0] https://github.com/andreyv/sbupdate

    [1] https://wiki.archlinux.org/title/Unified_Extensible_Firmware...

    [2] https://wiki.archlinux.org/title/Unified_Extensible_Firmware...

  • Secure boot, sbupdate and systemd-boot
    1 project | /r/archlinux | 21 Aug 2022
  • Can someone help me navigate the BIOS settings without display?
    1 project | /r/LenovoLegion | 23 Nov 2021
    Here is where different systems will fork. On Arch there is a pacakge sbupdate where it automatically generate unified kernel images using pacman hooks and I use systemd-boot (which must be signed by your keys) to load it.
  • Windows 11 requiring to turn on Secure boot, making dual boot a little harder
    2 projects | /r/archlinux | 20 Oct 2021
    I really think it's easy enough. You create your keys, put them into /etc/efi-keys, enroll them into your UEFI by whatever method you prefer, install sbupdate-git and you're done... You need to run sbupdate manually once after install, everything else works automatically through hooks.
  • I've moved to a new laptop with 3 NVMe drives, and I want full encryption and Secure Boot.
    1 project | /r/archlinux | 25 Aug 2021
    Ah, sbupdate does that very well; it embeds the kernel image, initramfs and the UEFI boot image into a unified signed image. I presume this signed image should then be further encrypted?
  • Unencrypted boot partition risks
    2 projects | /r/archlinux | 4 Apr 2021
    Check out https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface/Secure_Boot and https://github.com/andreyv/sbupdate
  • Cool new things on linux world for fresh installation and a bit of my usage different things.
    7 projects | /r/archlinux | 8 Mar 2021
    For the last part, check out https://github.com/andreyv/sbupdate . Linked also from arch wiki, so not some completely random solution. Its for creating unified kernel images, including the initramfs, microcode and so on. This package is then signed for secureboot, and can be loaded using EFISTUB for example. This prevents attacks against initramfs or some other things on /boot, if unencrypted. I haven't come around to test it myself, but I think its a neat solution, and with proper secure boot (and password protected firmware), a reasonable protection against evil maid attacks.
  • Security
    2 projects | /r/archlinux | 23 Jan 2021
    I am using secure boot with custom keys, a fully encrypted root btrfs partition with /boot on it, with swap also encrypted with hibernation support. The only non-encrypted partition is the EFI partition with boot images signed with https://github.com/andreyv/sbupdate (look up "direct booting").

What are some alternatives?

When comparing yubikey-full-disk-encryption and sbupdate you can also consider the following projects:

dracut - dracut the event driven initramfs infrastructure

cryptboot - Encrypted boot partition manager with UEFI Secure Boot support

fido2luks - Decrypt your LUKS partition using a FIDO2 compatible authenticator

clevis - Automated Encryption Framework

solokey-full-disk-encryption - Use SoloKey to unlock a LUKS encrypted partition

antibody - The fastest shell plugin manager.

wireguard-initramfs - Use dropbear over wireguard.

ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

zfsUnlocker - A modular zfs unlocker hook for mkinitcpio on Archlinux.

dotfiles - :unicorn: My personal dotfiles

void-packages - The Void source packages collection

zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.