Yes that was it. I had created the file as /etc/qubes/policy.d/50-ssh-policy not /etc/qubes/policy.d/50-ssh.policy (- vs .)
Now I see the prompt and when I enter the vault VM’s name (vault-test) and click OK, I get the error error fetching identities: communication with agent failed.
The guide says to check the VM interconnection setup but I am not sure what to check.
For what it is worth, I am testing with a key that has a passphrase. Could that be causing the behaviour?
I thought we were to do everything in app qubes?
Anyway, my bad for reading my own version of the instructions
Let me redo everything accordingly. Thanks.
First issue was a typo as pointed out here and was fixed accordingly in this post
Second issue was a misunderstanding of how I read the guide as pointed out here. I had assumed that all config would be done in the qube but in this case not. As the title of this section says “In the Template of Your AppVM vault”
With this configuration you’ll be prompted for entering your password every time you start your vault VM to be able to make use of your SSH key.
From the latter:
If you’re using KeePassXC, shutdown KeePassXC on your vault VM. If not, make sure your private key is not added to the ssh-agent in your vault VM (Check with ssh-add -L). If it is, restart your vault VM and do not enter your password when it asks you to.
For my case, since I wasn’t using KeePassXC, entering the password when the vault VM starts up allowed the configuration test to pass.