aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-06guix-env.scm: Add python2-future.Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-06-06doc: stagging file 'FROM_SOURCE' with old repetive instructionsNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-06-06documentation: Remove installationNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-06-06README rework part 1Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-06-05gnunet-bugreport: GNUtls->GnuTLSNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-06-05Add GPL2 licensed openrc service fileNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-06-04extend the list of known package maintainersNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-06-04contrib: rename scripts/report.sh to scripts/gnunet-bugreport and install it.Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
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-30reduce loop counters to more practical levelsChristian Grothoff
2018-05-30style fixChristian Grothoff
2018-05-30Merge branch 'master' of ssh://gnunet.org/gnunetChristian Grothoff
2018-05-28add patch from Niibe Yutaka forChristian Grothoff
#5328
2018-05-27gitignore: Add pytest specificNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-27add TODO notes in doc/documentationNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-26exclude SOA-only zonesChristian Grothoff
2018-05-25Add gnunetgnsrecord to LibsPascal Mainini
2018-05-23Merge branch 'master' of gnunet.org:gnunetNils Gillmann
2018-05-23c-tutorial: grammar fixes and general improvementsNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-23stop DNS lookup immediately instead of async to avoid use-after free if we ↵Christian Grothoff
get BOTH an IPv4 and IPv6 response
2018-05-23fix bug where we might fail the resolution of the same DHT heap node twice ↵Christian Grothoff
due to async cleanup
2018-05-23more flakes.Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-23test_integration_boostrap_and_connect: flake8Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-23integration-tests: clique: flake8Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-23integration-tests: gnunet-testing: flake8Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-23integration-tests reconnect_nat: flake8Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-23Merge branch 'master' of gnunet.org:gnunetNils Gillmann
2018-05-23integration-tests disconnect_nat flake8Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-23revocation: test_local_revocation: Adjust to flake8Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-23starting with another CADET testcase (unfinished)Christian Grothoff
2018-05-22no need to dup cfgChristian Grothoff
2018-05-22fix indentationChristian Grothoff
2018-05-22log on success, tooChristian Grothoff
2018-05-22+Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22fix test locationsNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22test_gnunet_statistics: flake8Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22testbed/buildvars.py: flake8Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22+Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22janitor: flake8ismNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22pyexpect: flake8ismNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22+Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22text_gnunet_fs_psd.py.in: Fix loading pxpect + flake8'ismNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22find_typedefs.py: Comment about variable 'li'Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22contrib/scripts/terminate.py.in: bump the yearNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22contrib/scripts/terminate.py.in: indent fixes + commentsNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22++Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22More flakesNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22gitignore flake8.logNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-22Merge branch 'master' of gnunet.org:gnunetNils Gillmann