Jeff, Thanks for your input.
jeffreyabecker:I think you'd have better luck either encrypting the database after it's been built then un-encrypting it before reading in windows or just encrypting the data in the application layer.
The application is already in production. If we add encryption layer in the application side, previous databases will not be readable. The work to make the front end layer backward compatible will be much more involved.
I may try a different route, ie:
- rebuild a custom sqlite linked with openssl for RC4 and SHA1 in the UNIX box following information provided by sraillard in hist post in thread http://sqlite.phxsoftware.com/forums/p/473/2013.aspx#2013. If I can pull this off, the frontend code will not need be changed.
- adjustment of pysqlite with key/rekey methods linked with the custom sqlite lib
- cross fingers
However, I'm not too sure wether I can duplicate the functionality in a UNIX environment. Not to mentioned endianess and 32 vs 64 issues.
I'll give it a try on my 32bit linux box this weekend and will provide update OR more questions next monday :)
Thanks