I am trying to set up split-gpg with subkeys, as described in section
Advanced: Using Split GPG with Subkeys at Split GPG | Qubes OS.
But I can’t create the subkey.
vault VM, I create a master key:
[user@vault ~]$ gpg2 --full-generate-key
Then in the
work-gpg VM, I cannot create a subkey of the master key in
[user@work-gpg ~]$ echo "export QUBES_GPG_DOMAIN=vault" > ~/.profile [user@work-gpg ~]$ qubes-gpg-client --list-keys /home/user/.gnupg/pubring.kbx pub XXXXXX YYYY-MM-DD [SC] <something> uid [ultimate] xxxxxxxxxx [user@work-gpg ~]$ qubes-gpg-client --edit-key <something> qubes-gpg-client: unrecognized option `--edit-key` [user@work-gpg ~]$ gpg2 --edit-key <something> gpg (GnuPG) 2.2.27; Copyright ... ... gpg: key "<something>" not found: No public key
How to create the subkey?