On 6/24/20 1:57 PM, Bob Hepple wrote:
> Hi Fred,
>
> Here's another fix that functions well with gpg-agent:
>
> $ GPG_AGENT_INFO="~/.gnupg/S.gpg-agent:$(pgrep gpg-agent):1" gjots2 
> your-file.gpg
>
> 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
>
>
> Cheers
>
> If you can copy me at "bob dot hepple at gmail dot com" there's a better 
> chance I'll see it.
> _______________________________________________
>
Hi again!

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
messages:

self._do_save()
  File "/usr/lib/python3.8/site-packages/gjots2/gui.py", line 1556, in
_do_save
    if self.gjotsfile.write_file(prompt="", exporting=0,
reuse_password=reuse_password):
  File "/usr/lib/python3.8/site-packages/gjots2/file.py", line 797, in
write_file
    retval = self._do_store(self.filename,
  File "/usr/lib/python3.8/site-packages/gjots2/file.py", line 467, in
_do_store
    f = self._general_open(filename, "w", reuse_password = reuse_password)
  File "/usr/lib/python3.8/site-packages/gjots2/file.py", line 408, in
_general_open
    return self.gpg_open(filename, mode = mode, reuse_password =
reuse_password)
  File "/usr/lib/python3.8/site-packages/gjots2/file.py", line 328, in
gpg_open
    scratch = tempfile.mktemp(text=True)
TypeError: mktemp() got an unexpected keyword argument 'text'

Hope that can help you... to help me ;-)

Thanks a lot.

Fred
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to