Posts by le3b

    Sorry LE and WLAN we are not friends. I always use wired.

    The .kodi mount in a extra partition I did too for testing. You even can do that with ext4 FS encryption without extra partition. But the ext4 in FS encryptuon is kind of bad documented.

    My goal was/is the same: take out one fully encrypted system and all the rest is gone no cache or metadata left.

    NBDE with tang and clevis is very cool for that. I do that all the time with any RHEL and clones. At work with hundreds of servers.

    TIL about tang & clevis!

    Hi sky42: thanks for the pointers, and they are the good ones, and I'm pretty sure they would have worked should I have relied on wired network, but I'm making it difficult for myself by trying to build this for my raspberry pi3 boxes which work over wifi.

    My ultimate goal is to be able to disable every player in my network by turning off a single machine, not just from playing content, but also from third party accessing any logs, history, or caches after physically removing device. My previous setup was with OSMC over initrd, with initializing interface using wpa_supplicant and then asking NAS for disk decryption key and decrypting root; however lately I cannot make initrd work with osmc. Approach that LibreELEC has (read/only root) also works, as root partition is static, so encrypting only /storage is sufficient.

    With your build I almost succeeded, and here were the issues I faced:

    - wlan driver will not work, as it requires loaded modules

    - once you get modules loaded, they still don't work due to missing firmware

    I used a plugin in /flash/post-sysroot.sh , and made it invoke a variant of /usr/sbin/kernel-overlays-setup, but was still unable to make a builtin wifi module work. With that said, an external 802.11AC module did work, and I was looking to use it anyway, so that hurdle I did pass, but then without wpa_supplicant I had to use something else;

    - connmanctl requires interactive session to connect, and

    - iwctl hangs, I think because it too requires an agent service running (the one spawned by systemd later)

    for now I settled with just shrinking /storage partition to make space for encrypted data, and creating systemd service, which forces itself before kodi, and it mounts encrypted partition over .kodi and all other non-dot directories

    If you are willing to have wpa_supplicant added to the build (which really serves no other purpose than my specific configuration) I could try again making /storage fully encrypted using air-supplied key. Not sure if that is worth the effort, but I leave it up to you.

    Thanks again for the build, it got me much further than before