t3sserakt [Thu, 4 Jun 2020 14:22:30 +0000 (16:22 +0200)]
fixed test and formatting
t3sserakt [Thu, 4 Jun 2020 14:21:28 +0000 (16:21 +0200)]
Merge branch 'channel_destroy' of ssh://gnunet.org/gnunet into channel_destroy
Martin Schanzenbach [Mon, 1 Jun 2020 17:08:32 +0000 (19:08 +0200)]
tng: do not handle message send more than once
Martin Schanzenbach [Mon, 1 Jun 2020 16:45:46 +0000 (18:45 +0200)]
tng: fix for macos unix socket handling
Martin Schanzenbach [Mon, 1 Jun 2020 16:43:32 +0000 (18:43 +0200)]
tng: MTU fix for other UNIXes, log message
Martin Schanzenbach [Mon, 1 Jun 2020 16:18:00 +0000 (18:18 +0200)]
tng: UNIX communicator fixes. Test fixes
Martin Schanzenbach [Mon, 1 Jun 2020 14:39:35 +0000 (16:39 +0200)]
tng: more UDP communicator backchannels
Added a new message for queue updates to indicate queue length.
Queues now may also have a priority parameter.
Martin Schanzenbach [Sat, 30 May 2020 15:45:38 +0000 (17:45 +0200)]
towards UDP backchannels
Jonathan Buchanan [Sat, 30 May 2020 02:31:37 +0000 (22:31 -0400)]
rsa crypto compare functions take const parameters
Alessio Vanni [Wed, 27 May 2020 13:01:30 +0000 (15:01 +0200)]
Make REQUEST_AGPL messages configurable and add handler by default
This makes two changes:
* Add a field to `struct GNUNET_OS_ProjectData' containing a URL (as a string)
pointing to the source code of the application.
* If the field is not NULL, add a handler for the REQUEST_AGPL messages
sending the specified URL to the client.
The handler is added both in client-service communications (i.e. local
services that don't make requests to other peers in the network) and in
peer-peer communications (CADET.) This way, any client (local or remote with
CADET) can request the source code location using a standardized mechanism
instead of writing ad-hoc solutions (unless the service/peer explicitly
specifies a NULL pointer.)
Signed-off-by: Christian Grothoff <christian@grothoff.org>
Martin Schanzenbach [Wed, 27 May 2020 07:40:41 +0000 (09:40 +0200)]
- do not include commits with - prefixed to message in changelog delta
Martin Schanzenbach [Wed, 27 May 2020 07:32:06 +0000 (09:32 +0200)]
add lastlog script
Martin Schanzenbach [Wed, 27 May 2020 07:25:44 +0000 (09:25 +0200)]
changelog from git log
Martin Schanzenbach [Wed, 27 May 2020 06:23:47 +0000 (08:23 +0200)]
update changelog, new format
Martin Schanzenbach [Tue, 26 May 2020 09:49:50 +0000 (11:49 +0200)]
remove argon2 dependency. Use limited libsodium argon2id function for GNS and NSE
Martin Schanzenbach [Tue, 26 May 2020 08:50:23 +0000 (10:50 +0200)]
test vectors in binary
jospaeth [Tue, 26 May 2020 07:08:09 +0000 (09:08 +0200)]
Merge branch 'spaeth/import_identity'
Martin Schanzenbach [Tue, 26 May 2020 06:52:28 +0000 (08:52 +0200)]
fix bit counting mess
Martin Schanzenbach [Mon, 25 May 2020 22:43:34 +0000 (00:43 +0200)]
remove some debug
Martin Schanzenbach [Mon, 25 May 2020 22:42:31 +0000 (00:42 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet
Martin Schanzenbach [Mon, 25 May 2020 22:42:24 +0000 (00:42 +0200)]
use argon2id
Florian Dold [Mon, 25 May 2020 21:53:29 +0000 (03:23 +0530)]
replace Christian's FIXME with an explanation
Florian Dold [Mon, 25 May 2020 21:35:33 +0000 (03:05 +0530)]
add additional test condition for GNS crypto
Martin Schanzenbach [Mon, 25 May 2020 20:19:07 +0000 (22:19 +0200)]
actually add ttl
jospaeth [Mon, 25 May 2020 19:38:58 +0000 (21:38 +0200)]
add option to create identity from private key
Martin Schanzenbach [Mon, 25 May 2020 10:01:23 +0000 (12:01 +0200)]
fix bit check in hash
Martin Schanzenbach [Mon, 25 May 2020 09:22:07 +0000 (11:22 +0200)]
add some more debug output
Martin Schanzenbach [Mon, 25 May 2020 07:48:12 +0000 (09:48 +0200)]
fix sizes, should not affect actual operation
Martin Schanzenbach [Fri, 22 May 2020 07:44:22 +0000 (09:44 +0200)]
add option to show private key
Christian Grothoff [Thu, 21 May 2020 23:16:35 +0000 (01:16 +0200)]
fix #6242
Christian Grothoff [Wed, 20 May 2020 10:11:05 +0000 (12:11 +0200)]
style specing
Christian Grothoff [Tue, 19 May 2020 00:33:11 +0000 (02:33 +0200)]
missing termination
Alessio Vanni [Thu, 14 May 2020 14:03:10 +0000 (16:03 +0200)]
Improved BIO API
BIO now supports reading from and writing to in-memory buffers.
For reading, an allocated buffer (array) and a size is passed as arguments to
the function opening the handle.
For writing, a GNUNET_Buffer is created and used internally. The buffer
contents can be extracted using the relevant function.
There is a new API in addition to the existing read/write: this new API is
more "declarative" in nature and is meant to mimic APIs like GNUNET_SQ.
The read/write operations are defined in an array of specs which are then
"commited" in a single (non-atomic) operation, rather than explicitly
executing multiple function calls and checking their return value.
Also there are small changes to GNUNET_Buffer to account for BIO's new
features.
Signed-off-by: Christian Grothoff <christian@grothoff.org>
Christian Grothoff [Wed, 6 May 2020 15:29:28 +0000 (17:29 +0200)]
fix ftbfs
Martin Schanzenbach [Mon, 18 May 2020 08:10:26 +0000 (10:10 +0200)]
pow values should be nbo
Martin Schanzenbach [Mon, 18 May 2020 06:59:06 +0000 (08:59 +0200)]
add smi pow values
Martin Schanzenbach [Mon, 18 May 2020 06:52:32 +0000 (08:52 +0200)]
fix api for lazy pubkey loading
Martin Schanzenbach [Sun, 17 May 2020 18:02:57 +0000 (20:02 +0200)]
deps are now required, no need for defines
Martin Schanzenbach [Sun, 17 May 2020 17:56:12 +0000 (19:56 +0200)]
make mhd and jansson mandatory dependencies
Martin Schanzenbach [Sun, 17 May 2020 17:37:00 +0000 (19:37 +0200)]
allow compile against curl-openssl
Martin Schanzenbach [Thu, 14 May 2020 15:01:34 +0000 (17:01 +0200)]
add build tasks
Martin Schanzenbach [Thu, 14 May 2020 09:50:17 +0000 (11:50 +0200)]
rename deploy script
Martin Schanzenbach [Thu, 14 May 2020 09:07:02 +0000 (11:07 +0200)]
add buildbot deployment file
Martin Schanzenbach [Wed, 13 May 2020 16:05:32 +0000 (18:05 +0200)]
uncrustify
Martin Schanzenbach [Wed, 13 May 2020 16:00:03 +0000 (18:00 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet
Martin Schanzenbach [Wed, 13 May 2020 15:59:56 +0000 (17:59 +0200)]
uncrustify
Martin Schanzenbach [Sun, 10 May 2020 14:49:05 +0000 (16:49 +0200)]
fix wrong return value
Martin Schanzenbach [Sun, 10 May 2020 14:14:26 +0000 (16:14 +0200)]
fix single label get
Martin Schanzenbach [Sun, 10 May 2020 13:46:14 +0000 (15:46 +0200)]
add revocation tvg
Martin Schanzenbach [Sun, 10 May 2020 13:27:52 +0000 (15:27 +0200)]
add zone keys to tv
Martin Schanzenbach [Sun, 10 May 2020 13:21:47 +0000 (15:21 +0200)]
add gnsrecord tvg
Martin Schanzenbach [Sun, 10 May 2020 09:28:00 +0000 (11:28 +0200)]
separate id_token and userinfo claims requests
Martin Schanzenbach [Sun, 10 May 2020 09:18:50 +0000 (11:18 +0200)]
only include result set of not empty after filtering
Martin Schanzenbach [Sat, 9 May 2020 22:47:38 +0000 (00:47 +0200)]
fix immediate retry
Martin Schanzenbach [Sat, 9 May 2020 22:23:54 +0000 (00:23 +0200)]
fix #5782
Schanzenbach, Martin [Sat, 9 May 2020 21:35:32 +0000 (23:35 +0200)]
towards bettwe nss handling
Schanzenbach, Martin [Sat, 9 May 2020 20:10:08 +0000 (22:10 +0200)]
fail of LSD0001 is violated for GNS2DNS
Schanzenbach, Martin [Sat, 9 May 2020 20:00:01 +0000 (22:00 +0200)]
fix #6103; make LEHOs supplemental from CNAMEs and GNS2DNS names
Schanzenbach, Martin [Sat, 9 May 2020 18:55:08 +0000 (20:55 +0200)]
add json response headers to rest plugins
Schanzenbach, Martin [Sat, 9 May 2020 18:50:48 +0000 (20:50 +0200)]
add response headers, add replace api to namestore
Schanzenbach, Martin [Sat, 9 May 2020 18:11:30 +0000 (20:11 +0200)]
add filtering and modify deletion API
Schanzenbach, Martin [Sat, 9 May 2020 17:12:51 +0000 (19:12 +0200)]
change label processing in namestore REST api for gns records
properly fix bugs in json gnsrecord parser
nikita [Thu, 7 May 2020 08:56:41 +0000 (10:56 +0200)]
fixed the wrong part of the url
nikita [Thu, 7 May 2020 08:54:05 +0000 (10:54 +0200)]
fix broken link on server. ideally we copy this independently of the
checkout build, because this breaking every now and then through a
failing cronjob is bad practices.
Schanzenbach, Martin [Thu, 7 May 2020 08:51:25 +0000 (10:51 +0200)]
try to fix mess
Schanzenbach, Martin [Wed, 6 May 2020 18:02:15 +0000 (20:02 +0200)]
fix DLL assertion
Schanzenbach, Martin [Wed, 6 May 2020 17:15:49 +0000 (19:15 +0200)]
same id derivation for anon
Schanzenbach, Martin [Wed, 6 May 2020 16:42:45 +0000 (18:42 +0200)]
deprecate ill-defined set_nick API
Schanzenbach, Martin [Wed, 6 May 2020 16:29:47 +0000 (18:29 +0200)]
called function twice
Schanzenbach, Martin [Wed, 6 May 2020 15:53:05 +0000 (17:53 +0200)]
minor fix
Florian Dold [Wed, 6 May 2020 15:41:08 +0000 (21:11 +0530)]
add libsodium dep to README
Florian Dold [Wed, 6 May 2020 14:42:05 +0000 (20:12 +0530)]
Fix #6070
Use same endianess for EdSA and ECDSA private keys.
The encoding of (R,S) of ECDSA signatures is still big-endian, to match
RFC 6967. This is different from the (R,S) of EdDSA, which is
little-endian according to RFC 8032.
Florian Dold [Wed, 6 May 2020 13:09:16 +0000 (18:39 +0530)]
move from tweetnacl (+custom hacks) -> only sodium
Florian Dold [Wed, 6 May 2020 10:39:43 +0000 (16:09 +0530)]
check for libsodium
Schanzenbach, Martin [Wed, 6 May 2020 12:47:48 +0000 (14:47 +0200)]
fix
Schanzenbach, Martin [Wed, 6 May 2020 09:59:45 +0000 (11:59 +0200)]
more warnings
Schanzenbach, Martin [Wed, 6 May 2020 09:55:04 +0000 (11:55 +0200)]
introduce have_rest; fix warnings
Schanzenbach, Martin [Wed, 6 May 2020 09:54:44 +0000 (11:54 +0200)]
ignore tautologies; check is necessary
Schanzenbach, Martin [Wed, 6 May 2020 08:49:10 +0000 (10:49 +0200)]
remove obsolete framework option
Schanzenbach, Martin [Wed, 6 May 2020 08:46:20 +0000 (10:46 +0200)]
add some more useful configuration output wrt transports
Schanzenbach, Martin [Wed, 6 May 2020 08:25:00 +0000 (10:25 +0200)]
stop excessive warnings and notifications of information that is displayed later on anyway
Schanzenbach, Martin [Wed, 6 May 2020 07:59:57 +0000 (09:59 +0200)]
improve configure messages more
Schanzenbach, Martin [Wed, 6 May 2020 07:31:11 +0000 (09:31 +0200)]
improve configure messages for rest and reclaim
Schanzenbach, Martin [Tue, 5 May 2020 11:49:11 +0000 (13:49 +0200)]
fix dll remove
Schanzenbach, Martin [Tue, 5 May 2020 11:40:07 +0000 (13:40 +0200)]
better deletion of ego handling
Schanzenbach, Martin [Tue, 5 May 2020 11:03:19 +0000 (13:03 +0200)]
better cleanup
Schanzenbach, Martin [Tue, 5 May 2020 08:39:51 +0000 (10:39 +0200)]
propery deserialize attests
Schanzenbach, Martin [Tue, 5 May 2020 08:27:56 +0000 (10:27 +0200)]
fix attestations
Christian Grothoff [Fri, 1 May 2020 22:08:54 +0000 (00:08 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Fri, 1 May 2020 22:08:38 +0000 (00:08 +0200)]
fix gnunet-identity performance
nikita [Fri, 1 May 2020 08:55:51 +0000 (10:55 +0200)]
vpn, exit: Add patch from termux for Android in a slightly different way.
Arguable 1st one could just be || and second one be kept as-is.
https://github.com/termux/termux-packages/blob/master/packages/gnunet/no-in6_ifreq-redef.patch
Christian Grothoff [Thu, 30 Apr 2020 10:49:16 +0000 (12:49 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Thu, 30 Apr 2020 10:49:11 +0000 (12:49 +0200)]
stylefix
Schanzenbach, Martin [Wed, 29 Apr 2020 13:08:04 +0000 (15:08 +0200)]
fix comments, struct naming; version
Schanzenbach, Martin [Tue, 28 Apr 2020 15:16:40 +0000 (17:16 +0200)]
fix ftbfs experimental -- cy1
Anna Wimbauer [Mon, 27 Apr 2020 07:28:53 +0000 (09:28 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet
Anna Wimbauer [Mon, 27 Apr 2020 07:27:19 +0000 (09:27 +0200)]
fixed nullpointer
Christian Grothoff [Fri, 24 Apr 2020 18:36:34 +0000 (20:36 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Fri, 24 Apr 2020 18:36:28 +0000 (20:36 +0200)]
handle 204 status code
Florian Dold [Fri, 24 Apr 2020 08:20:05 +0000 (13:50 +0530)]
check for integer overflow in buffer lib (fixes #6217)