mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Re: loop under 2.2.20 - relative block support?
@ 2002-02-25 19:43 mailerror
  2002-02-26 20:58 ` Jari Ruusu
  0 siblings, 1 reply; 3+ messages in thread
From: mailerror @ 2002-02-25 19:43 UTC (permalink / raw)
  To: Jari Ruusu; +Cc: linux-kernel, mailerror


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 25 Feb 2002 20:41:25 +0200, Jari Ruusu <jari.ruusu@pp.inet.fi> wrote:
>mailerror@hushmail.com wrote:
>> On Sat, 23 Feb 2002 21:47:56 +0200, Jari Ruusu <jari.ruusu@pp.inet.fi> wrote:
>> >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.
>>
>> 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-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: loop under 2.2.20 - relative block support?
  2002-02-25 19:43 Re: loop under 2.2.20 - relative block support? mailerror
@ 2002-02-26 20:58 ` Jari Ruusu
  0 siblings, 0 replies; 3+ messages in thread
From: Jari Ruusu @ 2002-02-26 20:58 UTC (permalink / raw)
  To: mailerror; +Cc: linux-kernel

mailerror@hushmail.com wrote:
> On Mon, 25 Feb 2002 20:41:25 +0200, Jari Ruusu <jari.ruusu@pp.inet.fi> wrote:
> >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 ;-)

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 <jari.ruusu@pp.inet.fi>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: loop under 2.2.20 - relative block support?
@ 2002-02-25 16:08 mailerror
  0 siblings, 0 replies; 3+ messages in thread
From: mailerror @ 2002-02-25 16:08 UTC (permalink / raw)
  To: Jari Ruusu; +Cc: linux-kernel


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 23 Feb 2002 21:47:56 +0200, Jari Ruusu <jari.ruusu@pp.inet.fi> wrote:
>mailerror@hushmail.com wrote:
>> What exactly is the status of the loopback device in 2.2.20 with regards
>> to relative block support? Is it *really* supported?
>>
>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.

Aha. So if I moved the loopback file onto a partition with the same blocksize
again, it would all be fine?

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

wl4EARECAB4FAjx6YkwXHG1haWxlcnJvckBodXNobWFpbC5jb20ACgkQb539PwJB5JOc
YACdHtDNGubq9SaNZYV/KaInmQMpJf8AoJEIc/weLqdnL3HhhyTpRRTJgqV9
=iQaH
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-26 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-25 19:43 Re: loop under 2.2.20 - relative block support? mailerror
2002-02-26 20:58 ` Jari Ruusu
  -- strict thread matches above, loose matches on Subject: below --
2002-02-25 16:08 mailerror

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®