[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re-encrypting using multi-key, again
Christian Kujau wrote:
> oh, i have aespipe v2.2d - sorry i missed that. i'll upgrade and see what
> it gives.
aespipe-v2.3a should fix that error.
> > Cipher type or cipher key length or key file content change requires
> > re-encryption of the file system data.
>
> ...which could be accomplished by "dd | aespipe -d | aespipe | dd", right?
Yes.
> root@sheep:~# losetup -e aes128 -K ~/keys/sda8.gpg /dev/loop6 /dev/sda8
> Password:
> root@sheep:~# losetup -a | grep loop6
> /dev/loop6: [0805]:380 (/dev/sda8) encryption=AES128 multi-key-v2
> root@sheep:~#
> root@sheep:~#
> root@sheep:~# losetup -e aes128 -K ~/keys/sda8.gpg /dev/loop0 test.img
> Password:
> root@sheep:~# losetup -a | grep loop0
> /dev/loop0: [0805]:16819615 (test.img) encryption=AES128 multi-key-v3
> root@sheep:~#
This was a bug in loop code. My fault.
Fixed in loop-AES-v3.0b
--
Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/