• dan@upvote.au
    link
    fedilink
    arrow-up
    9
    ·
    2 days ago

    I’ve seen so many setups where people encrypt their data but forget to encrypt their swap.

    • DevDave@piefed.social
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      what’s the problem? it’s not like you dump the entire contents of your system’s ram to disk any time use hibernate /s

      • dan@upvote.au
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        Even without hibernation, data in apps you have open will end up in the swap if your system is ever RAM-constrained.

        • redjard@reddthat.com
          link
          fedilink
          arrow-up
          1
          ·
          1 day ago

          Generally it only happens to programs you keep running in the background and might not use for a long time that also don’t have much background activity. For example password managers.

          • dan@upvote.au
            link
            fedilink
            arrow-up
            1
            ·
            1 day ago

            It depends on what you set your swappiness to, too. I think Linux distros still have pretty aggressive defaults that swap more than they probably need to.