GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Monday, 22-Jul-2024 06:40:06 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:

    Found a nice trick for swap encrypted with a random key:

    mkfs.ext2 -L swap_crypt -i 2048 /dev/sdXX 64K

    and then you can use LABEL=swap_crypt for the device and include offset=128 in the options for /etc/crypttab.

    In conversation about 11 months ago from infosec.exchange permalink
    • Embed this notice
      Alexandra Magin 🏳️‍🌈 (recursive@hachyderm.io)'s status on Monday, 22-Jul-2024 06:47:48 JST Alexandra Magin 🏳️‍🌈 Alexandra Magin 🏳️‍🌈
      in reply to

      @ryanc I was just mentioning elsewhere how much I like to swap to a zram device

      In conversation about 11 months ago permalink
    • Embed this notice
      Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Monday, 22-Jul-2024 06:47:48 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:
      in reply to
      • Alexandra Magin 🏳️‍🌈

      @recursive oh, yeah, zram is nice

      In conversation about 11 months ago permalink
    • Embed this notice
      Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Monday, 22-Jul-2024 07:55:57 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:
      in reply to
      • Asharas

      @asharas yeah, you just specify the key as /dev/urandom and set the swap option.

      In conversation about 11 months ago permalink
    • Embed this notice
      Asharas (asharas@piaille.fr)'s status on Monday, 22-Jul-2024 07:56:00 JST Asharas Asharas
      in reply to

      @ryanc IIRC you can configure crypttab so it creates an encrypted partition with a new key every boot.
      Edit: Crypttab doesn't create the partition, give it one with the correct options and it'll get a new key on each boot.

      In conversation about 11 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.