zopefoundation / cipher.encryptingstorage

ZODB storage wrapper for encryption of database records
Other
5 stars 8 forks source link

Question: Encrypt a unencrypted Database #2

Closed jochumdev closed 8 years ago

jochumdev commented 8 years ago

Is there a simple way to completely encrypt a decrypted Database?

So, having a database that isn't using cipher.encryptingstorage then use cipher.encryptingstorage and encrypt all contents.

@mgedmin @jimfulton @frisi

jimfulton commented 8 years ago

I'm not familiar with cipher.encryptingstorage, but if it works with ZRS, then you could replicate from the unencrypted database to the encrypted one.

jamadden commented 8 years ago

relstorage also includes a general-purpose tool for copying all the data from one database storage to another. I've used it to take an uncompressed database and compress it with zc.zlibstorage. If you can write the source and destination storages in ZConfig syntax, then zodbconvert should work with them.

jochumdev commented 8 years ago

@jamadden thank your for the link to zodbconvert i did what i want after a little patch to cipher.encryptingstorage.