- Jun 29, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
This should prevent duplicated code, and lower the likelihood of accidentally making them inconsistent.
-
- Jun 28, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jun 27, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Patch from cypherpunks. Fixes bug 16449. Bug not in any released tor.
-
- Jun 25, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Fixes #16288 Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
When we ran out of intro points for a hidden service (which could happen on a newnym), we would change the connection's state back to "waiting for hidden service descriptor." But this would make an assertion fail if we went on to call circuit_get_open_circ_or_launch again. This fixes bug 16013; I believe the bug was introduced in 38be533c, where we made it possible for circuit_get_open_circ_or_launch() to change the connection's state.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
The logic here is inspired by Python's win_getpass(), which I'm assuming is better than nothing.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jun 24, 2015
-
-
Yawning Angel authored
RFC 952 is approximately 30 years old, and people are failing to comply, by serving A records with '_' as part of the hostname. Since relaxing the check is a QOL improvement for our userbase, relax the check to allow such abominations as destinations, especially since there are likely to be other similarly misconfigured domains out there.
-
- Jun 22, 2015
-
-
Nick Mathewson authored
When I fixed #11243, I made it so we would take the digest of a descriptor before tokenizing it, so we could desist from download attempts if parsing failed. But when I did that, I didn't remove an assertion that the descriptor began with "onion-key". Usually, this was enforced by "find_start_of_next_microdescriptor", but when find_start_of_next_microdescriptor returned NULL, the assertion was triggered. Fixes bug 16400. Thanks to torkeln for reporting and cypherpunks_backup for diagnosing and writing the first fix here.
-
- Jun 19, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jun 18, 2015
-
-
David Goulet authored
Every functions and objects that are used for hidden service descriptor caches are moved to rendcache.{c|h}. This commit does NOT change anything, just moving code around. Fixes #16399 Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
For now, rend_cache_entry_t has been moved from or.h to rendcache.h and those files have been added to the build system. In the next commit, these will contain hidden service descriptor cache ABI and API for both client and directory side. The goal is to consolidate the descriptor caches in one location to ease development, maintenance, review and improve documentation for each cache behavior and algorithm. Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jun 17, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This way glibc users don't have to fall back to getpass. Windows users are still out of luck
-
Nick Mathewson authored
This is taken verbatim from openssh 6.8p1, which appears to have lightly tweaked it from the openbsd version.
-
Nick Mathewson authored
-
Nick Mathewson authored
When --keygen is provided, we prompt for a passphrase when we make a new master key; if it is nonempty, we store the secret key in a new crypto_pwbox. Also, if --keygen is provided and there *is* an encrypted master key, we load it and prompt for a passphrase unconditionally. We make a new signing key unconditionally when --keygen is provided. We never overwrite a master key.
-
Nick Mathewson authored
-
David Goulet authored
Fixes #16260 Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
Nick Mathewson authored
-