loop under 2.2.20 - relative block support?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 6 lines · Jari Ruusu
Quoted 5 lines · [email protected] wrote:
Quoted 3 lines · Jari Ruusu
Kerneli patches use block size dependant IV computation (also called "time bomb" IV). Shit hits the fan when you move files to a device with different block size. Search linux-crypto archives for more information.
Quoted 7 lines
Quoted 2 lines
Aha. So if I moved the loopback file onto a partition with the same blocksize again, it would all be fine?
If you can move original (unmodified) loop file to same block size, same kernel version, then yes. If you mounted it rw, then your "time bomb" exploded on your face.
Okay, my files are fine then, since the files were burned on cd right after I created them.
Is this still a problem with the 2.4 loop device? In your patch for 2.4.16 I noticed that the IV calculation is independent from the underlying block size. That alone would be enough to make me switch over from 2.2 ;-)
thanks a lot..
mailerror
Hush provide the worlds most secure, easy to use online applications - which solution is right for you? HushMail Secure Email http://www.hushmail.com/
HushDrive Secure Online Storage http://www.hushmail.com/hushdrive/
Hush Business - security for your Business http://www.hush.com/
Hush Enterprise - Secure Solutions for your Enterprise http://www.hush.com/
-----BEGIN PGP SIGNATURE-----
Version: Hush 2.1
Note: This signature can be verified at https://www.hushtools.com
wl4EARECAB4FAjx6lMEXHG1haWxlcnJvckBodXNobWFpbC5jb20ACgkQb539PwJB5JNC zQCdFCCDIQTekRvch+NwN2Z2mU4SOmIAoK5Z9j5SMGaxOLPUPnWw9N6zxR/J =BmUy
-----END PGP SIGNATURE-----
Quoted 6 lines · [email protected] wrote:
Quoted 4 lines · Jari Ruusu
If you can move original (unmodified) loop file to same block size, same kernel version, then yes. If you mounted it rw, then your "time bomb" exploded on your face.
Quoted 6 lines
Okay, my files are fine then, since the files were burned on cd right after I created them.
Is this still a problem with the 2.4 loop device? In your patch for 2.4.16 I noticed that the IV calculation is independent from the underlying block size. That alone would be enough to make me switch over from 2.2 ;-)
Recent versions of cryptoapi do 512 byte IV as do all versions of loop-AES (maintained by me, http://loop-aes.sourceforge.net/). If you want to keep using 2.2 kernels or want to use distro vendor kernels, loop-AES is better choice as it works with all kernels and has more up to date loop fixes than cryptoapi.
Regards,
Jari Ruusu <[email protected]>