GlowstoneMC / Glowstone

A fast, customizable and compatible open source server for Minecraft: Java Edition
https://glowstone.net
Other
1.9k stars 273 forks source link

Add checksum validation to library manager #802

Closed aramperes closed 6 years ago

aramperes commented 6 years ago

This is my take to improve the library manager by adding checksum validation and allowing configuration of repository/lib directory.

543

I'm open to suggestions or rejection :)

aramperes commented 6 years ago

@Pr0methean I am not familiar with Java's SSL API. Do you know if/how the signature is exposed in the HttpsURLConnection API? I'm not sure where to look.

mastercoms commented 6 years ago

I feel like it would be better to have the checksums hard coded in, since this is being used for file download integrity.