proxytoworld
V2EX  ›  问与答

luks 加密后的 lvm 磁盘会按需解密,那么解密密钥会存放在哪呢

  •  
  •   proxytoworld · Jul 17, 2024 · 998 views
    This topic created in 674 days ago, the information mentioned may be changed or developed.

    已知系统启动时会由 initramfs 解密 lvm 磁盘,在进入系统后按需解密,查了资料时据说是使用 cryptsetup 会动态解密,那么密钥会存放在哪呢

    1 replies    2024-07-19 00:48:26 +08:00
    baobao1270
        1
    baobao1270  
       Jul 19, 2024 via Android
    1. 系统盘,一般要放在未加密的分区,比如/boot
    2. 非系统盘配置在/etc/crypttab ,里面会有写密钥路径
    3. 也有用 tpm 存密钥的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2880 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 04:36 · PVG 12:36 · LAX 21:36 · JFK 00:36
    ♥ Do have faith in what you're doing.