Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 |
| | |||
* | more verbose logging | Christian Grothoff | 2018-05-10 |
| | |||
* | implement new functions in libgnunetsq, clean up sqlite namestore plugin, ↵ | Christian Grothoff | 2018-05-09 |
| | | | | implement flow control in namestore API and tests | ||
* | expand test_mq testcase | Christian Grothoff | 2018-05-08 |
| | |||
* | Switch to $GNUNET_TMP in all configuration files. | Nils Gillmann | 2018-05-06 |
| | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | ||
* | define GNUNET_TMP | Christian Grothoff | 2018-05-05 |
| | |||
* | misc improvements to statistics and large-scale behavior of ↵ | Christian Grothoff | 2018-05-02 |
| | | | | zoneimport/zonemaster | ||
* | eliminate DHT PUT OK message by using MQ feature of calling continuation ↵ | Christian Grothoff | 2018-04-30 |
| | | | | when transmission is complete | ||
* | enable more parallelism with DHT queue, but limit to 1000 entries, then kill ↵ | Christian Grothoff | 2018-04-30 |
| | | | | hard | ||
* | clarify issue | Christian Grothoff | 2018-04-24 |
| | |||
* | do not crash if service violates IPC protocol | Christian Grothoff | 2018-04-24 |
| | |||
* | more work on gnunet-zoneimport, some bugfix in flat namestore, misc. style fixes | Christian Grothoff | 2018-04-10 |
| | |||
* | make some functions static, ensure shutdown tasks could be run repeatedly if ↵ | Christian Grothoff | 2018-03-31 |
| | | | | 1st shutdown did not finish the process | ||
* | disable debug instrumentation again | Christian Grothoff | 2018-03-08 |
| | |||
* | better error reporting from scheduler | Christian Grothoff | 2018-03-08 |
| |