I have an keypair with stripped primary secret key.
sec# rsa4096/0000000000001111 2021-02-28 [C]
uid [ ultimativ ] John doe <john.doe@none.com>
ssb rsa3072/0000000000002222 2021-02-28 [E]
ssb rsa3072/0000000000003333 2021-02-28 [SA]
- When I'm deleting the pubkey with delete-keys, no warning (as usual) is issued before deleting and the secret subkeys remain in private-keys-v1.d
- delete-secret-keys with the primary keyid returns "key 00001111 not found"
- delete-secret-keys with the subkey keyid returns "key 00002222 not found"
- delete-secret-keys with the subkey keyid and exclamation mark deletes specific secret subkey (expected behavior)
delete-secret-key with the primary keyid should delete all secret-(sub)keys, even if primary secret-key is stripped. secret-key warning should be issued when using delete-keys