AgeCommit message (Collapse)Author
2018-06-06add changelogv0.11.0pre66Christian Grothoff
2018-06-06for posterity: the script that caught all kinds of funny license formattingpsyc://loupsycedyglgamf.onion/~lynX
2018-06-06second batch complete. WE ARE AFFERO AGPL NOW!psyc://loupsycedyglgamf.onion/~lynX
2018-06-06fix misc compiler warningsChristian Grothoff
2018-06-06ignore tag fileChristian Grothoff
2018-06-06fix linker issueChristian Grothoff
2018-06-06better indentation, nicer formatting of SQLChristian Grothoff
2018-06-06better indentationChristian Grothoff
2018-06-06implement proper expiration logic also for postgres pluginChristian Grothoff
2018-06-05first batch of license fixes (boring)psyc://loupsycedyglgamf.onion/~lynX
2018-06-05afferify COPYING and the contrib folderspsyc://loupsycedyglgamf.onion/~lynX
2018-06-05less heteronormative function names (SCNR)psyc://loupsycedyglgamf.onion/~lynX
2018-06-06fix ftbfsSchanzenbach, Martin
2018-06-06rps service: rename option in configJulius Bünger
2018-06-06rps: split tests and profiler, proper shutdownJulius Bünger
2018-06-06whitespaceChristian Grothoff
2018-06-06changes for AGPL handlingChristian Grothoff
2018-06-05style fixChristian Grothoff
2018-06-05fix KX in Cadet for revocation-style sequencingChristian Grothoff
2018-06-05resume curl download if we paused it beforeChristian Grothoff
2018-06-05follow twister change e01669953d7a8e82a505fca2308e57e971d43c67: check return ↵Christian Grothoff
value on upload_cb registration with curl
2018-06-05code cleanup, fix strlenChristian Grothoff
2018-06-05update gitignoreChristian Grothoff
2018-06-05fix handling of chunked encoding by proxy, and handling of connection ↵Christian Grothoff
2018-06-05typoChristian Grothoff
2018-06-05use real GNS record types in tests to avoid failures in new extra ↵Christian Grothoff
serialization/deserialization checking
2018-06-04testcase cleanupChristian Grothoff
2018-06-04fix a few disting issuesChristian Grothoff
2018-06-04script was removedChristian Grothoff
2018-06-04fix typo in Makefile.amChristian Grothoff
2018-06-04use DEBUG_KX for new core log messagesChristian Grothoff
2018-06-04merge benchmark changesChristian Grothoff
2018-06-04add function for getopt uint16_t argumentsChristian Grothoff
2018-06-03more loggingChristian Grothoff
2018-06-03more crypto KX loggingChristian Grothoff
2018-06-03more core KX loggingChristian Grothoff
2018-06-03fix logicChristian Grothoff
2018-06-03proper datacache expiration by proximity firstChristian Grothoff
2018-06-03more loggingChristian Grothoff
2018-05-31add more logging for core KX to improve diagnosticsChristian Grothoff
2018-05-31Niibe writes:Christian Grothoff
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; --
2018-05-31add -2 flag to gnunet-gns-benchmarkChristian Grothoff
2018-05-30add proximity considerations to datacacheChristian Grothoff
2018-05-30disable xu transport, header missingChristian Grothoff
2018-05-30reduce loop counters to more practical levelsChristian Grothoff
2018-05-30style fixChristian Grothoff
2018-05-30Merge branch 'master' of ssh:// Grothoff
2018-05-28adding xu transportChristian Grothoff
2018-05-28add patch from Niibe Yutaka forChristian Grothoff
2018-05-28skip validation logicChristian Grothoff