Gjots2 no longer prompts for PGP passphrase
hierarchical note jotter - organise your ideas, notes, facts in a tree
Brought to you by:
bhepple
Wanted to try with the latest version but couldn't install (see other). Apparently since version 3.0.2 when opening PGP encrypted files there is no longer a prompt for the passphrase. Was discussed on Fedora ML at
To summarize "It looks like the way gjots2 detects gpg changed between 2.3.15 and 3.0.2, with 3.0.2 using the now outdated GPG_AGENT_INFO. A simple patch to fix this and allow gjot2 to prompt for
passprhases is:
- if os.environ["GPG_AGENT_INFO"]:
+ if "GPG_AGENT_INFO" in os.environ and os.environ["GPG_AGENT_INFO"]:
in /usr/lib/python2.7/site-packages/gjots2/file.py."
Hope that helps.
Thank you.
Ok so apparently this now doesn't work when trying to save: it just doesn't save and if you click yes when closing just locks the file indefinitely. There might be some bigger Python changes which are breaking the process I guess.