brent timothy saner on 9 Mar 2014 11:09:26 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Encrypting Sensitive Personal Information In the Cloud?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/09/2014 02:07 PM, brent timothy saner wrote:
> On 03/09/2014 02:04 PM, brent timothy saner wrote:
>> dd if=/dev/zero of=~/stuff.img bs=1M count=5120 #5Gb; adjust
>> count= if needed losetup /dev/loop1 ~/stuff.img cryptsetup
>> luksFormat /dev/loop1 cryptsetup luksOpen /dev/loop1 taxes
>> mkfs.ext4 /dev/mapper/taxes mkdir -p /mnt/taxes mount
>> /dev/mapper/taxes /mnt/taxes cd /mnt/taxes ; git init . ## cp -a
>> all your sensitive information to /mnt/taxes here git add --all .
>> cd ; umount /mnt/taxes scp ~/stuff.img 
>> [<user>@]<server/service>:/absolute/path/.
> 
> 
> whoops. | sed -e '/umount/a cryptsetup luksClose taxes'
> 
> (you'll want to do a luksClose before scp-ing. not entirely
> necessary, but good practice and will avoid possible
> complications.)
> 

D'OH.
and don't forget to commit before umounting too. duh.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTHK5OAAoJEIwATC+TSB9rP8MP/1JSjHKQQOy89XacjFJUYPll
hs4aAdFRB/I9Sshk9n5qikqt6bU6/AI1sEXkd+Gu8/LjxiETnEiy4kWMolcldOJ3
mgZDglvcw/ixD/XTyiaGcbqhyUL1zXv2KG3kbLc6qYDwjk8faD45wznDPsq0EqO0
tjJrbyK1tlD3Erd2MF0kQFHXuV/azUsKn3vd5d/rClyybqhn3z+ZktF8d7ZcF8+1
W8sAtJ427+0pQYXlCKPcJirQD7KOBMkvlgShMt2y5x6QbdD+6P8vG4UrXJ84/i34
5ha34R44co0tKC9e9+VljqlR7rsTDR3j7ZXhds+bEmePrxsmfnsC1KgdpXzDGwhu
Hxes8YSjIv+Mei8wKqNh1vLrhiFRFnB1gHwlvQZ9G9W4oCStr/ljHTNV8L/sutkP
1ghFbJI4QGNU1yCwPQKVRc2DFztrafm4K+0g8W0TgZgujYW0WRYoRZi5BLX2LuAH
18zffX4daHhJGbe6IbSbi+a4L+LKlZuL8XWQyWr70rU5HYhzP43FULgS7DjDp5/+
YnD8GPXwRM8CJ4myRBHc485gnXEy0D8hxxwtmIpEu7J8nT4dvbk83NY3wtcPzqll
WVsnJX6VaxDKZ+qkL5zjWbcjbTT3tIKz6zvPXQRif/OhrbLhOLRCfN+1r0w3/eFT
GPVa4QigyhJfVluu6vqY
=zy6X
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug