When signing a file with a key that has an empty passphrase using python-gnupg the following code worked great using GPG4Win 2.2.6 but fails using 3.0.0 using Windows 7.
I have no issues with Debian unstable and gnupg 2.2.2 installed.
python gpg = gnupg.GPG() with open(filename, "rb") as signfile: signed_data = gpg.sign_file(signfile, keyid=keyid, detach=True)
I would expect a detached file signature to be created and no stderr to be generated.