Update canary.php to use SHA256SUMS

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-08-07 16:20:34 -04:00
parent 554f6cd92b
commit ded51f437d
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@
<div class=h><h1 id=canary>Warrant Canary</h1> <a aria-hidden=true href=#canary>#canary</a></div>
<p>Below is our <a href=//wl.vern.cc/wiki/warrant_canary>warrant canary</a>. Please watch very closely for any updates of this page. We release a new canary monthly, within a week of the beginning of the month.</p>
<pre><code><?php echo file_get_contents("/var/log/canary/latest"); ?></code></pre>
<p>This canary's SHA256 checksum is <?php echo file_get_contents("/var/log/canary/latest.sha256sum"); ?></p>
<p>This canary's SHA256 checksum is <?php echo substr(end(file("/var/log/canary/SHA256SUMS")), 0, 64); ?></p>
<p>Previous canaries can be found <a href=/canaries>here</a>.</p>
<p>Previous canaries and checksum file can be found <a href=/canaries>here</a>.</p>
<!--#include file="footer.cgi" -->
</body>
</html>