[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tip: Converting between different ciphers
Hello!
If you need to convert your crypto-fs from cipher to another (for example
from serpent to aes), you can use this:
1) setup loop0 (your current crypto-fs)
2) setup loop1 using the same device as loop0, but using the new cipher
3) don't mount loop0 or loop1
4) dd if=/dev/loop0 of=/dev/loop1
5) detach the loops
6) setup loop0 using the new cipher
7) done
Worked at least in couple of machines.
Use at your own risk! Remember the backups!
-- Pasi Kärkkäinen
^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/