Differences

This shows you the differences between two versions of the page.

Link to this comparison view

encryption [2011/08/29 11:18]
encryption [2011/08/30 15:34] (current)
Line 1: Line 1:
 +this is how to encrypt the images for the [[recovery]] procedure:
 +  * the en/decryption is done by **ubcrypt**
  
 +  Usage: key filename
 +  Decrypts file to standard output with given key,
 +  filename may be '-' which denotes standard input.
 +
 +  * **ubcrypt** uses the blowfish feedback cipher. To decrypt using openSSL:
 +
 +  openssl bf-cfb -d -K <key> -iv <IV> -in <image.bin.enc> -out <image.bin>
 +
 +  * the initialization vector (IV) is in **ubcrypt**. you'll have to disassemble it to get it.
 +
 +  ab58a33429f47fd6
 +
 +  * all the keys to decrypt the images are in **recovery.ini**
 +  * the encrypted recovery **rootfs.tgz.enc** uses the beginning (16 bytes) of the public key in **customisatin.ini** as key
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki