Closed aventrax closed 6 years ago
Issue solved simply initializing the C:\temp directory with gpg.exe:
set GNUPGHOME=C:\temp
gpg -k
gpg: keybox 'C:/temp/pubring.kbx' created
gpg: C:/temp/trustdb.gpg: trustdb created
After that, the python script worked.
Hello, I'm trying to simply retrieve a public key from a key server, but the same code fails on windows and works on linux. Can you help me?
The code is here:
On windows, the last line produces an error that I'm not able to understand:
Windows 10: Python 3.6.3 (python-gnupg: 2.3.1) GnuPG 2.1.15 (tried 2.2.5, same result)
Ubuntu 16.04: Python 3.5.2 (python-gnupg: 2.3.1) GnuPG 2.1.11
Any help?