In CertifyCertificateCommand::Private::createJob we have observed triggering the assert:
Q_ASSERT(key().protocol() == OpenPGP);
This was reproducible by:
- Editing a secret key with gpg --edit-key
- set trust to unkown
- certify another key in Kleopatra
- Select "yes" in the question box to mark this key as your own
- Confirm the dialog
I was able to reproduce it about 4 times but after adding some debug output I could no longer reproduce it. Now I can neiter reproduce it on Windows nor on Linux even with unchanged binaries. So it might be that this problem was there for longer but is a timing issue that we only noticed now in pre release testing.