Displaying 3 results from an estimated 3 matches for "cryptopen".
2020 Feb 24
0
Encrypted container on CentOS VPS
...of=gor.loop bs=1M count=2000
b) luks encrypt it: cryptsetup luksFormat gor.loop
c) dev mapper mount it: cryptsetup luksOpen gor.loop
luks-gor.loop
d) fs it: mkfs.ext4 /dev/mapper/luks-gor.loop
e) mount it:? mount /dev/mapper/luks-gor.loop
$PWD/gor.rootfs.encrypted
f) use it (to simplify I'd put cryptOpen + mount + unmount +
luksClose into a script)
g) remember!! still at least (depending how you mount it)
the 'root' will have access to that data while mounted,
obviously!
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://list...
2019 Jul 23
2
mdadm issue
...n bringing it up when I rebooted,
until I commented it out of fstab.
Now, cryptsetup gives me the same UUID as I have in /etc/mdadm.conf. The
entry in /etc/crypttab looks identical to the RAIDs for root and swap, but
nope.
I was able to d an mdadm --assemble -u $(UUID from mdadm.conf), and then a
cryptopen luks... but never got anything in /dev/mapper.
I'm still fighting - any thoughts? (No, I can't reboot again, like I did
this morning, it's now serving four important home directories from
another pair of drives with RAID 1.)
mark
2020 Feb 23
4
Encrypted container on CentOS VPS
On 02/17/2020 05:03 AM, lejeczek via CentOS wrote:
> On 16/02/2020 15:18, H wrote:
>> I wonder if it is possible to set up an encrypted "file container" on a CentOS VPS? I am the root user of the VPS but the hosting company also has access to the VPS and thus all files. Is it possible to create a LUKS-container on the VPS and those files only be accessible by me? IOW, most of