Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | 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 | |
| | | ||||
* | | Merge branch 'master' of ssh://gnunet.org/gnunet | Christian Grothoff | 2018-05-30 | |
|\ \ | ||||
| * | | add patch from Niibe Yutaka for | Christian Grothoff | 2018-05-28 | |
| |/ | | | | | | | #5328 | |||
| * | more flakes. | Nils Gillmann | 2018-05-23 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | do not crash on multiple CNAMEs | Christian Grothoff | 2018-05-20 | |
| | | ||||
| * | fix off-by-one error in cadet connection construction, also enforce better ↵ | Christian Grothoff | 2018-05-20 | |
| | | | | | | | | timeouts for retransmissions of handshake | |||
| * | disable crypto bug workaround | Christian Grothoff | 2018-05-19 | |
| | | ||||
* | | bump loop length | Christian Grothoff | 2018-05-17 | |
|/ | ||||
* | work-around for crypto bug (to be documented more) | Christian Grothoff | 2018-05-17 | |
| | ||||
* | deduplicate code in crypto_ecc | Christian Grothoff | 2018-05-17 | |
| | ||||
* | extend test to show crypto issue | Christian Grothoff | 2018-05-17 | |
| | ||||
* | log key material hashes | Christian Grothoff | 2018-05-16 | |
| | ||||
* | get rid of plain memcpy calls | Christian Grothoff | 2018-05-13 | |
| |