gen0cide / gscript

framework to rapidly implement custom droppers for all three major operating systems
https://github.com/gen0cide/gscript
GNU Affero General Public License v3.0
680 stars 105 forks source link

Use unique encryption keys for every asset in every Genesis VM #106

Closed capnspacehook closed 5 years ago

capnspacehook commented 5 years ago

Currently every Genesis VM uses a single encryption key for every asset stored and used by that VM. While every VM uses a unique global key, security of the assets could be improved by using unique encryption keys for every asset in every VM. This is exactly what this PR does.

The second commit isn't necessary per say, after making the changes necessary to allow every asset to use a unique key, I realized the GensisVM.DecryptionKeys member was unnecessary. I don't know if you guys want to keep that data member around for debugging purposes, if you do I'll revert that last commit and we'll be good to go.

Lastly, this project is structured and laid out very logically and nicely, making changes like this is easy. Thanks for creating such a great project that is also so easy to maintain!