I’m curious about the possible uses of the hardware Trusted Protection Module for automatic login or transfer encryption. I’m not really looking to solve anything or pry. I’m just curious about the use cases as I’m exploring network attached storage and to a lesser extent self hosting. I see a lot of places where public private keys are generated and wonder why I don’t see people mention generating the public key from TPM where the private key is never accessible at all.

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Personally, I don’t see how a TPM module is more useful than full disk encryption with a password you enter on boot.

    I struggle to see how it makes automatic login safer given it does nothing to protect against the really common threat of someone physically stealing your laptop or desktop.

    I don’t trust any encryption or authentication system that I don’t have access to the keys for. Microsoft has also kinda made me feel it’s more for vendor lock in, like they did with secure boot.

    Still, I’m probably being unreasonably pessimistic about it though - be interested to see any practical use cases of it.

    • monk@lemmy.unboiled.info
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      11 months ago

      You can use insecure boot and not enter the password. It can’t make stuff meaningfully more secure though, it just plain doesn’t add any protection against evil maid.

    • wildbus8979@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      In theory, the TPM can be used to verify that the bootloader, kernel and injtamfs haven’t been tampered with, which is very very useful as FDE (in the running machine) is only good if that remains true.

      • SavvyWolf@pawb.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 months ago

        I’ve heard that before, but there are two main problems that stick out to me:

        • A lot of the marketing for TPM (at least when I was setting up bitlocker on Windows) suggests that it’s used to support decrypting drives without a password on boot. But that doesn’t seem to offer any protection from the devices being stolen. The bootloader may be safe but it’s not actually verifying that I’m the one booting the device.
        • I can’t think of a situation where someone would be able to actually modify the bootloader without also having full access to the files and secrets. Especially in a single-boot environment where every time the system is running, the device is decrypted.

        I’m not saying that it’s all just a scam or anything like that, but it really feels like I’m missing something important and obvious.