The dm-crypt
interface enables the following access functions to dm-crypt encrypted external block storage devices:
See Interface management and Supported interfaces for further details on how interfaces are used.
Auto-connect: no
Super-privileged: yes
Often, dm-crypt is statically linked into the kernel (CONFIG_DM_CRYPT=y
). This is expected when working with custom kernels on projects where disk encryption is required.
The test code can be found in the snapd repository: snapd/interfaces/builtin/dm_crypt_test.go at master · canonical/snapd · GitHub
The source code for the interface is in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/dm_crypt.go
Last updated 2 months ago.