• juipeltje@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    7 days ago

    Me logging in automatically but having my lockscreen autostart when my window manager starts (i just do it because it makes the login transition smoother compared to a display manager, and i’m the only person who uses my pc anyway).

  • Tanoh@lemmy.world
    link
    fedilink
    arrow-up
    99
    ·
    7 days ago

    I know this is a meme, but security is not binary. It is not you either have 100% or 0%, it is always a sliding scale, and usually on the opposite side is convenience.

    Encrypting your drive protects against someone stealing your computer or breaning into youe house while the computer is off/locked.

    People like to trash people that write down their passwords on a post-it note and keep next to their computer. It is not ideal, but having a somewhat complex password written down protects a lot more against attacks over the internet than having “password”. However, if others have physical access to the note then it is obviously very bad. Like for example in an office.

    • DupaCycki@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      6 days ago

      I don’t like how writing down passwords on notes has been heavily criminalized. Obviously it’s a security risk, but so is having a simple password that isn’t written down anywhere. In fact, the latter is often more dangerous, depending on the specific environment. Just make sure the note isn’t easily accessible and you’re good.

      • Tanoh@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        6 days ago

        Yes. Writting down a complex password helps against most attacks, except one where the bad guy has physical access to your note. Based on the normal users use case that is probably a very good trade off. Most hacks are done over the internet without access to your note.

        Ideally everyone should use a password manager, but that is highly unlikely any time soon.

    • ricecake@sh.itjust.works
      link
      fedilink
      arrow-up
      38
      ·
      7 days ago

      Yup. The risk of someone breaking into your house and stealing your post-it note is vastly different from someone guessing your password, and the risk changes again when it’s a post-it note on your work computer monitor.

      One of the best things you can do with your critical passwords is put them on a piece of paper with no other identifying information and then put that piece of paper in your wallet. Adults in modern society are usually quite good at keeping track of and securing little sheets of paper.

      I’m paranoid, so I put mine on an encrypted NFC card that I printed to look like an expired gift card to a store that went out of business. It’s got what I need to bootstrap the recovery process if I loose all my MFA tokens (I keep another copy in a small waterproof box with things like my car title. It’s labeled “important documents: do not lose” and kept unlocked so any would be thief feels inclined to open it and see it’s worthless to them rather than taking the box to figure that out somewhere else. The home copy is important because there’s vaguely plausible scenarios where I lose both my phone and wallet at the same time. )

      Stealing my laptop and getting my stuff is a significantly larger risk than me leaving my computer on and unattended without locking the screen.

      Passkeys are a good trend because they’re just about the only security enhancement in recent memory that increases security and usability at the same time.

    • blinfabian@feddit.nl
      link
      fedilink
      English
      arrow-up
      6
      ·
      6 days ago

      i work in IT at an office and i kid you not. some people really stick a post it with their full login to their screen. (not even their screen as they sit at different places every day)

  • Taleya@aussie.zone
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    1
    ·
    6 days ago

    “I know you’re on holiday but can’t log into the vpn and a third party tech i hired needs your password for the pfsense”

    Actual words said to me last week. Hollyyy shit.

  • nek0d3r@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    10
    ·
    6 days ago

    I don’t really bother encrypting my personal PC, there’s just not much on there at all that I even store. My server is definitely LUKS encrypted, but it’s a lot of effort for a very specific attack vector that I don’t anticipate. There’s things I’d be much more concerned about a burglar stealing than a storage device.

  • Allero@lemmy.today
    link
    fedilink
    arrow-up
    23
    ·
    6 days ago

    My favorite is KDE asking for user password upon waking from sleep even if you have autologin enabled.

    So, all you have to do to circumvent the login window is to reboot.

  • michaelmrose@lemmy.world
    link
    fedilink
    English
    arrow-up
    48
    ·
    7 days ago

    On a single user system which either hibernates or shuts fully down you might as well long in automatically after you type in your 16 character encryption pass phrase. A login screen does not in any way provide additional security. Note this doesn’t actually prevent you from locking the screen and unlocking still requires your password.

  • milagemayvary@mstdn.social
    link
    fedilink
    arrow-up
    3
    ·
    7 days ago

    @mycodesucks

    Heh, I have done just this for a friend of the family on Linux mint Debian edition.
    It works out alright but I always feel weird setting it up.

    I had made a little mistake after attempting to try out the experimental Cinnamon Wayland desktop on said machine & failed.

    … Then boot looped … Because autologin was setup.

    Tiny bit embarrassing. Oops. Better keep backup minimal CLI Linux installs to repair/restore on seperate partition but seperate drives are best.

  • nialv7@lemmy.world
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    6 days ago

    Depends on your threat model. If you are defending against people stealing your hard drive and reading your data, then this is perfectly fine.

    • nibbler@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      7
      ·
      6 days ago

      if it’s logging in automatically it needs the required encryption key available on the disk in clear. so the stolen hard drive will boot and unlock in any computer, no?

  • 4am@lemmy.zip
    link
    fedilink
    arrow-up
    13
    ·
    7 days ago

    I wish I could set it to auto-login to a Lock Screen so all my preferred stuff starts up and is ready when I get there, but my computer is still locked against anyone trying to steal it and get easy access to it

  • shadowtofu@discuss.tchncs.de
    link
    fedilink
    arrow-up
    32
    ·
    6 days ago

    One has to find the right balance between security and comfort, and this entirely depends on the threat model one has. Nowadays, I will always enable full-disk encryption on all of my devices, even if I then decide to store the keys in TPM and unlock the disk at boot.

    I have at least 5 half-broken HDDs sitting around, completely unencrypted, I have no idea if they still work, but they are surely full of private data that I would like to have purged. I fear mechanical destruction might be the only solution for some of them, but just wiping them manually is more effort than doing nothing, so I guess they will still be around for some time. And with SSDs, there is no reliableway delete all data.

    With encryption? Just delete the key and you are done.

    The threat model changes in the future? Easy, the data is already encrypted.

    • Logical@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      6 days ago

      I have been trying to understand what it is that makes it impossible to reliably wipe an SSD, compared to an HDD. Why wouldn’t filling the drive with 0s work?

      • ThatOneGuy@musicworld.social
        link
        fedilink
        arrow-up
        9
        ·
        6 days ago

        @Logical @shadowtofu
        The SSD controller does not overwrite the old physical location (unlike HDD).

        It writes the new data to a different physical block.

        The old block becomes “stale” but still contains your original data until the SSD decides to erase it later.

        • Logical@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          6 days ago

          But if I fill a drive with nonsense data, whether SSD or HDD, shouldn’t it be forced to write such data to all possible locations, thus overwriting the original data? Is am I misunderstanding something more fundamental about how this type of storage works?

          • ThatOneGuy@musicworld.social
            link
            fedilink
            arrow-up
            11
            ·
            6 days ago

            @Logical Filling an SSD with zeros only affects the logical address space visible to your OS—it doesn’t force the controller to erase every physical block. The old data remains in unmapped or retired areas until (or unless) the controller decides to erase it later, potentially allowing recovery with specialized tools. Some SSDs might even optimize by not physically writing zeros if they detect a full block of them, simply marking the space as erased without touching the hardware.

            • Logical@lemmy.world
              link
              fedilink
              arrow-up
              6
              ·
              6 days ago

              See what I’m still not getting though, is how there can still be unmapped or retired areas, if the drive has been filled with (meaningless) data? Let’s say it isn’t all zeros, but random data instead. Are there more physical blocks than is represented logically by the adress space exposed to the OS?

              • lucullus@discuss.tchncs.de
                link
                fedilink
                arrow-up
                12
                ·
                6 days ago

                On big flash memory you typically have more memory on the chips, than ia presented to the OS. Flash has significantly less write cycles, before the block breaks, so the controller monitors the health and won’t use it anymore when it will soon fail. Instead it uses a block from its unused extra space. (Details might be different, I’m not sure about that). This way the lifetime of the SSD is significantly improved. SD cards do the same, I think.

                So the data in the retired blocks will remain and cannot be overwritten by the OS. If they are encrypted and the keys deleted, that won’t matter

    • BCsven@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      5 days ago

      I thought there was a table method of “destruction”. Like you delete or destroy the table of allocation. Even though the data is on the SSD, its not contiguous like HDD and so its spread into bits everywhere. However failing that, leave them unplugged (unpowered) and in 70°C plus heat, the bits will lose their electrons rapidly.

  • hemko@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    16
    ·
    7 days ago

    I mean login automatically on boot but with encrypted drive is ok if you’re the only user. If someone got your encryption password, they can get your data. The user password doesn’t protect a shit

    Now of course you want to still have auth when locking the pc

  • Evil_Shrubbery@thelemmy.club
    link
    fedilink
    arrow-up
    4
    ·
    6 days ago

    I have auto login too, but also full disk encryption + using my user password to unlock it the once the puter is locked (after a time, on sleep, manual lock, etc).

    There is an element to security that has to work with your human side too. So entering two passwords in a row is something my brainhole can do without + the scenarios where that could be exploited are slim.