What I want to do -doable ?

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

 



Hi,

Since I am realy quite new to crypto stuff....I'll just tell you what I am 
trying to do....if you could point out bad points or give hints they would be 
greatly appreciated.

To make my system-data totally robbery safe:
I'd like to put a loopback-crypto with reiserfs on all my partitions except 
/boot (so on /, /usr, /home etc.). The encryption I wish to use is the aes 
(the winner of that competition). 

This is my little dream:
After starting my computer, running lilo and selecting my kernel (lying on 
/boot the kernel can be read) a initial ramdisk is loaded...containing 
losetup, mount and a script I will write. This script will ask for the 
password to decrypt the partitions, and will then mount all my partitions 
with this passoword, meaning I enter _one_ password _once_. When the 
partitions are mounted (to /mnt and sub) I chroot into my new system and 
continue booting. Since with swap it doesnt seem to be possible to encrypt 
it, I am  planning on not using a swap partition at all.

Where do you see problems ?

Ideas of problems I have:
the script:
is it possible to "enter" the password with a script ?
around the script:
where do I put it (so the initial ram disk will load it ??
how will I make the system continue to boot normaly when finished ?
does linux work with out swap (I got 512 MB RAM) ?
is it safe ??

Thanks for reading (and possibly helping)
Peter
-- 
Reality is a cop-out for people who can't handle drugs.

-
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