oweals/gnunet.git
6 years agomerge
Christian Grothoff [Thu, 9 Aug 2018 14:43:47 +0000 (16:43 +0200)]
merge

6 years agochange CADET channel destroy API to not call the callback if the client initiated...
Christian Grothoff [Thu, 9 Aug 2018 14:35:32 +0000 (16:35 +0200)]
change CADET channel destroy API to not call the callback if the client initiated the channel's destruction

6 years agouse fprintf, change output style
Schanzenbach, Martin [Thu, 9 Aug 2018 14:22:33 +0000 (16:22 +0200)]
use fprintf, change output style

6 years agoactually fix revocation
Schanzenbach, Martin [Thu, 9 Aug 2018 14:13:01 +0000 (16:13 +0200)]
actually fix revocation

6 years agosyntax
Schanzenbach, Martin [Thu, 9 Aug 2018 14:10:56 +0000 (16:10 +0200)]
syntax

6 years agofix output; fix revocation
Schanzenbach, Martin [Thu, 9 Aug 2018 14:07:33 +0000 (16:07 +0200)]
fix output; fix revocation

6 years agoissue case insensitivity
Schanzenbach, Martin [Thu, 9 Aug 2018 12:22:40 +0000 (14:22 +0200)]
issue case insensitivity

6 years agoAdd docstrings to recently introduced functions
Julius Bünger [Thu, 9 Aug 2018 11:54:10 +0000 (13:54 +0200)]
Add docstrings to recently introduced functions

6 years agofix case insensitivity
Schanzenbach, Martin [Thu, 9 Aug 2018 10:58:48 +0000 (12:58 +0200)]
fix case insensitivity

6 years agoApparently ignoring return values from add_now is almost always a bug
Schanzenbach, Martin [Thu, 9 Aug 2018 09:23:07 +0000 (11:23 +0200)]
Apparently ignoring return values from add_now is almost always a bug

6 years agofix ego not found
Schanzenbach, Martin [Thu, 9 Aug 2018 09:10:46 +0000 (11:10 +0200)]
fix ego not found

6 years agoupdate
Schanzenbach, Martin [Thu, 9 Aug 2018 08:54:21 +0000 (10:54 +0200)]
update

6 years agouse to_string for attribute
Schanzenbach, Martin [Thu, 9 Aug 2018 08:32:31 +0000 (10:32 +0200)]
use to_string for attribute

6 years agoRestructure removal of peers during shutdown (rps service)
Julius Bünger [Tue, 7 Aug 2018 14:02:36 +0000 (16:02 +0200)]
Restructure removal of peers during shutdown (rps service)

6 years agoremove jsonapi dep from copying
Schanzenbach, Martin [Mon, 6 Aug 2018 14:36:58 +0000 (16:36 +0200)]
remove jsonapi dep from copying

6 years agoensure ego identifiers are lowercase
Schanzenbach, Martin [Mon, 6 Aug 2018 14:05:57 +0000 (16:05 +0200)]
ensure ego identifiers are lowercase

6 years agoadd copying rest plugin
Schanzenbach, Martin [Mon, 6 Aug 2018 12:34:56 +0000 (14:34 +0200)]
add copying rest plugin

6 years agoREADME.md: er, not ssh -- bring back rsh!
dvn [Thu, 2 Aug 2018 13:07:11 +0000 (15:07 +0200)]
README.md: er, not ssh -- bring back rsh!

6 years agoREADME.md: add section on VPN usage
dvn [Thu, 2 Aug 2018 13:01:41 +0000 (15:01 +0200)]
README.md: add section on VPN usage

This section and filesharing are almost verbatim copies of a tutorial
wldhx made half-a-year ago.

6 years agodocker: move Dockerfile to root of repo
dvn [Thu, 2 Aug 2018 12:33:18 +0000 (14:33 +0200)]
docker: move Dockerfile to root of repo

This is because of a limitation of Docker, which requires that you run
the Dockerfile from the directory in which you will copy in data. Moving
it to the root of the repo allows us to COPY in the code instead of
doing a 'git pull' from the container.

6 years agoREADME.md: provide link to libmicrohttpd
dvn [Thu, 2 Aug 2018 11:35:47 +0000 (13:35 +0200)]
README.md: provide link to libmicrohttpd

6 years agodocker: Add a docker quick-start directory
dvn [Wed, 1 Aug 2018 15:24:40 +0000 (17:24 +0200)]
docker: Add a docker quick-start directory

6 years agoREADME.md: Add examples for using gnunet-fs
dvn [Wed, 1 Aug 2018 14:28:18 +0000 (16:28 +0200)]
README.md: Add examples for using gnunet-fs

6 years agoREADME.md: make architecture svg larger
dvn [Wed, 1 Aug 2018 12:23:49 +0000 (14:23 +0200)]
README.md: make architecture svg larger

6 years agoREADME.md: Add file transfer via cadet usage example.
dvn [Wed, 1 Aug 2018 12:19:41 +0000 (14:19 +0200)]
README.md: Add file transfer via cadet usage example.

6 years agoREADME.md: Fix image alignment, and sizing
dvn [Wed, 1 Aug 2018 11:08:50 +0000 (13:08 +0200)]
README.md: Fix image alignment, and sizing

6 years agoREADME.md: syntax fix, and logo resize
dvn [Wed, 1 Aug 2018 11:04:32 +0000 (13:04 +0200)]
README.md: syntax fix, and logo resize

6 years agoREADME.md: Create a Markdown README document
dvn [Wed, 1 Aug 2018 10:52:33 +0000 (12:52 +0200)]
README.md: Create a Markdown README document

6 years agoGNUNET_SCHEDULER_do_work: always check if shutdown is necessary and update wakeup
lurchi [Sun, 29 Jul 2018 16:18:34 +0000 (18:18 +0200)]
GNUNET_SCHEDULER_do_work: always check if shutdown is necessary and update wakeup
time

6 years agodocumentation: update formulations
Julius Bünger [Fri, 27 Jul 2018 20:33:02 +0000 (22:33 +0200)]
documentation: update formulations

6 years agoRemove obsolete DLL for cancellations of tasks
Julius Bünger [Fri, 27 Jul 2018 18:01:28 +0000 (20:01 +0200)]
Remove obsolete DLL for cancellations of tasks

6 years agoremove now obsolete usage of channel-related flags
Julius Bünger [Fri, 27 Jul 2018 18:00:45 +0000 (20:00 +0200)]
remove now obsolete usage of channel-related flags

6 years agoFix rps service: restructure channel-related code
Julius Bünger [Fri, 27 Jul 2018 17:57:03 +0000 (19:57 +0200)]
Fix rps service: restructure channel-related code

There is still an error left.
Valgrind reports
==2008== Invalid read of size 8
==2008==    at 0x50662A4: GNUNET_CONTAINER_multipeermap_contains (container_multipeermap.c:542)
==2008==    by 0x114E8A: Peers_remove_peer (gnunet-service-rps.c:1306)
==2008==    by 0x114E65: destroy_peer (gnunet-service-rps.c:1283)
==2008==    by 0x50A29B2: GNUNET_SCHEDULER_do_work (scheduler.c:2104)
==2008==    by 0x50A382D: select_loop (scheduler.c:2400)
==2008==    by 0x509DE48: GNUNET_SCHEDULER_run (scheduler.c:725)
==2008==    by 0x50A989E: GNUNET_SERVICE_run_ (service.c:1875)
==2008==    by 0x11EE83: main (gnunet-service-rps.c:4584)
==2008==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==2008==
==2008==
==2008== Process terminating with default action of signal 11 (SIGSEGV)
==2008==  Access not within mapped region at address 0x0
==2008==    at 0x50662A4: GNUNET_CONTAINER_multipeermap_contains (container_multipeermap.c:542)
==2008==    by 0x114E8A: Peers_remove_peer (gnunet-service-rps.c:1306)
==2008==    by 0x114E65: destroy_peer (gnunet-service-rps.c:1283)
==2008==    by 0x50A29B2: GNUNET_SCHEDULER_do_work (scheduler.c:2104)
==2008==    by 0x50A382D: select_loop (scheduler.c:2400)
==2008==    by 0x509DE48: GNUNET_SCHEDULER_run (scheduler.c:725)
==2008==    by 0x50A989E: GNUNET_SERVICE_run_ (service.c:1875)
==2008==    by 0x11EE83: main (gnunet-service-rps.c:4584)

This seems to only appear at shutdown so it is not dramatic.

6 years agofix rps service: put peer id into structure once
Julius Bünger [Thu, 26 Jul 2018 15:05:55 +0000 (17:05 +0200)]
fix rps service: put peer id into structure once

6 years agorps profiler: destroy pending req and rep in right place
Julius Bünger [Thu, 26 Jul 2018 15:04:44 +0000 (17:04 +0200)]
rps profiler: destroy pending req and rep in right place

6 years agorps service: improve logging - log peer id
Julius Bünger [Thu, 26 Jul 2018 14:53:51 +0000 (16:53 +0200)]
rps service: improve logging - log peer id

6 years agofix rps service: don't null out context, just channel
Julius Bünger [Thu, 26 Jul 2018 14:53:24 +0000 (16:53 +0200)]
fix rps service: don't null out context, just channel

6 years agorps service: don't send 'ping' twice
Julius Bünger [Thu, 26 Jul 2018 14:52:36 +0000 (16:52 +0200)]
rps service: don't send 'ping' twice

6 years agofix rps service: better handling of cadet channels
Julius Bünger [Wed, 25 Jul 2018 15:53:31 +0000 (17:53 +0200)]
fix rps service: better handling of cadet channels

6 years agoRemove restrictive and unnecessary assert
lurchi [Tue, 24 Jul 2018 21:37:57 +0000 (23:37 +0200)]
Remove restrictive and unnecessary assert

Using the SCHEDULER_add* functions is now allowed before the first call to GNUNET_SCHEDULER_do_work.

6 years agoalso return empty egos
Schanzenbach, Martin [Tue, 24 Jul 2018 19:49:47 +0000 (21:49 +0200)]
also return empty egos

6 years agofix
Schanzenbach, Martin [Mon, 23 Jul 2018 21:14:17 +0000 (23:14 +0200)]
fix

6 years agofix wrong record type
Schanzenbach, Martin [Mon, 23 Jul 2018 20:58:20 +0000 (22:58 +0200)]
fix wrong record type

6 years agoswitch to gnsrecord reclaim records for OIDC clients
Schanzenbach, Martin [Mon, 23 Jul 2018 20:10:47 +0000 (22:10 +0200)]
switch to gnsrecord reclaim records for OIDC clients

6 years agofix
Schanzenbach, Martin [Mon, 23 Jul 2018 17:29:44 +0000 (19:29 +0200)]
fix

6 years agofix signature check
Schanzenbach, Martin [Mon, 23 Jul 2018 12:10:33 +0000 (14:10 +0200)]
fix signature check

6 years agofix
Schanzenbach, Martin [Mon, 23 Jul 2018 11:55:18 +0000 (13:55 +0200)]
fix

6 years agofixes
Schanzenbach, Martin [Mon, 23 Jul 2018 11:32:54 +0000 (13:32 +0200)]
fixes

6 years agorefactoring of OIDC plugin
Schanzenbach, Martin [Mon, 23 Jul 2018 10:42:18 +0000 (12:42 +0200)]
refactoring of OIDC plugin

6 years agofix build
Schanzenbach, Martin [Sun, 22 Jul 2018 19:49:38 +0000 (21:49 +0200)]
fix build

6 years agotowards secure redirects
Schanzenbach, Martin [Sun, 22 Jul 2018 19:26:47 +0000 (21:26 +0200)]
towards secure redirects

6 years agocleanup
Schanzenbach, Martin [Sun, 22 Jul 2018 16:02:48 +0000 (18:02 +0200)]
cleanup

6 years agoensure ticket contains client id
Schanzenbach, Martin [Sun, 22 Jul 2018 16:01:50 +0000 (18:01 +0200)]
ensure ticket contains client id

6 years agoadd signature check to token endpoint
Schanzenbach, Martin [Sun, 22 Jul 2018 14:37:49 +0000 (16:37 +0200)]
add signature check to token endpoint

6 years agofix code signing
Schanzenbach, Martin [Sun, 22 Jul 2018 13:50:52 +0000 (15:50 +0200)]
fix code signing

6 years agofix subject in JWT
Schanzenbach, Martin [Sat, 21 Jul 2018 11:34:50 +0000 (13:34 +0200)]
fix subject in JWT

6 years agoactually fix
Schanzenbach, Martin [Sat, 21 Jul 2018 11:04:17 +0000 (13:04 +0200)]
actually fix

6 years agofix
Schanzenbach, Martin [Sat, 21 Jul 2018 11:02:18 +0000 (13:02 +0200)]
fix

6 years agofix timestamps
Schanzenbach, Martin [Sat, 21 Jul 2018 10:50:50 +0000 (12:50 +0200)]
fix timestamps

6 years agofixes for JWT creation
Schanzenbach, Martin [Sat, 21 Jul 2018 10:02:24 +0000 (12:02 +0200)]
fixes for JWT creation

6 years agofix base64urlencode for JWT to adhere to RFC4648
Schanzenbach, Martin [Sat, 21 Jul 2018 08:10:22 +0000 (10:10 +0200)]
fix base64urlencode for JWT to adhere to RFC4648

6 years agocompact JWT serialization
Schanzenbach, Martin [Sat, 21 Jul 2018 07:21:01 +0000 (09:21 +0200)]
compact JWT serialization

6 years agofix JWT format
Schanzenbach, Martin [Sat, 21 Jul 2018 06:40:45 +0000 (08:40 +0200)]
fix JWT format

6 years agoadd more general HMAC function for JWTs
Schanzenbach, Martin [Sat, 21 Jul 2018 06:00:49 +0000 (08:00 +0200)]
add more general HMAC function for JWTs

6 years agorevert simple TLD mapping
Schanzenbach, Martin [Fri, 20 Jul 2018 19:42:37 +0000 (21:42 +0200)]
revert simple TLD mapping

6 years agofix
Schanzenbach, Martin [Fri, 20 Jul 2018 14:08:08 +0000 (16:08 +0200)]
fix

6 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Fri, 20 Jul 2018 13:13:37 +0000 (15:13 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

6 years agoupdate
Schanzenbach, Martin [Fri, 20 Jul 2018 13:13:29 +0000 (15:13 +0200)]
update

6 years agoinclude/gnunet_abe_lib.h: typo fix in comment
Nils Gillmann [Fri, 20 Jul 2018 07:11:55 +0000 (07:11 +0000)]
include/gnunet_abe_lib.h: typo fix in comment

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoremove trust check; we don't need (and thus implicity may slighly deviate from rfc)
Schanzenbach, Martin [Fri, 20 Jul 2018 06:39:06 +0000 (08:39 +0200)]
remove trust check; we don't need (and thus implicity may slighly deviate from rfc)

6 years agorenamed identity-provider subsystem to reclaim
Schanzenbach, Martin [Thu, 19 Jul 2018 21:28:53 +0000 (23:28 +0200)]
renamed identity-provider subsystem to reclaim

6 years agochange JWT algorithm to HMAC
Schanzenbach, Martin [Thu, 19 Jul 2018 20:16:00 +0000 (22:16 +0200)]
change JWT algorithm to HMAC

6 years agoGuix Env/Build: Add a guix build definition without tests
dvn [Sat, 14 Jul 2018 00:06:46 +0000 (02:06 +0200)]
Guix Env/Build: Add a guix build definition without tests

6 years agoRevert "restructure rps service: start keeping track of channels"
Julius Bünger [Fri, 13 Jul 2018 07:53:05 +0000 (09:53 +0200)]
Revert "restructure rps service: start keeping track of channels"

This reverts commit 330bb7242aed7c426cfdbb589155db5bb3fa83dc.

6 years agorps service: check return value when opening cadet port
Julius Bünger [Thu, 12 Jul 2018 23:14:43 +0000 (01:14 +0200)]
rps service: check return value when opening cadet port

6 years agorestructure rps service: start keeping track of channels
Julius Bünger [Thu, 12 Jul 2018 23:13:53 +0000 (01:13 +0200)]
restructure rps service: start keeping track of channels

6 years agorps profiler: proper disconnect from service
Julius Bünger [Thu, 12 Jul 2018 23:11:32 +0000 (01:11 +0200)]
rps profiler: proper disconnect from service

6 years agoChanged decription of GNUNET_CRYPTO_EddsaPublicKey.
Bernd Fix [Thu, 12 Jul 2018 21:03:20 +0000 (23:03 +0200)]
Changed decription of GNUNET_CRYPTO_EddsaPublicKey.

6 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Wed, 11 Jul 2018 21:59:50 +0000 (23:59 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

6 years agofix div by zero
Christian Grothoff [Wed, 11 Jul 2018 21:59:45 +0000 (23:59 +0200)]
fix div by zero

6 years agofix rps profiler: clean data structure in time
Julius Bünger [Wed, 11 Jul 2018 15:32:58 +0000 (17:32 +0200)]
fix rps profiler: clean data structure in time

6 years agorps profiler: reorganise shutdown
Julius Bünger [Wed, 11 Jul 2018 14:36:25 +0000 (16:36 +0200)]
rps profiler: reorganise shutdown

6 years agofix rps profiler: mark statistics get done in right place
Julius Bünger [Tue, 10 Jul 2018 10:37:57 +0000 (12:37 +0200)]
fix rps profiler: mark statistics get done in right place

6 years agorps profiler: add option for duration of profiling
Julius Bünger [Tue, 10 Jul 2018 10:13:14 +0000 (12:13 +0200)]
rps profiler: add option for duration of profiling

6 years agofix rps profiler: keep track about scheduled tasks properly
Julius Bünger [Tue, 10 Jul 2018 09:02:42 +0000 (11:02 +0200)]
fix rps profiler: keep track about scheduled tasks properly

6 years agorps profiler: logging and indentation
Julius Bünger [Tue, 10 Jul 2018 09:00:06 +0000 (11:00 +0200)]
rps profiler: logging and indentation

6 years agoDocumentation: Drop the empty '1.5 General Terminology' section for now
Nils Gillmann [Sun, 8 Jul 2018 19:17:02 +0000 (19:17 +0000)]
Documentation: Drop the empty '1.5 General Terminology' section for now

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoDocumentation: Contributing to this book. A motivational short section on how and...
Nils Gillmann [Sun, 8 Jul 2018 19:12:20 +0000 (19:12 +0000)]
Documentation: Contributing to this book. A motivational short section on how and why to contribute to the book.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofix fmt string
Christian Grothoff [Sat, 7 Jul 2018 18:54:34 +0000 (20:54 +0200)]
fix fmt string

6 years agoadd missing index
Christian Grothoff [Sat, 7 Jul 2018 18:53:11 +0000 (20:53 +0200)]
add missing index

6 years agofix numbering glitch
Christian Grothoff [Sat, 7 Jul 2018 15:13:25 +0000 (17:13 +0200)]
fix numbering glitch

6 years agofix titles
Schanzenbach, Martin [Sat, 7 Jul 2018 09:58:06 +0000 (11:58 +0200)]
fix titles

6 years agoadd some reclaim
Schanzenbach, Martin [Sat, 7 Jul 2018 09:51:44 +0000 (11:51 +0200)]
add some reclaim

6 years agorps service: additional logging of unexpected channel establishing
Julius Bünger [Thu, 5 Jul 2018 20:06:54 +0000 (22:06 +0200)]
rps service: additional logging of unexpected channel establishing

6 years agorps profiler: different delay for hard shutdown
Julius Bünger [Thu, 5 Jul 2018 20:06:11 +0000 (22:06 +0200)]
rps profiler: different delay for hard shutdown

6 years agorps profiler: additional checks and assertions before disconnect from rps
Julius Bünger [Thu, 5 Jul 2018 20:05:16 +0000 (22:05 +0200)]
rps profiler: additional checks and assertions before disconnect from rps

6 years agofix rps profiler: mark operation as done on shutdown
Julius Bünger [Thu, 5 Jul 2018 15:09:06 +0000 (17:09 +0200)]
fix rps profiler: mark operation as done on shutdown

6 years agoDocumentation: Fix some TODOs in preface
Nils Gillmann [Wed, 4 Jul 2018 20:29:19 +0000 (20:29 +0000)]
Documentation: Fix some TODOs in preface

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoREADME: retire d.n0.is and replace it with docs.gnunet.org
Nils Gillmann [Wed, 4 Jul 2018 20:17:14 +0000 (20:17 +0000)]
README: retire d.n0.is and replace it with docs.gnunet.org

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoMerge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Wed, 4 Jul 2018 20:06:22 +0000 (20:06 +0000)]
Merge branch 'master' of gnunet.org:gnunet