- 15 Oct, 2009 23 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
The point of doing SHA256 twice is, generally, is to prevent message extension attacks where an attacker who knows H(A) can calculate H(A|B). But for attaching a signature to a document, the attacker already _knows_ A, so trying to keep them from calculating H(A|B) is pointless.
-
Nick Mathewson authored
This means we need to handle the existence of multiple flavors of signature in a detached signatures document, generate them correctly, and so on.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This patch introduces a new type called document_signature_t to represent the signature of a consensus document. Now, each consensus document can have up to one document signature per voter per digest algorithm. Also, each detached-signatures document can have up to one signature per <voter, algorithm, flavor>.
-
Nick Mathewson authored
The consensus documents are not signed properly, not served, and not exchanged yet.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
The original proposal was vague and would have made older Tors reject detached-signature documents as soon as they saw one with flavors.
-
Nick Mathewson authored
Previously, we insisted that a valid signature must be a signature of the expected digest. Now we accept anything that starts with the expected digest. This lets us include another digest later.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/or/config.c src/win32/orconfig.h
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 14 Oct, 2009 4 commits
-
-
Nick Mathewson authored
-
Roger Dingledine authored
backport of c43859c5 backport of 0d13e0ed
-
Nick Mathewson authored
Partial backport of 381766ce. Partial backport of 56c6d785.
-
Roger Dingledine authored
-
- 13 Oct, 2009 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
When we tried to use the deprecated non-threadsafe evdns interfaces in Libevent 2 without using the also-deprecated event_init() interface, Libevent 2 would sensibly crash, since it has no guess where to find the Libevent library. Here we use the evdns_base_*() functions instead if they're present, and fake them if they aren't.
-
- 12 Oct, 2009 6 commits
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Andrew Lewman authored
-
Andrew Lewman authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 11 Oct, 2009 4 commits
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
The test suite need the test.h file to build. Add it to noinst_HEADERS in the Makefile.am so it gets included in the tarball that make dist produces.
-
- 10 Oct, 2009 1 commit
-
-
tinytest_main() returns 0 on success, -1 on errors and 1 on test failures. So test.c should check on !=0 instead of <0.
-