Change GNUPG home directory variable
In newer versions of gnupg, it uses `homedir` instead of `gnupghome` When using gnupghome in the simplelogin.env I get this error when running the docker command to prepare the database by running the migration: ...... other errors above File "/code/app/dashboard/views/mailbox_detail.py", line 20, in <module> from app.pgp_utils import PGPException, load_public_key_and_check File "/code/app/pgp_utils.py", line 14, in <module> gpg = gnupg.GPG(gnupghome=GNUPGHOME) File "/usr/local/lib/python3.7/site-packages/gnupg.py", line 827, in __init__ raise ValueError('gnupghome should be a directory (it isn\'t): %s' % gnupghome) ValueError: gnupghome should be a directory (it isn't): /sl/pgp Changing my simplelogin.env to use homedir instead, made this process work. Hope this helps.
This commit is contained in:
parent
1f9d784382
commit
215bfe1daf