How to set the GnuPG home directory within the GnuPG Python binding?

前端 未结 4 1802
悲&欢浪女
悲&欢浪女 2021-01-02 22:59

When trying to initialize the GnuPG binding in Python, I\'m getting an error message

TypeError: __init__() got an unexpected keyword argument \'gnupghome\'
<         


        
4条回答
  •  生来不讨喜
    2021-01-02 23:53

    You should refer to the gnupg documentation as it uses homedir at the place of gnupghome.

    Please follow the documentation it might solve your issues: gnupg python documentation

提交回复
热议问题