depot
this commit
canon
subtree-staging
monorepo for the virus lounge
The Virus Lounge
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
libutil
/
hash.cc
Age
Commit message (
Expand
)
Author
Files
Lines
2017-07-10
Merge pull request #1422 from nh2/fix-potential-hash-comparison-crash
Eelco Dolstra
1
-0
/
+2
2017-07-04
Support base-64 hashes
Eelco Dolstra
1
-97
/
+88
2017-06-24
Fix potential crash/wrong result two hashes of unequal length are compared
Niklas Hambüchen
1
-0
/
+2
2017-04-28
Fix hash computation when importing NARs greater than 4 GiB
Eelco Dolstra
1
-1
/
+1
2017-03-21
Move istringstream_nocopy to a separate file
Eelco Dolstra
1
-1
/
+1
2017-03-06
istringstream_nocopy: Implement in a standards-compliant way.
Shea Levy
1
-1
/
+1
2017-02-08
Include config.h implicitly with '-include config.h' in CFLAGS
Tuomas Tynkkynen
1
-2
/
+0
2016-11-06
Detect and disallow base32 hash overflow
Vladimír Čunát
1
-1
/
+7
2016-07-21
Fix assertion failure
Eelco Dolstra
1
-1
/
+1
2016-07-21
NarInfo::NarInfo(): Ensure that we get a NAR size/hash
Eelco Dolstra
1
-0
/
+1
2016-07-11
Modernize AutoCloseFD
Shea Levy
1
-2
/
+2
2016-06-09
Use O_CLOEXEC in most places
Eelco Dolstra
1
-1
/
+1
2016-04-20
Cache path info lookups in SQLite
Eelco Dolstra
1
-6
/
+26
2016-01-27
Make hashLength32() a method of Hash
Eelco Dolstra
1
-9
/
+3
2015-11-04
Support SHA-512 hashes
Eelco Dolstra
1
-0
/
+7
2015-11-04
Require OpenSSL
Eelco Dolstra
1
-8
/
+0
2015-09-18
Shut up clang warnings
Eelco Dolstra
1
-1
/
+0
2015-02-03
Simplify parseHash32
Eelco Dolstra
1
-37
/
+10
2015-02-03
Simplify printHash32
Eelco Dolstra
1
-35
/
+17
2014-08-20
Use proper quotes everywhere
Eelco Dolstra
1
-7
/
+7
2012-10-23
If hashes do not match, print them in base-32 for SHA-1/SHA-256
Eelco Dolstra
1
-0
/
+6
2012-02-09
Use data() instead of c_str() where appropriate
Eelco Dolstra
1
-3
/
+3
2011-12-15
* Refactoring: move sink/source buffering into separate classes.
Eelco Dolstra
1
-10
/
+12
2011-12-02
* Move parseHash16or32 into libutil, and use in nix-hash.
Eelco Dolstra
1
-0
/
+16
2010-11-16
* Store the size of a store path in the database (to be precise, the
Eelco Dolstra
1
-3
/
+7
2010-03-09
* In `nix-store --export', abort if the contents of a path has
Eelco Dolstra
1
-0
/
+7
2008-12-03
* Pass HashType values instead of strings.
Eelco Dolstra
1
-0
/
+9
2008-08-25
* Doh.
Eelco Dolstra
1
-1
/
+0
2008-08-25
* Strip off the `.nix' suffix from the attribute name for files in
Eelco Dolstra
1
-0
/
+1
2008-05-21
* GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and
Eelco Dolstra
1
-0
/
+1
2007-02-21
* `nix-store --export --sign': sign the Nix archive using the RSA key
Eelco Dolstra
1
-15
/
+24
2006-12-12
* New primop builtins.filterSource, which can be used to filter files
Eelco Dolstra
1
-2
/
+2
2006-11-30
* Skeleton of the privileged worker program.
Eelco Dolstra
1
-1
/
+1
2006-09-20
* Print a better error message for wrong hashes (NIX-49).
Eelco Dolstra
1
-1
/
+7
2006-09-04
* Use a proper namespace.
Eelco Dolstra
1
-2
/
+9
2006-03-09
* Ugh, printHash() was very inefficient because it used
Eelco Dolstra
1
-5
/
+7
2006-03-01
* Ouch, parseHash32 was completely broken. All digits >= 4 were
Eelco Dolstra
1
-1
/
+1
2006-02-13
* Optional switch "--with-openssl=<PATH>" to use OpenSSL's
Eelco Dolstra
1
-11
/
+15
2006-02-13
* Use a union.
Eelco Dolstra
1
-2
/
+1
2005-11-16
* Did something useful while waiting at IAD: reference scanning is now
Eelco Dolstra
1
-1
/
+5
2005-03-23
* Fix endianness bug.
Eelco Dolstra
1
-18
/
+18
2005-01-17
* Removed the `id' attribute hack.
Eelco Dolstra
1
-3
/
+61
2005-01-14
* Shorten SHA-256 hashes used in store path name generation to 160
Eelco Dolstra
1
-6
/
+66
2005-01-14
* Start move towards SHA-256 hashes instead of MD5.
Eelco Dolstra
1
-0
/
+1
2005-01-14
* Add SHA-256.
Eelco Dolstra
1
-0
/
+6
2005-01-13
* Added SHA-1 support. `nix-hash' now has an option `--type sha1' to
Eelco Dolstra
1
-17
/
+70
2005-01-13
* Refactoring to support SHA-1.
Eelco Dolstra
1
-8
/
+12
2003-11-18
* Source tree refactoring.
Eelco Dolstra
1
-0
/
+124