Automatically decrypt root filesystem systemd/dm-crypt/cryptsetup/crypttab

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Automatically decrypt root filesystem systemd/dm-crypt/cryptsetup/crypttab

1,040 次查看
beestarbush
Contributor I

Hello,

I have followed the document AN12714.pdf and the IMX Linux User guide(IMXLUG_6.6.23_2.0.0) on how to use the CAAM module to encrypt and decrypt a partition. Since the operations performed there are manually I want to have this done automatically.

It is possible to script these steps and introduce a script at boot in my initramfs to do this, but I have also looked into using third-party components such as the module systemd-cryptsetup of systemd and the usage of a /etc/crypttab file. I can however not yet determine if this is usable with the CAAM module as in the examples in the documents the keys are imported into the keyring and then use dmsetup to decrypt the partition.

  1. Does somebody have a explanation on how this should work with the combination of the CAAM module?
  2. And did anybody managed to get this combination working or is there some reference forum post where this is working/discussed?
0 项奖励
回复
0 回复数