aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.cc
AgeCommit message (Expand)Author
2020-05-10nix: Implement basic bash completionEelco Dolstra
2019-10-21Allow content-addressable paths to have referencesEelco Dolstra
2018-12-13Support SRI hashesEelco Dolstra
2018-05-02Fix some random -Wconversion warningsEelco Dolstra
2018-03-22Merge branch 'fix/avoid-large-stack-buffers' of https://github.com/dtzWill/nixEelco Dolstra
2018-03-14Catch more possible instances of passing NULL to memcpy.Shea Levy
2018-03-02don't allocate large buffers on the stackWill Dietz
2018-02-19libutil: Fix invalid assert on decoding base64 hashesTuomas Tynkkynen
2017-07-30Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim
2017-07-28nix-prefetch-url: Fix regression in hash printingEelco Dolstra
2017-07-10Merge pull request #1422 from nh2/fix-potential-hash-comparison-crashEelco Dolstra
2017-07-04Support base-64 hashesEelco Dolstra
2017-06-24Fix potential crash/wrong result two hashes of unequal length are comparedNiklas Hambüchen
2017-04-28Fix hash computation when importing NARs greater than 4 GiBEelco Dolstra
2017-03-21Move istringstream_nocopy to a separate fileEelco Dolstra
2017-03-06istringstream_nocopy: Implement in a standards-compliant way.Shea Levy
2017-02-08Include config.h implicitly with '-include config.h' in CFLAGSTuomas Tynkkynen
2016-11-06Detect and disallow base32 hash overflowVladimír Čunát
2016-07-21Fix assertion failureEelco Dolstra
2016-07-21NarInfo::NarInfo(): Ensure that we get a NAR size/hashEelco Dolstra
2016-07-11Modernize AutoCloseFDShea Levy
2016-06-09Use O_CLOEXEC in most placesEelco Dolstra
2016-04-20Cache path info lookups in SQLiteEelco Dolstra
2016-01-27Make hashLength32() a method of HashEelco Dolstra
2015-11-04Support SHA-512 hashesEelco Dolstra
2015-11-04Require OpenSSLEelco Dolstra
2015-09-18Shut up clang warningsEelco Dolstra
2015-02-03Simplify parseHash32Eelco Dolstra
2015-02-03Simplify printHash32Eelco Dolstra
2014-08-20Use proper quotes everywhereEelco Dolstra
2012-10-23If hashes do not match, print them in base-32 for SHA-1/SHA-256Eelco Dolstra
2012-02-09Use data() instead of c_str() where appropriateEelco Dolstra
2011-12-15* Refactoring: move sink/source buffering into separate classes.Eelco Dolstra
2011-12-02* Move parseHash16or32 into libutil, and use in nix-hash.Eelco Dolstra
2010-11-16* Store the size of a store path in the database (to be precise, theEelco Dolstra
2010-03-09* In `nix-store --export', abort if the contents of a path hasEelco Dolstra
2008-12-03* Pass HashType values instead of strings.Eelco Dolstra
2008-08-25* Doh.Eelco Dolstra
2008-08-25* Strip off the `.nix' suffix from the attribute name for files inEelco Dolstra
2008-05-21* GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour andEelco Dolstra
2007-02-21* `nix-store --export --sign': sign the Nix archive using the RSA keyEelco Dolstra
2006-12-12* New primop builtins.filterSource, which can be used to filter filesEelco Dolstra
2006-11-30* Skeleton of the privileged worker program.Eelco Dolstra
2006-09-20* Print a better error message for wrong hashes (NIX-49).Eelco Dolstra
2006-09-04* Use a proper namespace.Eelco Dolstra
2006-03-09* Ugh, printHash() was very inefficient because it usedEelco Dolstra
2006-03-01* Ouch, parseHash32 was completely broken. All digits >= 4 wereEelco Dolstra
2006-02-13* Optional switch "--with-openssl=<PATH>" to use OpenSSL'sEelco Dolstra
2006-02-13* Use a union.Eelco Dolstra
2005-11-16* Did something useful while waiting at IAD: reference scanning is nowEelco Dolstra