Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
WIP: Blob encryption #1
We implemented Bob encryption here.
So we have to save the encrypted file somewhere on the filesystem and return the filename of
Is there a better way to solve this?
we are trying to add support for encrypting files in the blobstorage and would like to get your feedback on the work done by now.
encryption is working well - i think. decryption is done by creating a temporary decrypted file in $INSTANCE_HOME/var/tmp and return its filename instead of the filename of the original blobfile.
@pcdummy already started to implement "junk encoding" the files to save ram and gain performance. we'd need to use https://github.com/webmeisterei/keas.kmi/tree/enc_dec_file to get this working.
one of the open issues is the "garbage collection" of encrypted files in $INSTANCE_HOME/var/tmp.
we'd love to get your feedback. what needs to be done to get this merged?
we are happy to add tests for our blob related additions as soon as we got your feedback and and can be sure this gets merged. maybe you could help us to fix the tests?
I'm not using cipher.encryptingstorage, and I'm not interested in maintaining it. Feel free to take over, if nobody else objects.
One obvious thing that would be good to fix is to make the tests not fail on Travis ;)
(I haven't checked but this is probably the Python 3.2 thing, where the best way forward is probably drop Python 3.2 support from travis.yml, tox.ini and setup.py.)