<p>Current idea is to use a <a href="http://docs.python.org/3/library/tempfile.html#tempfile.NamedTemporaryFile">NamedTemporaryFile</a> to decrypt the encrypted user QSettings file into. That way, if the application closes the temporary holding the users unencrypted data will be destroyed as well. This will mean that any writing to QSettings will have to go through the <a href="https://python-gnupg.readthedocs.org/en/latest/index.html">python-gnupg</a> system to decrypt and write to the file. This will all be written up formally with corresponding code and presented outwards for review once it has been implemented.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/commotion-client/issues/17#issuecomment-38936203'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMTY0MTk0NCwiZGF0YSI6eyJpZCI6Mjg2MTQ0NjN9fQ==--8b78fc29618d9ff84268a1dbd48e5426a710b8c5.gif' height='1' width='1'></p>