I've set up an encrypted root on my RPi and set up dropbear and have been able to unlock when connected to the network via ethernet/dhcp. My ip addresses are reserved in my router so even using dhcp I still get the same ip each boot.
I've set up mkinitcpio-netconf to give me network access over ethernet, but I don't see how to set it up for wifi. If I can't unlock over wifi I won't be able to complete my project which is nearly done, unlocking the encrypted root via wifi is my last step before being finished.
My whole project is supposed to be a RPi wireless security camera using motion/motioneye, something that can be placed out in the yard within range of wifi and record saving the recorded data to a remote server.
I've got the camera working and saving to my odroid-xu4 samba server, I've encrypted my root and gotten it to boot, and I've unlocked via wired network connection which does me no good in my yard where there is no ethernet...
If anyone can point me in the right direction I could really use the help, there isn't much current info on encrypted root that I could dig up and due to the lack of current info it took me quite a few attempts just to get the encrypted root to boot, unlocking over ethernet wasn't too bad but I can't find any info on how to unlock over wifi.
I'm assuming something like wpa_supplicant needs to come into play mkinitcpio-netconf uses systemd-networkd which I've been having issues getting connected to wifi. I've been using netctl where I can put the (hashed)wifi password into the netctl profile.
My whole point in encrypting the root was to keep my data private so things like our network passwords, addresses and logins for my samba server are kept safe. Since my boot isn't encrypted if the initrd contains something like wpa_supplicant so I can unlock over wifi, if someone were to steal my RPi cam they'd potentially be able to get our network password if they had any clue what they were looking at.
I've seen how low security most ip cams are, I'm doing my best to avoid as many security holes as possible