just use actual file name instead of latest.txt

This commit is contained in:
Arya Kiran 2022-10-06 22:38:29 +05:30
parent 8dde364da3
commit 451d0811c2
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@
<!--#include file="nav.html" -->
<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 file_get_contents("/var/log/canary/latest.txt"); ?></code></pre>
<p>This canary's SHA256 checksum is <?php echo hash('sha256', file_get_contents("/var/log/canary/latest.txt")); ?></p>
<pre><code><?php file_get_contents("/var/log/canary/2022-10.txt"); ?></code></pre>
<p>This canary's SHA256 checksum is <?php echo hash('sha256', file_get_contents("/var/log/canary/2022-10.txt")); ?></p>
<p>Previous canaries can be found <a href=/canaries>here</a>.</p>
<!--#include file="footer.html" -->