Prbl: Forgot to provide seed when crypting /

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

 



Hi,

I'm stuck with an unusable disk :
I followed loop-aes.readme and Gentoo's
http://forums.gentoo.org/viewtopic.php?t=108162&postdays=0&postorder=asc&start=0 instructions on building
encrypted root partition.

However, when modifying buil-initrd.sh I uncommented the SEED and ITERATION
options (can't remember exact names) and broke cardinal rule by not writing
seed down on paper ;-(

I then followed the remaining instructions to the letter. Immediately after
crypting my root from Knoppix, I remembered that I didn't provide any seed.

2 questions :
-how can I decrypt my root partition ? 
 dd if=/dev/hda5 bs=64k | /mnt/aespipe -d -K /mnt/rootkey.gpg -G / | \
     of=/dev/hda5 bs=64k conv=notrunc
-If providing seed in initrd what command should I have used ?
 dd if=/dev/hda5 bs=64k | /mnt/aespipe -e AES256 -H SHA512 -K
/mnt/rootkey.gpg -G / | \
     of=/dev/hda5 bs=64k conv=notrunc


-- 
--
Pierre

GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++


-
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