AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Sd card decryption software2/27/2023 For example a spare sector on the SD would be the typical choice, but you can even embed it into one of your executables. Then you have to find a suitably hidden location to store this pseudorandom number that is to all intents and purposes " the password" and thus the weak point of the whole encryption mechanism. For example, the password could be a combination of some pseudorandom sequence number (known to you) and the specific Pi's serial number obtained from a cat /proc/cpuinfo. The encryption would be performed while installing the software on the Pi, and the decryption would be performed at runtime, possibly in RAM. Openssl enc -d -a -aes-256-cbc -pass pass:abc123 -in /tmp/ciphertext.enc For example, an easy openssl demo could be: openssl enc -a -e -salt -aes-256-cbc -pass pass:abc123 -in /tmp/plaintext.txt -out /tmp/ciphertext.enc It's sufficient to store the (encrypted) password on the SD card and use it to decrypt your data. Of course it's possible to decrypt encrypted file/containers/etc.
0 Comments
Read More
Leave a Reply. |