0x90

joined 3 years ago
[โ€“] [email protected] 2 points 3 years ago* (last edited 3 years ago) (5 children)

Why are you listing email in the same category as big tech/Facebook?

You normies can't tell ๐Ÿ’ฉ from ๐Ÿซ.

[โ€“] [email protected] 1 points 3 years ago

Welcome to NNTP spam all over again

[โ€“] [email protected] 1 points 3 years ago

Welcome to NNTP spam all over again

[โ€“] [email protected] 7 points 3 years ago (1 children)

Where is the FTP and IMAP source code?

PROTIP: there isn't any.

Checkmate open source community!

[โ€“] [email protected] -2 points 3 years ago* (last edited 3 years ago) (1 children)
[โ€“] [email protected] 1 points 3 years ago

Tomb is awesome. A single bash script, with few basic dependencies (i.e.: zsh), highly portable and secure. It is basically a wrapper around this loopback trick (not compatible, different method):

#!/bin/bash

loopdevice=/dev/loop0
loopfile=crypt.loop

#megabytes
loopsize=256

#/dev/mapper/xxxxx when open
cryptmapper=myCrypt

makefilesystem=ext4

#mountpoint of uncrypted device
mountpoint=$HOME/crypt


#creates a new file
create() {
  echo creating a file with size ${loopsize}M with random bits.. this could take a while..
  dd if=/dev/urandom of=$loopfile bs=1M count=$loopsize
  losetup $loopdevice $loopfile
  cryptsetup luksFormat -y $loopdevice
  cryptsetup open $loopdevice $cryptmapper
  sudo mkfs.$makefilesystem /dev/mapper/$cryptmapper
  cryptsetup close $cryptmapper
  losetup -d $loopdevice
  losetup -a
}

#mounts crypted loopback file
open() {
  losetup $loopdevice $loopfile
  cryptsetup open $loopdevice $cryptmapper
  mount /dev/mapper/$cryptmapper $mountpoint
}

#unmounts previously mounted loopback file
close() {
  umount $mountpoint
  cryptsetup close $cryptmapper
  losetup -d $loopdevice
}

if [[ $EUID -ne 0 ]]; then
   echo "This script must be run as root" 1>&2
   exit 1
fi


echo loopdevice  $loopdevice
echo loopfile    $loopfile
echo loopsize    $loopsize
echo cryptmapper $cryptmapper
echo filesystem  $makefilesystem
echo mountpoint  $mountpoint
echo command     $1

$1
[โ€“] [email protected] 4 points 3 years ago (1 children)

And you can even play with older and cheaper hardware!

[โ€“] [email protected] 1 points 3 years ago* (last edited 3 years ago)

I didn't know about that technology, very interesting

[โ€“] [email protected] 1 points 3 years ago (2 children)

Once the hardware fails you lose all your data.

Just use a standard USB key with a normal RECOVERABLE filesystem, and encrypt your data by software. And of course keep a secondary backup for important data, using another normal cheap USB (or a DVD/BD for long term), in another geolocation, in case the hardware on the first backup fails.

[โ€“] [email protected] 3 points 3 years ago

Nice meta search, i never heard of this one. Thanks!

view more: โ€น prev next โ€บ