encrypting existing filesystem without aes-pipe?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Hi
I found that it is possible to encrypt device without using aes-pipe.
After /dev/hda1 has been associated with loop device /dev/loop0 this
command:

# dd if=/dev/hda1 of=/dev/loop0

Encrypts hda1 and makes filesystem on this device accessible via loop0.

I'm developing application, which I don't like to depend on aes-pipe.

Well, this method worked for my test filesystem, but I'm not sure if it
will work in every situation. Does anybody on the list see any dangers
in this method compared to classic "dd if=dev|aespipe|dd of=loop"?

Greetings
Pawel Pokrywka

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQD1AwUBQTmcEgYJ6m8RUpKnAQJpawb/ZdLhJ4CqpUc5Fl6T6ssuskYFmkw2OVhM
KcWzqcVcbCpJoTLNFf/y98FAc6LCAB8JiRUj8Wtb0Mbn/lTKh++afpQCPiKHQPPv
Pkyxe/Om3++LUKeKvyLOUzMt9/zxo+j/m5v9lajGdfFBz3U3qB72zaeMMJiVz+OX
rgvJ2oq3qif62sJbFT4LxNsAED0OjCoEXsmBQdzQxPEiu53sUEluk/RrNxb30Cgu
cAFA3wBq1bW/Bfg9dMNIm+KPpYfF1Gy1QKvuYqYX0ZuuU0WgUb28+c9K1swOREYe
i81WPxeTf7Q=
=j7JR
-----END PGP SIGNATURE-----

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux