I recently switched to Linux (Zorin OS) and I selected “use ZFS and encrypt” during installation. Now before I can log in it asks me “please unlock disk keystore-rpool” and I have to type in the encryption password it before I’m able to get to the login screen.

Is there a way to do this automatically like with Windows or MacOS? Zorin has biometric login which is nice but this defeats the purpose especially because the encryption password is long and tedious to type in.

Also might TPM have anything to do with this?

EDIT: Based on the responses I have to assume some of you guys live in windowless underground bunkers sealed off with concrete because door locks “aren’t secure against battering rams”. Normal people don’t need perfect encryption they just want to add an extra hurdle or two for the crackhead who steals the PC. I assumed Linux had a system similar to what Windows or MacOS has been doing for a decade but I am apparently wrong.

  • wispydust
    link
    fedilink
    arrow-up
    6
    ·
    10 months ago

    This reply isn’t going to be helpful to OP, but thought I might add context for others passing by.

    I’m using Arch Linux with LUKS encryption and gdm. As long as my user’s password is the same as the LUKS password, I only ever type my password in once.

    Just saying that a MacOS-like convenience is definitely possible on Linux.

    • Jediwan@lemy.lolOP
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      Fascinating, you don’t have automatic login enabled? And I assume this is at the pre-login prompt?

      • wispydust
        link
        fedilink
        arrow-up
        5
        ·
        10 months ago

        Oof - forgot to mention that I do have autologin configured on gdm 😀

        • unhinge@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          10 months ago

          user’s password can be totally different from luks password if you’re using autologin. You can keep it same but that’s totally optional. You can login without entering any password at all if not using luks (or using autodecrypt), you can see that in live isos.