• Mikina@programming.dev
    link
    fedilink
    arrow-up
    33
    ·
    14 hours ago

    Is there any OS that allows this config?

    At least with Linux, if I encrypt my hard drive, I have to enter my encryption password on every login, for some even during boot.

    Not sure about Windows. I wpuldn’t be surprised if you can have bitdefender on with auto login.

    • SorryQuick@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      6 hours ago

      Mine autodecrypts with a hardcoded password in a text file. I don’t really care about encryption right now, but the minute I do, it’s one file delete away.

    • Aurenkin@sh.itjust.works
      link
      fedilink
      arrow-up
      21
      ·
      14 hours ago

      From memory yes but the contents of your home directory are inaccessible until you enter your password via a popup. For whole drive encryption probably not.

      • IngeniousRocks (They/She) @lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        14 hours ago

        I had configured this manually (incorrectly) in Arch a while back to have my home dir be on a separate encrypted drive.

        Turns out the main drive didn’t get the memo and still had a home folder which worked fine, I thought it was working so I promptly forgot about it. Meanwhile the encrypted drive (which had only ever been unlocked that day and never again) had maybe 10 files on it that I didn’t even know it had until I swapped the drive into a different PC.

    • srestegosaurio@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 hours ago

      You can have FDE binded to the TMP and then inside that encrypted volume an encrypted home.

      By doing that you only need to input your login password and get better security than the meme setup and other suggestions.

      You would need, iirc (I am typing this from memory):

      • A TPM.
      • systemd-cryptenroll
      • Some PAM config for fscrypt or similar.

      I know the steps but for NixOS only lmao.

    • waigl@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      14 hours ago

      The password for the hard drive encryption and the system login are two separate things, so, yes, this combination is easily possible. You’ll have to input a password for system bootup, but not for logging in.

      How advisable that combination is is another question entirely.

    • Pumpkin Escobar@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      13 hours ago

      Can do full disk encryption of root and auto-unlock with tpm, the auto-login is a separate thing and not necessarily the same password

    • passepartout@feddit.org
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      13 hours ago

      You could configure the TPM to effectively store the LUKS key. User login is skippable. So yes, should be possible.