News for hackers. Stuff that matters.
Re:Deno Is a Browser for Code by datalist on Friday May 29, 2020 @03:43AM (#23347291)
While not exactly what you are asking, SRI does address that issue to a certain extent

https://medium.com/binary-passion/gentlemen-please-fasten-yo...

Re:Deno Is a Browser for Code by ChristianBundy on Friday May 29, 2020 @04:39AM (#23347703)
Does SRI allow signatures? I want to have a policy where any script signed by my Ed25519 key is valid, I don't want to have to hardcode the hash everywhere.
Re:Deno Is a Browser for Code by WealthVsSurvive on Friday May 29, 2020 @10:58AM (#23350669)
It doesn't, it's only for verifying that the thing is what it was when hashed and not who it's from. The funniest part of this discussion to me is that we're now discussing features of a, say it with me, a package manager! Only now we get to add them by hand.
Re:Deno Is a Browser for Code by datalist on Friday May 29, 2020 @11:16AM (#23350917)
To be honest, I am not sure what should be wrong with adding code by hand.

Libraries were added manually by legions of developers long before one thought he'd need to create a downloadable left-pad "package".

The whole package management issue is overrated.

Re:Deno Is a Browser for Code by datalist on Friday May 29, 2020 @08:29AM (#23349162)
That not, hence "not exactly" but SRI still is nice add-on.
Re:Deno Is a Browser for Code by forty on Friday May 29, 2020 @11:34AM (#23351177)
Yes, the only missing thing is the page you initially download and contains all the hashes :)
Re:Deno Is a Browser for Code by datalist on Friday May 29, 2020 @11:38AM (#23351239)
Well, jQuery has the hashes on-site.