Closed dbrgn closed 6 years ago
Rebased against current master.
Hey @dbrgn,
Thanks for this PR - a much cleaner approach indeed :) I'd started down this road myself, but never got time to finish it.
As you've seen, I've rebased this on master and added a couple of minor changes. A final change was to get rid of the fallback URL. We'd had some issues with the libsodium sources being temporarily unavailable from time to time, but I'm not sure it's still a problem. Either way; the fallback URL is gone!
I'll close this now since it's contained within #55. Thanks again!
Great, thanks!
Instead of calling out to curl and powershell, we can use a native cross-platform HTTP client instead. This gets rid of a lot of hacky code.
May I ask why there is a fallback URL for the libsodium sources? Makes me a bit uneasy to download the sources for a crypto library in production builds from a third party (although that's fine as long as the signatures are available too).
(This cleanup will make it much easier to implement #45)