It was suggested to me off-list to use a shell script as boot program for more flexibility. in that case doing the auth/secstore + read to deal with secstore would be trivial.
Replacing /sys/src/9/boot/boot.c and friends with a set of shell scripts has been in my TODO for a while now, the current code is too rigid and inflexible, and expanding it would make it too complex, replacing it with easily customizable shell scripts would solve many problems. Best wishes uriel
