Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix fmt string | Christian Grothoff | 2018-07-07 |
| | |||
* | clarify error message of #5375 | Christian Grothoff | 2018-07-01 |
| | |||
* | update gitignore | Christian Grothoff | 2018-07-01 |
| | |||
* | update gitignore | Christian Grothoff | 2018-07-01 |
| | |||
* | move gnunet-timeout to src/util/, fix issues related to #5375 | Christian Grothoff | 2018-07-01 |
| | |||
* | simplify memory allocation in plugin_namestore_flat, use cleaner signatures ↵ | Christian Grothoff | 2018-06-30 |
| | | | | for base64 encoding/decoding functions | ||
* | update gitignore | Christian Grothoff | 2018-06-29 |
| | |||
* | fix segfault | lurchi | 2018-06-29 |
| | |||
* | add documentatioN | lurchi | 2018-06-29 |
| | |||
* | Use the DNSPARSER and DNSSTUB libraries in the resolver service | lurchi | 2018-06-29 |
| | | | | | | | | | | | | We are not using the libc functions anymore for forward and backup DNS resolutions and the DNSPARSER and DNSSTUB libraries instead. This has the advantage that the APIs are asynchronous now and thus multiple DNS resolutions can be done in parallel. This breaks support for Windows and other operating systems that don't use /etc/resolv.conf for defining DNS servers. For fixing this the function lookup_dns_servers can be extended with different lookup mechanisms. | ||
* | introduce API functions for duplicating the DNSPARSER record types | lurchi | 2018-06-29 |
| | |||
* | -comments: the world ain't all male | psyc://loupsycedyglgamf.onion/~lynX | 2018-06-27 |
| | |||
* | fix another one of bad frees from Julius | Christian Grothoff | 2018-06-26 |
| | |||
* | fix bad free | Christian Grothoff | 2018-06-26 |
| | |||
* | fix several memory leaks | Julius Bünger | 2018-06-26 |
| | |||
* | fix postgres version check on Debian | Christian Grothoff | 2018-06-26 |
| | |||
* | fix warning | Christian Grothoff | 2018-06-25 |
| | |||
* | try to solve include madness | lurchi | 2018-06-25 |
| | |||
* | indent | Christian Grothoff | 2018-06-25 |
| | |||
* | fix memory leak | Christian Grothoff | 2018-06-25 |
| | |||
* | reduce scope | Christian Grothoff | 2018-06-25 |
| | |||
* | move hexcode, eliminate redundant test | Christian Grothoff | 2018-06-25 |
| | |||
* | fix leak | Christian Grothoff | 2018-06-25 |
| | |||
* | move dns ops again, 2nd try | Christian Grothoff | 2018-06-25 |
| | |||
* | Revert "integrate dnsparser and dnsstub and tun with libgnunetutil" | lurchi | 2018-06-25 |
| | | | | This reverts commit 7da98cf076e9c5101244dfbbf8c3ddff045d298e. | ||
* | integrate dnsparser and dnsstub and tun with libgnunetutil | Christian Grothoff | 2018-06-25 |
| | |||
* | use the asynchronous DNS resolution API (getaddrinfo_a) in the resolver module | lurchi | 2018-06-24 |
| | |||
* | config file writting silent bugg (when directory doesnt give write access) fix | Feideus | 2018-06-24 |
| | |||
* | print to stderr | Schanzenbach, Martin | 2018-06-24 |
| | |||
* | add newlines to log error message | Schanzenbach, Martin | 2018-06-24 |
| | |||
* | fix https://gnunet.org/bugs/view.php?id=4376 | Schanzenbach, Martin | 2018-06-24 |
| | |||
* | getopt blindly accepting negative input fix | Feideus | 2018-06-24 |
| | |||
* | AUTOSTART renamed into START_ON_DEMAND (#4547a) | psyc://loupsycedyglgamf.onion/~lynX | 1984-04-04 |
| | |||
* | ignore hostname if we have unixpath | Christian Grothoff | 2018-06-23 |
| | |||
* | rename USER_SERVICE into RUN_PER_USER. thx, tg (#4548a) | psyc://loupsycedyglgamf.onion/~lynX | 2018-06-23 |
| | |||
* | remove crypto_bug.c | Christian Grothoff | 2018-06-09 |
| | |||
* | paragraph for gnunet devs that don't know how to use the web | psyc://loupsycedyglgamf.onion/~lynX | 2018-06-07 |
| | |||
* | config: file name expansion in all -f cases | Julius Bünger | 2018-06-07 |
| | |||
* | glitch in the license text detected by hyazinthe, thank you! | psyc://loupsycedyglgamf.onion/~lynX | 2018-06-07 |
| | |||
* | second batch complete. WE ARE AFFERO AGPL NOW! | psyc://loupsycedyglgamf.onion/~lynX | 2018-06-06 |
| | |||
* | first batch of license fixes (boring) | psyc://loupsycedyglgamf.onion/~lynX | 2018-06-05 |
| | |||
* | whitespace | Christian Grothoff | 2018-06-06 |
| | |||
* | changes for AGPL handling | Christian Grothoff | 2018-06-06 |
| | |||
* | update gitignore | Christian Grothoff | 2018-06-05 |
| | |||
* | typo | Christian Grothoff | 2018-06-05 |
| | |||
* | merge benchmark changes | Christian Grothoff | 2018-06-04 |
|\ | |||
| * | add function for getopt uint16_t arguments | Christian Grothoff | 2018-06-04 |
| | | |||
* | | Niibe writes: | Christian Grothoff | 2018-05-31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sorry, I was not reading the code of GNUnet well. I overlooked how the eddsa_d_to_a function was written and its intention. I read it again. Indeed, the eddsa_d_to_a function tries to handle the case where gcry_mpi_print returns rawmpilen < 32, putting "left pad" by DIGEST. The problem is: DIGEST is not cleared (although comment says so). I think that the stack had zero-byte for some reason on your 32-bit machine. Here is the correction. Clear DIGEST, as comment says. diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c index 8d9091b23..280603234 100644 --- a/src/util/crypto_ecc.c +++ b/src/util/crypto_ecc.c @@ -1273,24 +1273,15 @@ eddsa_d_to_a (gcry_mpi_t d) b = 256 / 8; /* number of bytes in `d` */ + memset (hvec, 0, sizeof hvec); /* Note that we clear DIGEST so we can use it as input to left pad the key with zeroes for hashing. */ - memset (hvec, 0, sizeof hvec); + memset (digest, 0, sizeof digest); rawmpilen = sizeof (rawmpi); GNUNET_assert (0 == gcry_mpi_print (GCRYMPI_FMT_USG, rawmpi, rawmpilen, &rawmpilen, d)); - if (rawmpilen < 32) - { - memmove (rawmpi + 32 - rawmpilen, - rawmpi, - rawmpilen); - memset (rawmpi, - 0, - 32 - rawmpilen); - rawmpilen = 32; - } hvec[0].data = digest; hvec[0].off = 0; hvec[0].len = b > rawmpilen ? (b - rawmpilen) : 0; -- | ||
* | | reduce loop counters to more practical levels | Christian Grothoff | 2018-05-30 |
| | | |||
* | | style fix | Christian Grothoff | 2018-05-30 |
| | |