My Debian box decided to upgrade from "gnupg 1.4" to "gnupg 2.1" after some kind of security update.
After this, I am no longer able to use or access any of my keys.
After any gpg command, it says:
gpg: Ohhhh jeeee: Assertion "uids_seen == uid_no" in skip_unusable failed (../../g10/getkey.c:982)
I cannot figure out if there's a particular key at fault or if there is a general problem.
I ended up downgrading and everything works as it did before. (I used APT pinning to prevent gnupg from upgrading again.)
Aside: as an experiment, I changed /usr/bin/gpg to be a symlink to /usr/bin/gpg2 after the downgrade. I.e., always use gnupg 2.0 . Everything works, 'tho, occasionally, I'll get "gpg: Note: signatures using the MD5 algorithm are rejected" for certain secret keys.
Am I forever banished to use gpg 1.4? Or, is there a safe upgrade path to gpg 2.1?