I have a backup image mounted at
/mnt. I need to recover (and revoke) a key in the secret keyring on this backup.
How can I list keys and generate a revocation key for a key stored in this other keyring?
When I do:
gpg --homedir /mnt/home/naftuli/.gnupg --list-keys
I see the keys installed locally and not the keys installed in the backup's keyring.
What's really strange is that if I
chroot to the
/mnt folder and run
gpg --list-keys, I still see the keys in the other keyring.