Nils Gillmann [Sat, 9 Jun 2018 15:25:20 +0000 (15:25 +0000)]
Fix the link to the preliminary documentation
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sat, 9 Jun 2018 15:21:14 +0000 (15:21 +0000)]
README: Mention further reading material
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Fri, 8 Jun 2018 06:16:21 +0000 (06:16 +0000)]
doc: create system specific folder and move files into it
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Wed, 6 Jun 2018 12:23:59 +0000 (12:23 +0000)]
guix-env.scm: Add python2-future.
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Wed, 6 Jun 2018 12:19:00 +0000 (12:19 +0000)]
doc: stagging file 'FROM_SOURCE' with old repetive instructions
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Wed, 6 Jun 2018 12:18:30 +0000 (12:18 +0000)]
documentation: Remove installation
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Wed, 6 Jun 2018 12:17:10 +0000 (12:17 +0000)]
README rework part 1
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 5 Jun 2018 10:17:44 +0000 (10:17 +0000)]
gnunet-bugreport: GNUtls->GnuTLS
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 5 Jun 2018 08:54:29 +0000 (08:54 +0000)]
Add GPL2 licensed openrc service file
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Mon, 4 Jun 2018 22:05:13 +0000 (22:05 +0000)]
extend the list of known package maintainers
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Mon, 4 Jun 2018 20:50:28 +0000 (20:50 +0000)]
contrib: rename scripts/report.sh to scripts/gnunet-bugreport and install it.
Signed-off-by: Nils Gillmann <ng0@n0.is>
Christian Grothoff [Thu, 31 May 2018 06:16:17 +0000 (08:16 +0200)]
Niibe writes:
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;
--
Christian Grothoff [Thu, 31 May 2018 06:15:50 +0000 (08:15 +0200)]
add -2 flag to gnunet-gns-benchmark
Christian Grothoff [Wed, 30 May 2018 08:58:28 +0000 (10:58 +0200)]
reduce loop counters to more practical levels
Christian Grothoff [Wed, 30 May 2018 08:29:24 +0000 (10:29 +0200)]
style fix
Christian Grothoff [Wed, 30 May 2018 08:28:51 +0000 (10:28 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet
Christian Grothoff [Mon, 28 May 2018 11:04:11 +0000 (13:04 +0200)]
add patch from Niibe Yutaka for
#5328
Nils Gillmann [Sun, 27 May 2018 14:17:31 +0000 (14:17 +0000)]
gitignore: Add pytest specific
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sun, 27 May 2018 13:51:07 +0000 (13:51 +0000)]
add TODO notes in doc/documentation
Signed-off-by: Nils Gillmann <ng0@n0.is>
Christian Grothoff [Sat, 26 May 2018 16:11:21 +0000 (18:11 +0200)]
exclude SOA-only zones
Pascal Mainini [Fri, 25 May 2018 16:44:09 +0000 (18:44 +0200)]
Add gnunetgnsrecord to Libs
Nils Gillmann [Wed, 23 May 2018 22:00:23 +0000 (22:00 +0000)]
Merge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Wed, 23 May 2018 22:00:04 +0000 (22:00 +0000)]
c-tutorial: grammar fixes and general improvements
Signed-off-by: Nils Gillmann <ng0@n0.is>
Christian Grothoff [Wed, 23 May 2018 21:37:00 +0000 (23:37 +0200)]
stop DNS lookup immediately instead of async to avoid use-after free if we get BOTH an IPv4 and IPv6 response
Christian Grothoff [Wed, 23 May 2018 21:08:03 +0000 (23:08 +0200)]
fix bug where we might fail the resolution of the same DHT heap node twice due to async cleanup
Nils Gillmann [Wed, 23 May 2018 17:31:01 +0000 (17:31 +0000)]
more flakes.
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Wed, 23 May 2018 17:02:33 +0000 (17:02 +0000)]
test_integration_boostrap_and_connect: flake8
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Wed, 23 May 2018 14:35:01 +0000 (14:35 +0000)]
integration-tests: clique: flake8
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Wed, 23 May 2018 09:55:22 +0000 (09:55 +0000)]
integration-tests: gnunet-testing: flake8
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Wed, 23 May 2018 08:37:48 +0000 (08:37 +0000)]
integration-tests reconnect_nat: flake8
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Wed, 23 May 2018 08:12:08 +0000 (08:12 +0000)]
Merge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Wed, 23 May 2018 08:11:31 +0000 (08:11 +0000)]
integration-tests disconnect_nat flake8
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Wed, 23 May 2018 07:29:10 +0000 (07:29 +0000)]
revocation: test_local_revocation: Adjust to flake8
Signed-off-by: Nils Gillmann <ng0@n0.is>
Christian Grothoff [Tue, 22 May 2018 22:00:58 +0000 (00:00 +0200)]
starting with another CADET testcase (unfinished)
Christian Grothoff [Tue, 22 May 2018 21:37:15 +0000 (23:37 +0200)]
no need to dup cfg
Christian Grothoff [Tue, 22 May 2018 21:23:20 +0000 (23:23 +0200)]
fix indentation
Christian Grothoff [Tue, 22 May 2018 21:23:05 +0000 (23:23 +0200)]
log on success, too
Nils Gillmann [Tue, 22 May 2018 17:03:14 +0000 (17:03 +0000)]
+
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 17:02:29 +0000 (17:02 +0000)]
fix test locations
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 12:52:12 +0000 (12:52 +0000)]
test_gnunet_statistics: flake8
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 12:34:16 +0000 (12:34 +0000)]
testbed/buildvars.py: flake8
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 12:30:13 +0000 (12:30 +0000)]
+
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 12:28:33 +0000 (12:28 +0000)]
janitor: flake8ism
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 12:17:32 +0000 (12:17 +0000)]
pyexpect: flake8ism
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 11:45:57 +0000 (11:45 +0000)]
+
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 11:45:12 +0000 (11:45 +0000)]
text_gnunet_fs_psd.py.in: Fix loading pxpect + flake8'ism
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 09:55:04 +0000 (09:55 +0000)]
find_typedefs.py: Comment about variable 'li'
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 09:52:40 +0000 (09:52 +0000)]
contrib/scripts/terminate.py.in: bump the year
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 09:51:42 +0000 (09:51 +0000)]
contrib/scripts/terminate.py.in: indent fixes + comments
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 09:26:21 +0000 (09:26 +0000)]
++
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 09:15:34 +0000 (09:15 +0000)]
More flakes
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 09:04:40 +0000 (09:04 +0000)]
gitignore flake8.log
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Tue, 22 May 2018 08:57:06 +0000 (08:57 +0000)]
Merge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Tue, 22 May 2018 08:56:50 +0000 (08:56 +0000)]
peerinfo-tool: flake8 adjustments
Signed-off-by: Nils Gillmann <ng0@n0.is>
Christian Grothoff [Mon, 21 May 2018 16:41:07 +0000 (18:41 +0200)]
sanitize log levels
Christian Grothoff [Mon, 21 May 2018 16:10:38 +0000 (18:10 +0200)]
fix crash on unexpected client disconnect on incoming message, remove bogus assertion
Christian Grothoff [Sun, 20 May 2018 21:58:28 +0000 (23:58 +0200)]
disable debug logic
Christian Grothoff [Sun, 20 May 2018 21:57:06 +0000 (23:57 +0200)]
update ignore
Christian Grothoff [Sun, 20 May 2018 21:56:55 +0000 (23:56 +0200)]
update ignore
Christian Grothoff [Sun, 20 May 2018 21:56:07 +0000 (23:56 +0200)]
update ignore
Christian Grothoff [Sun, 20 May 2018 21:51:43 +0000 (23:51 +0200)]
fix serialization/deserialization error in namestore deferred monitor logic
Christian Grothoff [Sun, 20 May 2018 21:40:20 +0000 (23:40 +0200)]
check return values from GNSRECORD_record_serialize/size always
Christian Grothoff [Sun, 20 May 2018 19:49:49 +0000 (21:49 +0200)]
off by 0 in log msg
Christian Grothoff [Sun, 20 May 2018 19:05:18 +0000 (21:05 +0200)]
fix crash on namestore disconnect
Christian Grothoff [Sun, 20 May 2018 17:06:46 +0000 (19:06 +0200)]
guard more carefully against integer overflows
Christian Grothoff [Sun, 20 May 2018 16:55:54 +0000 (18:55 +0200)]
add test for gns2dns records pointing to DNS name
Christian Grothoff [Sun, 20 May 2018 16:55:39 +0000 (18:55 +0200)]
fix warning
Christian Grothoff [Sun, 20 May 2018 16:54:47 +0000 (18:54 +0200)]
add logic to count concurrently active GNS requests
Christian Grothoff [Sun, 20 May 2018 16:42:01 +0000 (18:42 +0200)]
allow multiple GNS2DNS records to co-exist
Christian Grothoff [Sun, 20 May 2018 16:41:48 +0000 (18:41 +0200)]
remove dead shorten logic
Christian Grothoff [Sun, 20 May 2018 12:43:30 +0000 (14:43 +0200)]
fix partitioning
Christian Grothoff [Sun, 20 May 2018 10:51:41 +0000 (12:51 +0200)]
do not crash on multiple CNAMEs
Christian Grothoff [Sat, 19 May 2018 22:45:04 +0000 (00:45 +0200)]
fix another off by one
Christian Grothoff [Sat, 19 May 2018 22:35:13 +0000 (00:35 +0200)]
fix off-by-one error in cadet connection construction, also enforce better timeouts for retransmissions of handshake
Nils Gillmann [Sat, 19 May 2018 19:44:46 +0000 (19:44 +0000)]
flake8: add .py.in to tox.ini and realize the process is far from finished.
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sat, 19 May 2018 19:29:42 +0000 (19:29 +0000)]
Fix failing peerinfo test
Signed-off-by: Nils Gillmann <ng0@n0.is>
Christian Grothoff [Sat, 19 May 2018 18:31:10 +0000 (20:31 +0200)]
disable crypto bug workaround
Christian Grothoff [Sat, 19 May 2018 18:30:03 +0000 (20:30 +0200)]
undo hostkey patch
Nils Gillmann [Sat, 19 May 2018 17:21:42 +0000 (17:21 +0000)]
src/consensus/consensus-simulation: Use past.builtins for xrange
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sat, 19 May 2018 17:02:58 +0000 (17:02 +0000)]
python2+3 compat.: contrib/scripts/find_typedefs, gdb-iterate-dll: unicode-literals
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sat, 19 May 2018 17:01:57 +0000 (17:01 +0000)]
gitignore: Add .bak
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sat, 19 May 2018 16:59:29 +0000 (16:59 +0000)]
python2+3 compat.: contrib/scripts/gdb-iterate-dll.py: use futures.
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sat, 19 May 2018 16:02:18 +0000 (16:02 +0000)]
contrib/scripts: lint-python.sh, small wrapper
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sat, 19 May 2018 15:26:08 +0000 (15:26 +0000)]
+
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sat, 19 May 2018 15:18:30 +0000 (15:18 +0000)]
+
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sat, 19 May 2018 15:05:21 +0000 (15:05 +0000)]
follow-up, fix conf locations
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Sat, 19 May 2018 14:50:02 +0000 (14:50 +0000)]
Merge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Sat, 19 May 2018 14:43:13 +0000 (14:43 +0000)]
Restructure contrib folder.
contrib/pogen.sh -> bin/pogen.sh
bootstrap: Use new pogen location and execute it.
contrib/openvpn-tap32: Move to contrib/3rdparty/Windows/openvpn-tap32.
contrib/gnunet-logo*: Move to contrib/branding/logo/
Delete old patches in contrib, predating git.
Move buildbot data to contrib/ci/buildbot,
move docker data to contrib/ci/docker.
Create contrib/conf and populate it with config files found in contrib and bin.
Move gns related data to contrib/gns.
delete contrib/repeat.sh
Move contrib/log.php into contrib/web/log.php.
Create folder contrib/scripts and use it for most scripts in contrib.
Remove trailing whitespace in doc/Makefile.am
Signed-off-by: Nils Gillmann <ng0@n0.is>
Schanzenbach, Martin [Fri, 18 May 2018 20:05:18 +0000 (22:05 +0200)]
-add basic macOS installation instructions
Christian Grothoff [Fri, 18 May 2018 09:10:49 +0000 (11:10 +0200)]
ancient debug patches can die
Christian Grothoff [Fri, 18 May 2018 09:08:01 +0000 (11:08 +0200)]
remove bitrot
Nils Gillmann [Fri, 18 May 2018 07:31:25 +0000 (07:31 +0000)]
po: Generate perl bin path
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Fri, 18 May 2018 06:48:30 +0000 (06:48 +0000)]
contrib/openvpn-tap32 content is GPL2 licensed. This is only stated in the zip archives, so include a license file in the folder which contains them.
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Fri, 18 May 2018 06:05:06 +0000 (06:05 +0000)]
configure.ac: FIXME note on version command that predates switch to git.
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Thu, 17 May 2018 17:54:56 +0000 (17:54 +0000)]
contrib: change Dockerfile to more reliable/distributed gnurl source
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Thu, 17 May 2018 17:45:45 +0000 (17:45 +0000)]
...and move it to a better named file in there
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Thu, 17 May 2018 17:44:34 +0000 (17:44 +0000)]
Move hacks.el to contrib
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Thu, 17 May 2018 17:43:34 +0000 (17:43 +0000)]
Add copyright to hacks.el
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Thu, 17 May 2018 16:38:30 +0000 (16:38 +0000)]
contrib/removetrailingwhitespace: sed the python
Signed-off-by: Nils Gillmann <ng0@n0.is>
Nils Gillmann [Thu, 17 May 2018 16:27:27 +0000 (16:27 +0000)]
Revert "Revert "PEP 237 unified long integers and integers: python.org/dev/peps/pep-0237/""
This reverts commit
d9d4454b10201c1c1e0da7e95069dd073571beac.
Actually this is valid for python >= 2.2 and 3.x