Editing HDD Encryption/Decryption
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category: | [[Category:Linux]] | ||
=Introduction= | =Introduction= | ||
Line 62: | Line 62: | ||
* Problem: how to set masterkey in GELI ? | * Problem: how to set masterkey in GELI ? | ||
* GEOM geli is a wrong approach and won't work. We need a new GEOM class for PS3 HDD decryption !!! | * GEOM geli is a wrong approach and won't work. We need a new GEOM class for PS3 HDD decryption !!! | ||
==Test== | ==Test== | ||
<pre> | <pre> | ||
mdconfig -a -t vnode -f ~/ps3da_enc.bin -u 1 | mdconfig -a -t vnode -f ~/ps3da_enc.bin -u 1 | ||
geom bswap16 create md1 | geom bswap16 create md1 | ||
geli init -K hdd_key.bin -P -e AES-XTS -l 128 -s 512 /dev/md1.bswap16 | |||
geli attach -p -k hdd_key.bin /dev/md1.bswap16 | |||
geli detach /dev/md1.bswap16.eli | |||
</pre> | |||
=GEOM AES-XTS= | |||
=GEOM part PS3= | =GEOM part PS3= | ||
=Links= | =Links= | ||
* https://www.dan.me.uk/blog/2012/05/05/full-disk-encryption-in-freebsd-9-x-well-almost/ | * https://www.dan.me.uk/blog/2012/05/05/full-disk-encryption-in-freebsd-9-x-well-almost/ | ||