Using the Zymkey 4 on a Raspberry 4 I’m eventually wanting to use the functionality of unlocking LUKS via the Zymkey measuring the state of the Raspberry Pi.
I’ve seen the ‘mk_encr_sd_rfs.sh’ and wanted to test some of the individual binaries this script calls: zkgrifs, zklockifs and zkunlockifs.
I’m finding a that these aren’t reliable to call? Whilst the first 2 work for me I frequently get issues
ubuntu@ubuntu:~$ sudo zkgrifs > test-key.bin Segmentation fault
ubuntu@ubuntu:~$ sudo zkgrifs > test-key.bin could not process msg led_msg failed Unexpected response received. sessionMsgID = 0100, rx msgid = ffff, expected_msg_id = 0007 led_msg failed
I know these binaries should eventually be ran in the initramfs but should they also work when fully booted?