openplanet-nl / plugin-manager

In-game plugin manager, installer, and updater.
6 stars 5 forks source link

Feature request: download checksum validation #18

Open sylae opened 1 year ago

sylae commented 1 year ago

a user came on the discord with a weird issue, turns out their download was interrupted or something else caused the .op file to get fucky. ref: https://canary.discord.com/channels/276076890714800129/449983875586850827/1064016456527917116

i wonder if it would be possible for the openplanet.dev api to provide a precalculated checksum of the download, which the plugin manager could validate once downloaded? There's the code signing stuff to prevent tampering, but in this case it didn't really help due to the plugin itself being borked.

anyway it'd be pretty fukken poggers if the plugin manager could be like oopsie woopsie that download didnt work, and prompt the user to retry the download or something, idk.

CodyNinja1 commented 1 year ago

or retry the download automagically