Fossil SCM

More tweaks to the "Hash Policy" document. Add the Hash Policy document to the permuted index.

drh 2017-03-05 19:49 UTC fossil-2.1
Commit f55db74d972912d9ea827b40db5726e68b6f0bcc
--- www/hashpolicy.wiki
+++ www/hashpolicy.wiki
@@ -59,11 +59,11 @@
5959
someone says "SHA1 is broken, and Fossil uses SHA1, therefore Fossil is
6060
broken", you can rebut the argument by pointing out that Fossil uses
6161
<em>Hardened SHA1</em> not generic SHA1 and Hardened SHA1 is <em>not</em>
6262
broken.
6363
64
-<h2>Introduction Of SHA3-256</h2>
64
+<h2>Support For SHA3-256</h2>
6565
6666
Prior to Fossil version 2.0 ([/timeline?c=version-2.0|2017-03-03]),
6767
all artifacts in all Fossil repositories were named
6868
by only a SHA1 hash.
6969
Version 2.0 expanded the Fossil file format to allow artifacts to
@@ -80,11 +80,11 @@
8080
as none of the repositories contain artifacts named using SHA3. If
8181
a repository does contain artifacts named using SHA3, Fossil 1.37 will
8282
not know how to interpret those artifacts and will generate various warnings
8383
and errors.
8484
85
-<h2>Picking Which Hash Algorithm To Use</h2>
85
+<h2>How Fossil Decides Which Hash Algorithm To Use</h2>
8686
8787
If newer versions of Fossil are able to use either SHA1 or SHA3 to
8888
name artifacts, which hash algorithm is actually used? That question
8989
is answered by the "hash policy". These are the supported hash policies:
9090
9191
--- www/hashpolicy.wiki
+++ www/hashpolicy.wiki
@@ -59,11 +59,11 @@
59 someone says "SHA1 is broken, and Fossil uses SHA1, therefore Fossil is
60 broken", you can rebut the argument by pointing out that Fossil uses
61 <em>Hardened SHA1</em> not generic SHA1 and Hardened SHA1 is <em>not</em>
62 broken.
63
64 <h2>Introduction Of SHA3-256</h2>
65
66 Prior to Fossil version 2.0 ([/timeline?c=version-2.0|2017-03-03]),
67 all artifacts in all Fossil repositories were named
68 by only a SHA1 hash.
69 Version 2.0 expanded the Fossil file format to allow artifacts to
@@ -80,11 +80,11 @@
80 as none of the repositories contain artifacts named using SHA3. If
81 a repository does contain artifacts named using SHA3, Fossil 1.37 will
82 not know how to interpret those artifacts and will generate various warnings
83 and errors.
84
85 <h2>Picking Which Hash Algorithm To Use</h2>
86
87 If newer versions of Fossil are able to use either SHA1 or SHA3 to
88 name artifacts, which hash algorithm is actually used? That question
89 is answered by the "hash policy". These are the supported hash policies:
90
91
--- www/hashpolicy.wiki
+++ www/hashpolicy.wiki
@@ -59,11 +59,11 @@
59 someone says "SHA1 is broken, and Fossil uses SHA1, therefore Fossil is
60 broken", you can rebut the argument by pointing out that Fossil uses
61 <em>Hardened SHA1</em> not generic SHA1 and Hardened SHA1 is <em>not</em>
62 broken.
63
64 <h2>Support For SHA3-256</h2>
65
66 Prior to Fossil version 2.0 ([/timeline?c=version-2.0|2017-03-03]),
67 all artifacts in all Fossil repositories were named
68 by only a SHA1 hash.
69 Version 2.0 expanded the Fossil file format to allow artifacts to
@@ -80,11 +80,11 @@
80 as none of the repositories contain artifacts named using SHA3. If
81 a repository does contain artifacts named using SHA3, Fossil 1.37 will
82 not know how to interpret those artifacts and will generate various warnings
83 and errors.
84
85 <h2>How Fossil Decides Which Hash Algorithm To Use</h2>
86
87 If newer versions of Fossil are able to use either SHA1 or SHA3 to
88 name artifacts, which hash algorithm is actually used? That question
89 is answered by the "hash policy". These are the supported hash policies:
90
91
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -36,10 +36,11 @@
3636
fiveminutes.wiki {Update and Running in 5 Minutes as a Single User}
3737
foss-cklist.wiki {Checklist For Successful Open-Source Projects}
3838
fossil-from-msvc.wiki {Integrating Fossil in the Microsoft Express 2010 IDE}
3939
fossil-v-git.wiki {Fossil Versus Git}
4040
hacker-howto.wiki {Hacker How-To}
41
+ hashpolicy.wiki {Hash Policy: Choosing Between SHA1 and SHA3-256}
4142
/help {Lists of Commands and Webpages}
4243
hints.wiki {Fossil Tips And Usage Hints}
4344
index.wiki {Home Page}
4445
inout.wiki {Import And Export To And From Git}
4546
makefile.wiki {The Fossil Build Process}
4647
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -36,10 +36,11 @@
36 fiveminutes.wiki {Update and Running in 5 Minutes as a Single User}
37 foss-cklist.wiki {Checklist For Successful Open-Source Projects}
38 fossil-from-msvc.wiki {Integrating Fossil in the Microsoft Express 2010 IDE}
39 fossil-v-git.wiki {Fossil Versus Git}
40 hacker-howto.wiki {Hacker How-To}
 
41 /help {Lists of Commands and Webpages}
42 hints.wiki {Fossil Tips And Usage Hints}
43 index.wiki {Home Page}
44 inout.wiki {Import And Export To And From Git}
45 makefile.wiki {The Fossil Build Process}
46
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -36,10 +36,11 @@
36 fiveminutes.wiki {Update and Running in 5 Minutes as a Single User}
37 foss-cklist.wiki {Checklist For Successful Open-Source Projects}
38 fossil-from-msvc.wiki {Integrating Fossil in the Microsoft Express 2010 IDE}
39 fossil-v-git.wiki {Fossil Versus Git}
40 hacker-howto.wiki {Hacker How-To}
41 hashpolicy.wiki {Hash Policy: Choosing Between SHA1 and SHA3-256}
42 /help {Lists of Commands and Webpages}
43 hints.wiki {Fossil Tips And Usage Hints}
44 index.wiki {Home Page}
45 inout.wiki {Import And Export To And From Git}
46 makefile.wiki {The Fossil Build Process}
47
--- www/permutedindex.html
+++ www/permutedindex.html
@@ -29,10 +29,11 @@
2929
<li><a href="blame.wiki">Annotate/Blame Algorithm Of Fossil &mdash; The</a></li>
3030
<li><a href="customskin.md">Appearance of Web Pages &mdash; Theming: Customizing The</a></li>
3131
<li><a href="faq.wiki">Asked Questions &mdash; Frequently</a></li>
3232
<li><a href="password.wiki">Authentication &mdash; Password Management And</a></li>
3333
<li><a href="whyusefossil.wiki"><b>Benefits Of Version Control</b></a></li>
34
+<li><a href="hashpolicy.wiki">Between SHA1 and SHA3-256 &mdash; Hash Policy: Choosing</a></li>
3435
<li><a href="antibot.wiki">Bots &mdash; Defense against Spiders and</a></li>
3536
<li><a href="private.wiki">Branches &mdash; Creating, Syncing, and Deleting Private</a></li>
3637
<li><a href="branching.wiki"><b>Branching, Forking, Merging, and Tagging</b></a></li>
3738
<li><a href="bugtheory.wiki"><b>Bug Tracking In Fossil</b></a></li>
3839
<li><a href="makefile.wiki">Build Process &mdash; The Fossil</a></li>
@@ -43,10 +44,11 @@
4344
<li><a href="checkin.wiki">Checklist &mdash; Check-in</a></li>
4445
<li><a href="../test/release-checklist.wiki">Checklist &mdash; Pre-Release Testing</a></li>
4546
<li><a href="foss-cklist.wiki"><b>Checklist For Successful Open-Source Projects</b></a></li>
4647
<li><a href="selfcheck.wiki">Checks &mdash; Fossil Repository Integrity Self</a></li>
4748
<li><a href="childprojects.wiki"><b>Child Projects</b></a></li>
49
+<li><a href="hashpolicy.wiki">Choosing Between SHA1 and SHA3-256 &mdash; Hash Policy:</a></li>
4850
<li><a href="contribute.wiki">Code or Documentation To The Fossil Project &mdash; Contributing</a></li>
4951
<li><a href="style.wiki">Code Style Guidelines &mdash; Source</a></li>
5052
<li><a href="../../../help">Commands and Webpages &mdash; Lists of</a></li>
5153
<li><a href="build.wiki"><b>Compiling and Installing Fossil</b></a></li>
5254
<li><a href="concepts.wiki">Concepts &mdash; Fossil Core</a></li>
@@ -111,10 +113,11 @@
111113
<li><a href="customgraph.md">Graph &mdash; Theming: Customizing the Timeline</a></li>
112114
<li><a href="quickstart.wiki">Guide &mdash; Fossil Quick Start</a></li>
113115
<li><a href="style.wiki">Guidelines &mdash; Source Code Style</a></li>
114116
<li><a href="hacker-howto.wiki"><b>Hacker How-To</b></a></li>
115117
<li><a href="adding_code.wiki"><b>Hacking Fossil</b></a></li>
118
+<li><a href="hashpolicy.wiki"><b>Hash Policy: Choosing Between SHA1 and SHA3-256</b></a></li>
116119
<li><a href="hints.wiki">Hints &mdash; Fossil Tips And Usage</a></li>
117120
<li><a href="index.wiki"><b>Home Page</b></a></li>
118121
<li><a href="selfhost.wiki">Hosting Repositories &mdash; Fossil Self</a></li>
119122
<li><a href="aboutcgi.wiki"><b>How CGI Works In Fossil</b></a></li>
120123
<li><a href="server.wiki"><b>How To Configure A Fossil Server</b></a></li>
@@ -147,10 +150,11 @@
147150
<li><a href="index.wiki">Page &mdash; Home</a></li>
148151
<li><a href="customskin.md">Pages &mdash; Theming: Customizing The Appearance of Web</a></li>
149152
<li><a href="password.wiki"><b>Password Management And Authentication</b></a></li>
150153
<li><a href="quotes.wiki">People Are Saying About Fossil, Git, and DVCSes in General &mdash; Quotes: What</a></li>
151154
<li><a href="stats.wiki"><b>Performance Statistics</b></a></li>
155
+<li><a href="hashpolicy.wiki">Policy: Choosing Between SHA1 and SHA3-256 &mdash; Hash</a></li>
152156
<li><a href="../test/release-checklist.wiki"><b>Pre-Release Testing Checklist</b></a></li>
153157
<li><a href="pop.wiki"><b>Principles Of Operation</b></a></li>
154158
<li><a href="private.wiki">Private Branches &mdash; Creating, Syncing, and Deleting</a></li>
155159
<li><a href="makefile.wiki">Process &mdash; The Fossil Build</a></li>
156160
<li><a href="contribute.wiki">Project &mdash; Contributing Code or Documentation To The Fossil</a></li>
@@ -174,10 +178,12 @@
174178
<li><a href="th1.md">Scripting Language &mdash; The TH1</a></li>
175179
<li><a href="selfcheck.wiki">Self Checks &mdash; Fossil Repository Integrity</a></li>
176180
<li><a href="selfhost.wiki">Self Hosting Repositories &mdash; Fossil</a></li>
177181
<li><a href="server.wiki">Server &mdash; How To Configure A Fossil</a></li>
178182
<li><a href="settings.wiki">Settings &mdash; Fossil</a></li>
183
+<li><a href="hashpolicy.wiki">SHA1 and SHA3-256 &mdash; Hash Policy: Choosing Between</a></li>
184
+<li><a href="hashpolicy.wiki">SHA3-256 &mdash; Hash Policy: Choosing Between SHA1 and</a></li>
179185
<li><a href="shunning.wiki"><b>Shunning: Deleting Content From Fossil</b></a></li>
180186
<li><a href="fiveminutes.wiki">Single User &mdash; Update and Running in 5 Minutes as a</a></li>
181187
<li><a href="../../../sitemap"><b>Site Map</b></a></li>
182188
<li><a href="style.wiki"><b>Source Code Style Guidelines</b></a></li>
183189
<li><a href="antibot.wiki">Spiders and Bots &mdash; Defense against</a></li>
184190
--- www/permutedindex.html
+++ www/permutedindex.html
@@ -29,10 +29,11 @@
29 <li><a href="blame.wiki">Annotate/Blame Algorithm Of Fossil &mdash; The</a></li>
30 <li><a href="customskin.md">Appearance of Web Pages &mdash; Theming: Customizing The</a></li>
31 <li><a href="faq.wiki">Asked Questions &mdash; Frequently</a></li>
32 <li><a href="password.wiki">Authentication &mdash; Password Management And</a></li>
33 <li><a href="whyusefossil.wiki"><b>Benefits Of Version Control</b></a></li>
 
34 <li><a href="antibot.wiki">Bots &mdash; Defense against Spiders and</a></li>
35 <li><a href="private.wiki">Branches &mdash; Creating, Syncing, and Deleting Private</a></li>
36 <li><a href="branching.wiki"><b>Branching, Forking, Merging, and Tagging</b></a></li>
37 <li><a href="bugtheory.wiki"><b>Bug Tracking In Fossil</b></a></li>
38 <li><a href="makefile.wiki">Build Process &mdash; The Fossil</a></li>
@@ -43,10 +44,11 @@
43 <li><a href="checkin.wiki">Checklist &mdash; Check-in</a></li>
44 <li><a href="../test/release-checklist.wiki">Checklist &mdash; Pre-Release Testing</a></li>
45 <li><a href="foss-cklist.wiki"><b>Checklist For Successful Open-Source Projects</b></a></li>
46 <li><a href="selfcheck.wiki">Checks &mdash; Fossil Repository Integrity Self</a></li>
47 <li><a href="childprojects.wiki"><b>Child Projects</b></a></li>
 
48 <li><a href="contribute.wiki">Code or Documentation To The Fossil Project &mdash; Contributing</a></li>
49 <li><a href="style.wiki">Code Style Guidelines &mdash; Source</a></li>
50 <li><a href="../../../help">Commands and Webpages &mdash; Lists of</a></li>
51 <li><a href="build.wiki"><b>Compiling and Installing Fossil</b></a></li>
52 <li><a href="concepts.wiki">Concepts &mdash; Fossil Core</a></li>
@@ -111,10 +113,11 @@
111 <li><a href="customgraph.md">Graph &mdash; Theming: Customizing the Timeline</a></li>
112 <li><a href="quickstart.wiki">Guide &mdash; Fossil Quick Start</a></li>
113 <li><a href="style.wiki">Guidelines &mdash; Source Code Style</a></li>
114 <li><a href="hacker-howto.wiki"><b>Hacker How-To</b></a></li>
115 <li><a href="adding_code.wiki"><b>Hacking Fossil</b></a></li>
 
116 <li><a href="hints.wiki">Hints &mdash; Fossil Tips And Usage</a></li>
117 <li><a href="index.wiki"><b>Home Page</b></a></li>
118 <li><a href="selfhost.wiki">Hosting Repositories &mdash; Fossil Self</a></li>
119 <li><a href="aboutcgi.wiki"><b>How CGI Works In Fossil</b></a></li>
120 <li><a href="server.wiki"><b>How To Configure A Fossil Server</b></a></li>
@@ -147,10 +150,11 @@
147 <li><a href="index.wiki">Page &mdash; Home</a></li>
148 <li><a href="customskin.md">Pages &mdash; Theming: Customizing The Appearance of Web</a></li>
149 <li><a href="password.wiki"><b>Password Management And Authentication</b></a></li>
150 <li><a href="quotes.wiki">People Are Saying About Fossil, Git, and DVCSes in General &mdash; Quotes: What</a></li>
151 <li><a href="stats.wiki"><b>Performance Statistics</b></a></li>
 
152 <li><a href="../test/release-checklist.wiki"><b>Pre-Release Testing Checklist</b></a></li>
153 <li><a href="pop.wiki"><b>Principles Of Operation</b></a></li>
154 <li><a href="private.wiki">Private Branches &mdash; Creating, Syncing, and Deleting</a></li>
155 <li><a href="makefile.wiki">Process &mdash; The Fossil Build</a></li>
156 <li><a href="contribute.wiki">Project &mdash; Contributing Code or Documentation To The Fossil</a></li>
@@ -174,10 +178,12 @@
174 <li><a href="th1.md">Scripting Language &mdash; The TH1</a></li>
175 <li><a href="selfcheck.wiki">Self Checks &mdash; Fossil Repository Integrity</a></li>
176 <li><a href="selfhost.wiki">Self Hosting Repositories &mdash; Fossil</a></li>
177 <li><a href="server.wiki">Server &mdash; How To Configure A Fossil</a></li>
178 <li><a href="settings.wiki">Settings &mdash; Fossil</a></li>
 
 
179 <li><a href="shunning.wiki"><b>Shunning: Deleting Content From Fossil</b></a></li>
180 <li><a href="fiveminutes.wiki">Single User &mdash; Update and Running in 5 Minutes as a</a></li>
181 <li><a href="../../../sitemap"><b>Site Map</b></a></li>
182 <li><a href="style.wiki"><b>Source Code Style Guidelines</b></a></li>
183 <li><a href="antibot.wiki">Spiders and Bots &mdash; Defense against</a></li>
184
--- www/permutedindex.html
+++ www/permutedindex.html
@@ -29,10 +29,11 @@
29 <li><a href="blame.wiki">Annotate/Blame Algorithm Of Fossil &mdash; The</a></li>
30 <li><a href="customskin.md">Appearance of Web Pages &mdash; Theming: Customizing The</a></li>
31 <li><a href="faq.wiki">Asked Questions &mdash; Frequently</a></li>
32 <li><a href="password.wiki">Authentication &mdash; Password Management And</a></li>
33 <li><a href="whyusefossil.wiki"><b>Benefits Of Version Control</b></a></li>
34 <li><a href="hashpolicy.wiki">Between SHA1 and SHA3-256 &mdash; Hash Policy: Choosing</a></li>
35 <li><a href="antibot.wiki">Bots &mdash; Defense against Spiders and</a></li>
36 <li><a href="private.wiki">Branches &mdash; Creating, Syncing, and Deleting Private</a></li>
37 <li><a href="branching.wiki"><b>Branching, Forking, Merging, and Tagging</b></a></li>
38 <li><a href="bugtheory.wiki"><b>Bug Tracking In Fossil</b></a></li>
39 <li><a href="makefile.wiki">Build Process &mdash; The Fossil</a></li>
@@ -43,10 +44,11 @@
44 <li><a href="checkin.wiki">Checklist &mdash; Check-in</a></li>
45 <li><a href="../test/release-checklist.wiki">Checklist &mdash; Pre-Release Testing</a></li>
46 <li><a href="foss-cklist.wiki"><b>Checklist For Successful Open-Source Projects</b></a></li>
47 <li><a href="selfcheck.wiki">Checks &mdash; Fossil Repository Integrity Self</a></li>
48 <li><a href="childprojects.wiki"><b>Child Projects</b></a></li>
49 <li><a href="hashpolicy.wiki">Choosing Between SHA1 and SHA3-256 &mdash; Hash Policy:</a></li>
50 <li><a href="contribute.wiki">Code or Documentation To The Fossil Project &mdash; Contributing</a></li>
51 <li><a href="style.wiki">Code Style Guidelines &mdash; Source</a></li>
52 <li><a href="../../../help">Commands and Webpages &mdash; Lists of</a></li>
53 <li><a href="build.wiki"><b>Compiling and Installing Fossil</b></a></li>
54 <li><a href="concepts.wiki">Concepts &mdash; Fossil Core</a></li>
@@ -111,10 +113,11 @@
113 <li><a href="customgraph.md">Graph &mdash; Theming: Customizing the Timeline</a></li>
114 <li><a href="quickstart.wiki">Guide &mdash; Fossil Quick Start</a></li>
115 <li><a href="style.wiki">Guidelines &mdash; Source Code Style</a></li>
116 <li><a href="hacker-howto.wiki"><b>Hacker How-To</b></a></li>
117 <li><a href="adding_code.wiki"><b>Hacking Fossil</b></a></li>
118 <li><a href="hashpolicy.wiki"><b>Hash Policy: Choosing Between SHA1 and SHA3-256</b></a></li>
119 <li><a href="hints.wiki">Hints &mdash; Fossil Tips And Usage</a></li>
120 <li><a href="index.wiki"><b>Home Page</b></a></li>
121 <li><a href="selfhost.wiki">Hosting Repositories &mdash; Fossil Self</a></li>
122 <li><a href="aboutcgi.wiki"><b>How CGI Works In Fossil</b></a></li>
123 <li><a href="server.wiki"><b>How To Configure A Fossil Server</b></a></li>
@@ -147,10 +150,11 @@
150 <li><a href="index.wiki">Page &mdash; Home</a></li>
151 <li><a href="customskin.md">Pages &mdash; Theming: Customizing The Appearance of Web</a></li>
152 <li><a href="password.wiki"><b>Password Management And Authentication</b></a></li>
153 <li><a href="quotes.wiki">People Are Saying About Fossil, Git, and DVCSes in General &mdash; Quotes: What</a></li>
154 <li><a href="stats.wiki"><b>Performance Statistics</b></a></li>
155 <li><a href="hashpolicy.wiki">Policy: Choosing Between SHA1 and SHA3-256 &mdash; Hash</a></li>
156 <li><a href="../test/release-checklist.wiki"><b>Pre-Release Testing Checklist</b></a></li>
157 <li><a href="pop.wiki"><b>Principles Of Operation</b></a></li>
158 <li><a href="private.wiki">Private Branches &mdash; Creating, Syncing, and Deleting</a></li>
159 <li><a href="makefile.wiki">Process &mdash; The Fossil Build</a></li>
160 <li><a href="contribute.wiki">Project &mdash; Contributing Code or Documentation To The Fossil</a></li>
@@ -174,10 +178,12 @@
178 <li><a href="th1.md">Scripting Language &mdash; The TH1</a></li>
179 <li><a href="selfcheck.wiki">Self Checks &mdash; Fossil Repository Integrity</a></li>
180 <li><a href="selfhost.wiki">Self Hosting Repositories &mdash; Fossil</a></li>
181 <li><a href="server.wiki">Server &mdash; How To Configure A Fossil</a></li>
182 <li><a href="settings.wiki">Settings &mdash; Fossil</a></li>
183 <li><a href="hashpolicy.wiki">SHA1 and SHA3-256 &mdash; Hash Policy: Choosing Between</a></li>
184 <li><a href="hashpolicy.wiki">SHA3-256 &mdash; Hash Policy: Choosing Between SHA1 and</a></li>
185 <li><a href="shunning.wiki"><b>Shunning: Deleting Content From Fossil</b></a></li>
186 <li><a href="fiveminutes.wiki">Single User &mdash; Update and Running in 5 Minutes as a</a></li>
187 <li><a href="../../../sitemap"><b>Site Map</b></a></li>
188 <li><a href="style.wiki"><b>Source Code Style Guidelines</b></a></li>
189 <li><a href="antibot.wiki">Spiders and Bots &mdash; Defense against</a></li>
190

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button