… | |
… | |
154 | defeated.</p> |
154 | defeated.</p> |
155 | <p>As soon as feasible, we should add the SHA512 and WHIRLPOOL algorithms. |
155 | <p>As soon as feasible, we should add the SHA512 and WHIRLPOOL algorithms. |
156 | In future, as stream-based checksums are developed (in response to the |
156 | In future, as stream-based checksums are developed (in response to the |
157 | development by NIST [AHS]), they should be considered and used.</p> |
157 | development by NIST [AHS]), they should be considered and used.</p> |
158 | <p>The SHA512 algorithm is available in Python 2.5, which has been a |
158 | <p>The SHA512 algorithm is available in Python 2.5, which has been a |
159 | dependency of Portage since approximately Python 2.1.6.13.</p> |
159 | dependency of Portage since approximately Portage 2.1.6.13.</p> |
160 | <p>The WHIRLPOOL checksum is not available within the PyCrypto library or |
160 | <p>The WHIRLPOOL checksum is not available within the PyCrypto library or |
161 | hashlib that is part of Python 2.5, but there are multiple alternative |
161 | hashlib that is part of Python 2.5, but there are multiple alternative |
162 | Python implementations available, ranging from pure Python to C-based |
162 | Python implementations available, ranging from pure Python to C-based |
163 | (python-mhash).</p> |
163 | (python-mhash).</p> |
164 | <p>The existence unsupported hash is not considered to be a failure unless |
164 | <p>The existence unsupported hash is not considered to be a failure unless |
… | |
… | |
180 | </div> |
180 | </div> |
181 | <div class="section" id="backwards-compatibility"> |
181 | <div class="section" id="backwards-compatibility"> |
182 | <h1><a class="toc-backref" href="#id9">Backwards Compatibility</a></h1> |
182 | <h1><a class="toc-backref" href="#id9">Backwards Compatibility</a></h1> |
183 | <p>Old versions of Portage may support and expect only specific checksums. |
183 | <p>Old versions of Portage may support and expect only specific checksums. |
184 | This is accounted for in the checksum depreciation discussion.</p> |
184 | This is accounted for in the checksum depreciation discussion.</p> |
|
|
185 | <p>For maximum compatiability, we should only have to include each of the |
|
|
186 | old algorithms that we are officially still supporting, as well as the |
|
|
187 | new ones that we prefer.</p> |
185 | </div> |
188 | </div> |
186 | <div class="section" id="references"> |
189 | <div class="section" id="references"> |
187 | <h1><a class="toc-backref" href="#id10">References</a></h1> |
190 | <h1><a class="toc-backref" href="#id10">References</a></h1> |
188 | <dl class="docutils"> |
191 | <dl class="docutils"> |
189 | <dt>[AHS] NIST (2007). "NIST's Plan for New Cryptographic Hash Functions",</dt> |
192 | <dt>[AHS] NIST (2007). "NIST's Plan for New Cryptographic Hash Functions",</dt> |
… | |
… | |
245 | |
248 | |
246 | </div> |
249 | </div> |
247 | <div class="footer"> |
250 | <div class="footer"> |
248 | <hr class="footer" /> |
251 | <hr class="footer" /> |
249 | <a class="reference external" href="glep-0059.txt">View document source</a>. |
252 | <a class="reference external" href="glep-0059.txt">View document source</a>. |
250 | Generated on: 2010-01-31 09:56 UTC. |
253 | Generated on: 2010-02-02 05:44 UTC. |
251 | Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. |
254 | Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. |
252 | |
255 | |
253 | </div> |
256 | </div> |
254 | </body> |
257 | </body> |
255 | </html> |
258 | </html> |