constellation/csi
Daniel Weiße f69ae26122
csi: fix concurrent use of cryptmapper package (#2408)
* Dont error on opening already active devices

* Fix concurrency issues when working with more than one device

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2023-10-05 11:20:22 +02:00
..
cryptmapper csi: fix concurrent use of cryptmapper package (#2408) 2023-10-05 11:20:22 +02:00
kms bazel: add build files for go (#1186) 2023-03-09 15:23:42 +01:00
test csi: fix concurrent use of cryptmapper package (#2408) 2023-10-05 11:20:22 +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