On 6/24/20 1:57 PM, Bob Hepple wrote:
Here's another fix that functions well with gpg-agent:
$ GPG_AGENT_INFO="~/.gnupg/S.gpg-agent:$(pgrep gpg-agent):1" gjots2
It seems that they changed gpg-agent to not export GPG_AGENT_INFO so people are using
that fix eg https://github.com/funtoo/keychain/issues/59
If you can copy me at "bob dot hepple at gmail dot com" there's a better
chance I'll see it.
So recompiling (as it was recommended in the mailing list) actually
worked in allowing me to open the encrypted file, and even save at the
beginning. At one point that stopped working. So now my main issue
really is the inability to save encrypted content.
Regarding your 2 workaround: the 1st one went as far as offering me to
enter the passphrase to save, but the opening screen prompt had no
window frame. The 2nd one had a very nice opening window with a frame,
but the saving did not go as far as even prompting a passphrase.
Since I started the program from the command line here are the error
File "/usr/lib/python3.8/site-packages/gjots2/gui.py", line 1556, in
if self.gjotsfile.write_file(prompt="", exporting=0,
File "/usr/lib/python3.8/site-packages/gjots2/file.py", line 797, in
retval = self._do_store(self.filename,
File "/usr/lib/python3.8/site-packages/gjots2/file.py", line 467, in
f = self._general_open(filename, "w", reuse_password = reuse_password)
File "/usr/lib/python3.8/site-packages/gjots2/file.py", line 408, in
return self.gpg_open(filename, mode = mode, reuse_password =
File "/usr/lib/python3.8/site-packages/gjots2/file.py", line 328, in
scratch = tempfile.mktemp(text=True)
TypeError: mktemp() got an unexpected keyword argument 'text'
Hope that can help you... to help me ;-)
Thanks a lot.