interlockjs / interlock

JS bundler - inspired by Git, built on Babel.
MIT License
72 stars 7 forks source link

interlock-signed #59

Closed divmain closed 8 years ago

divmain commented 8 years ago

Implement the interlock-signed plugin.

This plugin will ensure that bundles have not been tampered with, and allow for trusted use of third-party hosting for bundles (such as a public CDN). The general implementation will be as follows:

Constraints:

[1] http://www.movable-type.co.uk/scripts/sha1.html [2] https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Rosetta, line 45 of code sample

baer commented 8 years ago

This is a killer feature for PCI compliance

divmain commented 8 years ago

That's actually what prompted this idea :)

divmain commented 8 years ago

Consider using SubtleCrypto for minimal impact to bundle size.

divmain commented 8 years ago

Moved to interlockjs/plugins#6.