News for hackers. Stuff that matters.
Re:OpenPGPjs has passed an independent security audit by SahAssar on Thursday August 16, 2018 @03:35PM (#17777810)
Right, but what I'm saying is that you don't need the loader. Just have a bookmarklet with html that contains script tags with SRI. The loader is just another step you need to trust.
Re:OpenPGPjs has passed an independent security audit by dividuum on Thursday August 16, 2018 @05:04PM (#17778402)
That does indeed work. Pretty neat. For anyone trying, here is basically all you need:

  data:text/html,<script crossorigin="anonymous" integrity="..." src="...">
In total that should be a lot smaller than the linked codegolf answer.