constellation/csi
Daniel Weiße ac1128d07f
cryptsetup: unify code (#2043)
* Add common backend for interacting with cryptsetup

* Use common cryptsetup backend in bootstrapper

* Use common cryptsetup backend in disk-mapper

* Use common cryptsetup backend in csi lib

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2023-07-17 13:55:31 +02:00
..
cryptmapper cryptsetup: unify code (#2043) 2023-07-17 13:55:31 +02:00
kms bazel: add build files for go (#1186) 2023-03-09 15:23:42 +01:00
test cryptsetup: unify code (#2043) 2023-07-17 13:55:31 +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