Skip to content

Commit aece9fd

Browse files
committed
Add reference cow.txt hashes
1 parent 8201bab commit aece9fd

File tree

1 file changed

+10
-0
lines changed
  • moooodotfarm-backend/src/ports/http/templates

1 file changed

+10
-0
lines changed

moooodotfarm-backend/src/ports/http/templates/rfc.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,16 @@ <h2>Appendix A. Reference cow.txt</h2>
227227

228228
<pre><code>$ curl https://moooo.farm/cow.txt > cow.txt</code></pre>
229229

230+
<p>
231+
The validity of the retrieved reference <code>cow.txt</code> can be verified by checking the hash against the following reference <code>cow.txt</code> hashes. It is recommended to verify the hash of the retrieved reference <code>cow.txt</code> to prevent cow-in-the-middle attacks that could maliciously alter the retrieved reference <code>cow.txt</code>.
232+
</p>
233+
234+
<pre><code>$ sha256sum cow.txt
235+
87d03ff0332c5a88809c03a0c143287b73634a3a2109b896a18af2d805cf366e cow.txt
236+
237+
$ sha512sum cow.txt
238+
5b7433ef9fe1415410e59f47db11409f6683f2de6a84d123791bc822fd291ad45da09d9fd97a3cc80aa40592d5cf4d22ea05e048a78fb69162aebdced8d154a5 cow.txt</code></pre>
239+
230240
<p>
231241
Alternatively the following is the canonical <code>cow.txt</code> content. copying the canonical <code>cow.txt</code> content from this document instead of retrieving the file directly <strong>SHOULD NOT</strong> be done as it is much more likely to lead to serious cow transcription errors with hard to predict and far-reaching consequences.
232242
</p>

0 commit comments

Comments
 (0)