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.
[ Parent
| on HN ]
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.
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.