Description of problem: In Copr, we use obs-signd for signing packages. It uses gpg2 internally. After we upgraded from F33 to F35 it started failing with a strange error. [root@copr-keygen-dev ~][STG]# /bin/sign -u frostyx#foo.org -k gpg: problem with fast path key listing: Result truncated - ignored gpg: Ohhhh jeeee: Assertion "sig->version >= 4" in mk_notation_policy_etc failed (sign.c:89) Aborted (core dumped) Version-Release number of selected component (if applicable): - gnupg2-2.3.3-1.fc35.x86_64 - obs-signd-2.5.10-1.20210907git5c32050.fc35.x86_64 How reproducible: I am sorry, I don't have a more concrete reproducer using only `gpg2` command. If necessary, I can try to dig in more. Additional info: The error message gpg: Ohhhh jeeee: Assertion "sig->version >= 4" in mk_notation_policy_etc failed seems that it was not meant for users. I don't really understand what is wrong and why. Is there some issue on my side or is this a bug in gpg2?
FTR I submitted this issue for obs-signd as well https://github.com/openSUSE/obs-sign/issues/32
Seems like a duplicate to bug 2022904 in the end. *** This bug has been marked as a duplicate of bug 2022904 ***