Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.slackware    |    I think its the one without Selinux crap    |    87,272 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 86,208 of 87,272    |
|    Joseph Rosevear to All    |
|    Re: Tool to encrypt/decrypt the contents    |
|    05 Mar 23 00:03:15    |
      From: Mail@JoesLife.org              On Sat, 4 Mar 2023 23:48:18 -0000 (UTC), Joseph Rosevear wrote:              Sorry,              I'm having trouble with Pan. Here is my message again, with corrections:              > Hello,       >       > I have taken a different approach to the problem of encryption.       > Initially, like you I tried encrypting locally--within a file system. I       > found that frustratingly difficult. And also dangerous: Everytime you       > encrypt something you run the risk of losing it, *and* you have one more       > passphrase to keep track of.       >       > So I tried instead using the cryptsetup command to make, open and close       > LUKS encrypted partitions. This took a little work to get going, but it       > was well worth the effort. To do this I made a set of scripts:               luksetup        crypt        ucrypt        lksmnt        ulksmnt              > Script luksetup makes $1 into a LUKS encrypted partition (and destroys       > any existing file system). To do this it prompts you for a passphrase.       > Here is the script:       >       > cryptsetup \       > --verbose \       > --cipher aes-xts-plain64 \ --key-size 256 \       > --hash sha256 \       > --iter-time 1000 \       > --use-urandom luksFormat $1       >       > You will need to run scripts crypt and ucrypt directly only       > occasionally. For example you will need them after running luksetup to       > make a new file system on the LUKS encrypted partition. Script crypt       > will prompt you for the passphrase. Here is an example:               crypt /dev/sda1 bob        mke2fs /dev/mapper/bob        ucrypt bob              > Scripts lksmnt and ulksmnt do the mounting and un-mounting of a LUKS       > encrypted partition. They call scripts crypt and ucrypt. Here is an       > example:               lksmnt /dev/sda1 /mnt/hd bob        |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca