cryptboot VS tpm2-totp

Compare cryptboot vs tpm2-totp and see what are their differences.

cryptboot

Encrypted boot partition manager with UEFI Secure Boot support (by xmikos)

tpm2-totp

Attest the trustworthiness of a device against a human using time-based one-time passwords (by tpm2-software)
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
cryptboot tpm2-totp
5 5
199 149
- 7.4%
0.0 0.0
5 months ago about 1 month ago
Shell C
GNU General Public License v3.0 only BSD 3-clause "New" or "Revised" License
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.

cryptboot

Posts with mentions or reviews of cryptboot. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-18.
  • Setting up Secure Boot, but the wiki doesn't provide enough info I think
    2 projects | /r/archlinux | 18 Jan 2022
    I just completely cheated by using cryptboot. Then it is as simple as cryptboot-efikeys create, then to enroll them into your eufi, cryptboot-efikeys enroll and finally to sign any efi executable (or any file), cryptboot-efikeys sign $FILE. There are other helper scripts, but I don't use them. Full documentation is on their GitHub: https://github.com/xmikos/cryptboot. Good luck!
  • Authenticated Boot and Disk Encryption on Linux
    8 projects | news.ycombinator.com | 23 Sep 2021
  • Physical security tips & recommendations
    1 project | /r/thehatedone | 3 May 2021
    Prevent evil maid by bringing your devices everywhere. Or you can just switch to GNU/Linux and add https://github.com/xmikos/cryptboot
  • Unencrypted boot partition risks
    2 projects | /r/archlinux | 4 Apr 2021
    I think it was this one: https://github.com/xmikos/cryptboot
  • Cool new things on linux world for fresh installation and a bit of my usage different things.
    7 projects | /r/archlinux | 8 Mar 2021
    Also, I am pretty sure that you can only have encrypted /boot if you use GRUB. The point of doing so is not really to make sure nobody reads it (there isn't anything interesting on /boot by default), but to make sure that nobody can tamper with it (ignoring the encryption vs authenticated encryption discussion). However, you still have to make sure nobody can tamper with GRUB itself. You might want to check out https://github.com/xmikos/cryptboot if this sounds interesting. Also, there are similar solutions that don't use encrypted /boot, for example booting from signed EFISTUBs, see https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface/Secure_Boot#Implementing_Secure_Boot. Also, I don't actually use this kind of setup personally (albeit I'd like to one day), and I am certainly not a security expert, so take this whole paragraph with a big grain of salt, and double check with somebody who actually knows what they are talking about.

tpm2-totp

Posts with mentions or reviews of tpm2-totp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-18.
  • TOTP tokens on my wrist with the smartest dumb watch
    18 projects | news.ycombinator.com | 18 Oct 2022
    You need a TPM 2.0 compatible CPU, but something like this sounds really excellent: https://github.com/tpm2-software/tpm2-totp

    This means your laptop itself would be your hardware device, the TOTP secret would be stored in the TPM and theoretically impossible to steal/copy. Of course this means you will probably want a mobile device (possibly a second laptop also) as a backup.)

  • Can you detect tampering in /boot without SecureBoot on Linux?
    1 project | /r/linux | 6 Jul 2022
  • Authenticated Boot and Disk Encryption on Linux
    8 projects | news.ycombinator.com | 23 Sep 2021
    >But okay, you may extend my attack by saying that you exchange the motherboard between the victim and the attacker laptop, so that you don't need to replicate the chassis.

    Modern computers has tamper detection and if you open them you'll need to type the BIOS password.

    However, replacing the motherboard is going to replace the TPM. This is easily detectable with something like tpm2_totp in the bootchain.

    https://github.com/tpm2-software/tpm2-totp

  • Attest computer secure boot state to phone via time-based OTP and TPM
    1 project | news.ycombinator.com | 6 Aug 2021
  • Does the TPM boost secure boot security?
    1 project | /r/archlinux | 5 Aug 2021
    You could also use TOTP for a kind of remote attestation (e.g., with your phone computing TOTP). In this setup, the CPU sends the timestamp to the TPM, and it returns the TOTP value. So instead of you looking at your phone to give the TOTP to a service provider to prove that you're in possession of your phone, the computer gives you a TOTP value to prove that it's in possession (inside the TPM, sealed to the boot chain hashes) of the TOTP secret, and you use your phone to verify this. A possible weakness (short of a full-blown TPM compromise) would be to send a bunch of forged timestamps to the TPM while your computer is running and store the resulting TOTP values, then tamper with Secure Boot and emit the precomputed TOTP corresponding to the current timestamp whenever you boot up your computer. But this would require running malicious code on your compute while you're logged in with the trusted boot chain.

What are some alternatives?

When comparing cryptboot and tpm2-totp you can also consider the following projects:

sbctl - :computer: :lock: :key: Secure Boot key manager

dotfiles - :unicorn: My personal dotfiles

mortar - Framework to join Linux's physical security bricks.

heads - A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops, workstations and servers.

btrfs-todo - An issues only repo to organize our TODO items

safeboot - Scripts to slightly improve the security of the Linux boot process with UEFI Secure Boot and TPM support

sbupdate - Generate and sign kernel images for UEFI Secure Boot on Arch Linux

decrypt-otpauth-files - Decrypt files created by OTP Auth

BangleApps - Bangle.js App Loader (and Apps)