trying to use losetup, ioctl tells me argument is invalid
- Anmelden oder Registrieren um Kommentare zu schreiben
hi
I try use losetup
to encrypt file system
but ioctl tells me argument is invalid
Code:
losetup -e aes-256 /dev/loop0 /dev/hda5
Password:
REPRODUCE ERROR:
ioctl: LOOP_SET_STATUS: Invalid argument
perhaps the bug should be for the kernel?
Or am I doing something wrong, but the way above worked always (tested on other distro)?????????????
???
Have you tried inserting the modules as suggested in the manual?
I also see that the manual states
DES encryption is painfully slow. On the other hand, XOR is terribly weak. Both are insecure nowadays.
Cryptoloop is deprecated in favor of dm-crypt.
>Have you tried inserting the modules as suggested in the manual?
yes
> Cryptoloop is deprecated in favor of dm-crypt.
ok
dm-crypt with luks or Without luks??????????
Usually with LUKS.
https://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions
question 2.4 explains this. LUKS provides metadata (e.g. what ciphers
it uses), supports multiple passphrases used to decrypt the master key
and is more usable. Plain format has specialized uses like encrypted
swap with random keys.
- Anmelden oder Registrieren um Kommentare zu schreiben