Add support for encrypted images
Created by: elvirolo
It would be great if one could create images with an encrypted rootfs. The Internet Cube project has implemented such a feature, the code can be seen there: https://github.com/labriqueinternet/build.labriqueinter.net/tree/master/build/script. The way they do it is that an http(s) server is started which provides a webpage allowing the user to unlock the rootfs remotely. It could also be done via ssh/dropbear (see: https://projectgus.com/2013/05/encrypted-rootfs-over-ssh-with-debian-wheezy/).