diff options
author | Justin Clark-Casey (justincc) | 2012-03-06 00:14:21 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-06 00:14:21 +0000 |
commit | 441449e240ffceef4322661ad936928d98e3f724 (patch) | |
tree | 9a0172f705208096e3e3b208291522965c243576 /prebuild.xml | |
parent | remove unnecessary hash local variable (diff) | |
download | opensim-SC-441449e240ffceef4322661ad936928d98e3f724.zip opensim-SC-441449e240ffceef4322661ad936928d98e3f724.tar.gz opensim-SC-441449e240ffceef4322661ad936928d98e3f724.tar.bz2 opensim-SC-441449e240ffceef4322661ad936928d98e3f724.tar.xz |
Switch to sha256 from sha1 in order to avoid future asset hash collisions.
Some successful collision attacks have been carried out on sha1 with speculation that more are possible.
http://en.wikipedia.org/wiki/Cryptographic_hash_function#Cryptographic_hash_algorithms
No successful attacks have been shown on sha256, which makes it less likely that anybody will be able to engineer an asset hash collision in the future.
Tradeoff is more storage required for hashes, and more cpu to hash, though this is neglible compared to db operations and network access.
Diffstat (limited to 'prebuild.xml')
-rw-r--r-- | prebuild.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/prebuild.xml b/prebuild.xml index 79814ac..030d232 100644 --- a/prebuild.xml +++ b/prebuild.xml | |||
@@ -2051,9 +2051,10 @@ | |||
2051 | 2051 | ||
2052 | <ReferencePath>../../../bin/</ReferencePath> | 2052 | <ReferencePath>../../../bin/</ReferencePath> |
2053 | <Reference name="System"/> | 2053 | <Reference name="System"/> |
2054 | <Reference name="System.Xml"/> | 2054 | <Reference name="System.Core"/> |
2055 | <Reference name="System.Data"/> | 2055 | <Reference name="System.Data"/> |
2056 | <Reference name="System.Drawing"/> | 2056 | <Reference name="System.Drawing"/> |
2057 | <Reference name="System.Xml"/> | ||
2057 | <Reference name="OpenSim.Framework"/> | 2058 | <Reference name="OpenSim.Framework"/> |
2058 | <Reference name="OpenSim.Data"/> | 2059 | <Reference name="OpenSim.Data"/> |
2059 | <Reference name="OpenMetaverseTypes" path="../../../bin/"/> | 2060 | <Reference name="OpenMetaverseTypes" path="../../../bin/"/> |