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.
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: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/dm_crypt_test.go
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 10 months ago.
Help improve this document in the forum.