brent timothy saner on 9 Mar 2014 11:07:59 -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: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.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTHK3zAAoJEIwATC+TSB9rorsP/joEZ1mXSVsDPr8ZVxwyhB6h
nxPElNwOJ+7GZUKek8Vvk6ZJERR495r4tk/M4gt20ak1STHBsDi6V7emRL0H7WRg
PgWz1c5qy5nVSKJeFWxHKdISyvFPLbMg0ZFdIhZs6CR8HcVeBPypccacae0eutvn
z1KxFgt5IA3lQezz+uKzJFew0oP+AEOY7Z6dtYBlQNDM+Kr0hU7j0ogseUHcFUUu
lj/3/e5Ly+Wnt8+g/eflOujh67ZZJ3QeruMCZr8reTh0mJ7nroVBNA6G0OG7upUV
xCHhkE4q4ZUwTkIwiwTlV3TwcwfiWGDEkH0dIIK3Fve8tXZRBZ5QgnMJBHKEsoxn
7lqFJvhjRZJV2mrwTjFvAt5bhtjcL7501tiEMXDg1JkDcMOUp0WKXdI5Mn6Mt1AV
bXKLSrbftw2EEdOECsjzgn4vz7Q1JtO+Z2Ooybv+QHdlFn1Tm1nVDNOSCoEzKMyW
RL4FvsE67GVM0t2QgAyOdhbWJL4Rt1qYXX6jkcSFW5+EipUQt02eB7MbxfXTx1L0
AaaGwJSg48AbruebGUmKvGd4L+q1K9/SCXRcf/kbNaThHBDGFEaIrmSi1UEHntMl
wbqvfNS/ERBqkBx464eo91dSj868uOuoM2xl55Yr31dudxdL3pLRjBE0J0eN+G9X
1BqPdSTJLoj1tMLSaX99
=1K0Y
-----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