py-mine / PyMine-Server

A fast and easy to use, moddable, Python based Minecraft server!
GNU General Public License v3.0
175 stars 34 forks source link

Implement code signing for plugins #275

Open 456dev opened 3 years ago

456dev commented 3 years ago

Features

Reasons

https://stackoverflow.com/questions/21122426/pgp-gpg-signed-python-code

456dev commented 3 years ago

Import processing -> finds all plugins in a directory, stores as a list of paths to import for each, call import with the extra hook. this extra hook verifys the developer signiture and the publisher/distrobution signiture. if either check fails, should either: warn the user, ask to continue if debug mode: -> warn in console, contiue w/o prompt (maybe a config option just for plugin development, and documented that it reduces saftey/security) if secure mode: reject plugin outright with error, require all plugins be signed.

Sh-wayz commented 3 years ago

@all-contributors add @the456gamer ideas

allcontributors[bot] commented 3 years ago

@Sh-wayz

I've put up a pull request to add @the456gamer! :tada: