docs/website: consolidate CDN's and enable SRI
PATCH 1/1 docs/website: consolidate CDN's and enable SRI
From: James Hilliard <[email protected]>
Signed-off-by James Hilliard <[email protected]>
--- docs/website/footer.html | 6 +++--- docs/website/header.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
docs/website/footer.html +3 -3
@@ -1,6 +1,6 @@ - <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> - <script src="https://oss.maxcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> - <script src="https://cdn.rawgit.com/zenorocha/clipboard.js/v1.7.1/dist/clipboard.min.js"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha256-Daf8GuI2eLKHJlOWLRR/zRy9Clqcj4TUSumbxYH9kGI=" crossorigin="anonymous"></script> <script type="text/javascript" src="js/buildroot.js"></script> </body> </html>
docs/website/header.html +3 -3
@@ -10,12 +10,12 @@ <title>Buildroot - Making Embedded Linux Easy</title> - <link href="https://oss.maxcdn.com/bootswatch/3.3.7/paper/bootstrap.min.css" rel="stylesheet"> + <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous"> <link href="css/main.css" rel="stylesheet"> <!--[if lt IE 9]> - <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> - <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.0/html5shiv.js" integrity="sha256-jHqcBHBWM2erADB7T7m7MFLQon8LlOY7ncC7jDaUScs=" crossorigin="anonymous"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js" integrity="sha256-g2lnLPqUkGXj7GDW+Zy47+O2ph+Ur1cmtdklVqkj+kg=" crossorigin="anonymous"></script> <![endif]--> </head>
Signature · 1 line
2.7.4
PATCH 1/1 docs/website: consolidate CDN's and enable SRI
Hello James,
Quoted 3 lines · On Wed, 19 Dec 2018 03:42:14 +0800, james.hilliard1 at gmail.com wrote:
From: James Hilliard <[email protected]>
Signed-off-by James Hilliard <[email protected]>
An empty commit log is almost never a good thing. What is SRI ? Why do we want this ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 docs/website: consolidate CDN's and enable SRI
Quoted 10 lines · Thomas Petazzoni
Hello James,
Quoted 3 lines · On Wed, 19 Dec 2018 03:42:14 +0800, james.hilliard1 at gmail.com wrote:
From: James Hilliard <[email protected]>
Signed-off-by James Hilliard <[email protected]>An empty commit log is almost never a good thing. What is SRI ? Why do we want this ?
https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
It prevents the CDN from replacing assets with a malicious versions.
Quoted 8 lines
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com