constellation/csi
Daniel Weiße bb8d2c8a5c
cryptsetup: enable detached header (#3927)
* deps: update go-cryptsetup
* cryptsetup: use detached headers when opening existing crypt devices
* cryptsetup: only activate disks with detached header

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2025-08-28 10:34:24 +02:00
..
cryptmapper license: change headers 2025-07-15 23:34:48 +02:00
kms license: change headers 2025-07-15 23:34:48 +02:00
test cryptsetup: enable detached header (#3927) 2025-08-28 10:34:24 +02:00
README.md Rename mount package to csi (#47) 2022-09-05 08:42:55 +02:00

Constellation CSI tools

These packages are intended to be used by Kubernetes CSI drivers to enable transparent encryption of storage on the node.

Dependencies

This package uses the C library libcryptsetup for device mapping and crypto operations.

  • Install on Ubuntu:

    sudo apt install libcryptsetup12 libcryptsetup-dev
    
  • Install on Fedora:

    sudo dnf install cryptsetup-libs cryptsetup-devel
    

Testing

Running the integration test requires root privileges. Build and run the test:

go test -c -tags=integration ./test/
sudo ./test.test