cryptsetup
clevis
cryptsetup | clevis | |
---|---|---|
55 | 25 | |
- | 813 | |
- | 1.5% | |
- | 6.2 | |
- | about 1 month ago | |
Shell | ||
- | GNU General Public License v3.0 only |
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.
cryptsetup
-
The Linux Process Journey — “dmcrypt_write”
Overall, “dm-crypt” is a device-mapper target (https://elixir.bootlin.com/linux/v6.5-rc3/source/drivers/md/dm-crypt.c#L3689) supported from kernel version 2.6.4 (https://elixir.bootlin.com/linux/v2.6.4/source/drivers/md/dm-crypt.c). It is responsible for transparent (aka real-time/on-the-fly encryption) block device encryption while using the kernel crypto API (https://gitlab.com/cryptsetup/cryptsetup/-/wikis/DMCrypt) .
-
Most secure and private (trace resistant) messaging app in market?
For more information check section 5.21 Why is there no "Nuke-Option"? of LUKS FAQ.
-
Is it possible to make my linux system automatically wipe everything if someone enters a wrong password twice
Please read the section 5.21 Why is there no "Nuke-Option"? of the LUKS FAQ for more information (eg. when a "wipe" option could actually harm you).
-
Federal Judge Makes History in Holding That Border Searches of Cell Phones Require a Warrant
Check out the section 5.2 and 5.18 of the LUKS FAQ for more information.
-
Custom Encryption
See section 5.2 of LUKS FAQ and Key disclosure law all over the world.
- Encryption of boot issue in the process: failed at update-grub
- Cannot create dm-integrity block device
- LuKs cryptsetup and sha256
-
Can I only partially clone a LUKS encrypted drive?
References: - Frequently Asked Questions Cryptsetup/LUKS - Question 2.15: "neither dm-crypt nor LUKS1 stores partition size and LUKS2 uses a generic "whole device" size as default." - Stackexchange: What does cryptsetup resize do if LUKS doesn't store partition size?
-
Is it possible to create a directory that is automatically encrypted at rest?
LUKS is probably what you want
clevis
-
Horcrux: Split your file into encrypted fragments
Recently learned that Clevis also supports Shamir Secret Sharing, and it's in fact the only way to configure multiple pins even if they're of the same type and authority (ie. the RAID0 of SSS):
https://github.com/latchset/clevis#pin-shamir-secret-sharing
-
Can I boot an encrypted system by pulling the key from another PC?
Have a look at clevis and tang. These allow you do have one server - which could be your remote you want to pull from - to be source of the LUKS decryption on the system using tang.
-
Initial support for guided disk encryption in OpenBSD installer
Interesting question. I think so?
https://access.redhat.com/documentation/en-us/red_hat_enterp...
Looks like clevis is gpl3 - so I expect it's not packaged as standard for any of the bsds?
https://github.com/latchset/clevis
See also:
https://security.stackexchange.com/questions/194081/use-tpm2...
https://security.stackexchange.com/questions/39329/how-does-...
https://superuser.com/questions/619721/can-i-use-the-tpm-on-...
-
Remote linux system disk encryption
I haven't used it myself, but a solution with LUKS, TPM2, and clevis is the way I've seen other people set it up https://github.com/latchset/clevis
- Encrypt passwords for scripts
-
How to mount LUKS encrypted USB storages (and HDDs inserted to hot swappable drive bay) automatically when connected? The machine is running headlessly, does not have desktop environments installed.
There are 3 ways to unlock a volume in a headless environment: - use a keyfile, located on an already available volume - use your device's TPM and utilize systemd-cryptenroll - use Clevis/Tang to unlock volumes remotely
-
Centrally managed full disk encryption
I don't think there is a turnkey solution, but you can build what you are looking for with clevis, LUKS, and dm-crypt
- The ultimate guide to Full Disk Encryption with TPM and Secure Boot
- is possible to encrypt disk without asking for password on boot?
-
PSA: If you have a LUKS encrypted system and a TPM2 chip, you can put it to good use
We use clevis against multiple tang servers to provide Network Bound Disk Encryption (NBDE). It's possible to also use TPM2 but it's easier to use multiple tang servers (requiring more than one server to decrypt) in the datacenter.
What are some alternatives?
sedutil - DTA sedutil Self encrypting drive software
linux-luks-tpm-boot - A guide for setting up LUKS boot with a key from TPM in Linux
LUKS2-docs
zfs-boottime-encryption - Unlocking ZFS datasets at boot
luks.go - Pure Golang library to manage LUKS partitions
sedutil - Use sedutil for setting up and using self encrypting drives (SEDs) that comply with the TCG OPAL 2.00 standard. This includes the requisite pre-boot authentication image.
go-cryptsetup - Go bindings for libcryptsetup.
mortar - Framework to join Linux's physical security bricks.
edgewalker - A DIY VPN setup script based on OpenBSD, OpenIKEd, Wireguard and Let's Encrypt
tang - Tang binding daemon
sbctl - :computer: :lock: :key: Secure Boot key manager
TrustedGRUB2 - DEPRECATED TPM enabled GRUB2 Bootloader