When using gpg --edit, if you select some subkeys and use delkey, they disappear
from the keyring, and you correctly cannot use them anymore, but it seems the
private key is never actually deleted.
Steps to reproduce:
- Use delkey to delete some subkeys
- Try to do something that requires those subkeys, which as expected fails
- Reimport your public keys, with e.g. --refresh-keys
- The action in 2) now succeeds