I'm trying to use the python-gpg wrapper for GPGME to revoke a signature. My code is here: https://bitbucket.org/malb/batzenca/src/e891b2d4fad86bd36059d6da04de38775c68ef91/batzenca/gnupg.py#lines-543
However, I'm ending up with:
python3: ../../src/engine-gpg.c:800: command_handler: Assertion `gpg->cmd.code' failed.
This looks like a bug to me, but I might also be calling the library wrongly.