I'm trying to get antievilmaid working, and I've been following the
instructions here:
http://git.qubes-os.org/?p=joanna/antievilmaid.git;a=blob_plain;f=README;hb=HEAD
I've managed to take ownership of my TPM, set a SRK password, build a
new USB stick for /boot and set it up, boot to an AEM boot, and
allegedly seal a secret.
I first tried a png file as my secret, including
"rd.antievilmaid.png_secret" as one of the flags in
GRUB_CMDLINE_AEM_FLAGS in /etc/default/grub.
When I booted it just displayed the normal Qubes logo and a small
loading bar. When I press escape it says: "Attempting to unseal the
secret passphrase from the TPM...", some blank space, and then "Continue
the boot process only if the secret above is correct!"
I figured it might be some issue with using a png file. So I booted and
re-sealed my TPM, this time with a string instead of a png file. But
when I boot from my USB stick I still have the same problem. It shows
the normal Qubes logo boot, and when I press escape it says the same
thing, but still not displaying my secret phrase.
It asks for my SRK password when I seal a secret, but not when I boot.
Is this expected?
Something that could be the cause:
When I first edited /etc/default/grub, I added the line:
export GRUB_CMDLINE_AEM_FLAG="rd.antievilmaid.asksrkpass
rd.antievilmaid.png_secret"
Not realizing that I had a typo, and it should be
GRUB_CMDLINE_AEM_FLAGS. After rebooting, I edited that to be
GRUB_CMDLINE_AEM_FLAGS and then ran:
sudo grub2-install /dev/sdb
to reinstall grub onto my USB stick. Is it possible that I reinstalled
grub incorrectly, and that flag isn't set like it should be?
--
Micah Lee