isislovecruft/python-gnupg

Do I need to use old version of gpg??

Hwi-gyeom opened this issue · 0 comments

I use this package in Windows environment, and can't figure out what I should do...

According to error message, I need to use another version of gpg,

but I downloaded the latest version of gpg4win(3.1.7).....(it installed gpg 2.2.15 to me) is there and restriction on the version??

gpg=gnupg.GPG(binary='C:/PleaseGPG/GnuPG/bin/gpg.exe',homedir='./keys',verbose = 'True' )

Got invalid version line from gpg: 2.2.15
File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\pretty_bad_protocol_meta.py", line 532, in _check_sane_and_get_gpg_version
raise RuntimeError("Got invalid version line from gpg: %s\n" % self.binary_version)
File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\pretty_bad_protocol_meta.py", line 250, in init
self._check_sane_and_get_gpg_version()
File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\pretty_bad_protocol\gnupg.py", line 126, in init
ignore_homedir_permissions=ignore_homedir_permissions,
File "C:\Users\user\Desktop\2019 봄\IS521\PGP_activity\2019s-GoldMine\pgpgpgp.py", line 12, in
gpg=gnupg.GPG(binary='C:/PleaseGPG/GnuPG/bin/gpg.exe',homedir='./keys',verbose = 'True' )
File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\Lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\Lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\Lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)