bundlewrap/bundles/dm-crypt
2022-01-11 18:29:21 +01:00
..
items.py dm-crypt import pool after decrypt 2022-01-11 18:29:21 +01:00
metadata.py dmcrypt 2021-10-13 00:10:10 +02:00
README.md dmcrypt 2021-10-13 00:10:10 +02:00

dm-crypt

Create encrypted block devices using dm-crypt on GNU/Linux. Unlocking these devices will be done on runs of bw apply.

Metadata

'dm-crypt': {
    'encrypted-devices': {
        'foobar': {
            'device': '/dev/sdb',
            # either
            'salt': 'muWWU7dr+5Wtk+56OLdqUNZccnzXPUTJprMSMxkstR8=',
            # or
            'password': vault.decrypt('passphrase'),
        },
    },
},

This will encrypt /dev/sdb using the specified passphrase. When the device is going to be unlocked, it will be available as /dev/mapper/foobar.