Definitely gonna look into this! I was gonna say that the domain and SSL certificate achieved the same goal as signing/bundling would, but self-hostable PWAs would really benefit from this since that’s not applicable hosted elsewhere. A browser-side implementation would probably be the most robust, but it would be awesome if there was some way to do it without a centralized authority.
Progressive Web Apps
Thanks for the reply!
I was gonna say that the domain and SSL certificate achieved the same goal as signing/bundling would, but self-hostable PWAs would really benefit from this since that’s not applicable hosted elsewhere.
Yeah, signing the bundle means it doesn't really matter where or how its distributed, and you don't have to worry about the server hosting it getting compromised. It removes an extra part of the chain in distribution that could be exploited.
The reproducible build part also means that you don't even have to trust the developer - just the code - since you could verify the bundle deployed to the website is built from a specific git SHA available on github or whatever. (But this part only really works for open source projects where the code can be audited by anyone.)