oweals/gnunet.git
3 years agoadd option to create identity from private key spaeth/import_identity
jospaeth [Mon, 25 May 2020 19:38:58 +0000 (21:38 +0200)]
add option to create identity from private key

3 years agoadd some more debug output
Martin Schanzenbach [Mon, 25 May 2020 09:22:07 +0000 (11:22 +0200)]
add some more debug output

3 years agofix sizes, should not affect actual operation
Martin Schanzenbach [Mon, 25 May 2020 07:48:12 +0000 (09:48 +0200)]
fix sizes, should not affect actual operation

3 years agoadd option to show private key
Martin Schanzenbach [Fri, 22 May 2020 07:44:22 +0000 (09:44 +0200)]
add option to show private key

3 years agofix #6242
Christian Grothoff [Thu, 21 May 2020 23:16:35 +0000 (01:16 +0200)]
fix #6242

3 years agostyle specing
Christian Grothoff [Wed, 20 May 2020 10:11:05 +0000 (12:11 +0200)]
style specing

3 years agomissing termination
Christian Grothoff [Tue, 19 May 2020 00:33:11 +0000 (02:33 +0200)]
missing termination

3 years agoImproved BIO API
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>
3 years agofix ftbfs
Christian Grothoff [Wed, 6 May 2020 15:29:28 +0000 (17:29 +0200)]
fix ftbfs

3 years agopow values should be nbo
Martin Schanzenbach [Mon, 18 May 2020 08:10:26 +0000 (10:10 +0200)]
pow values should be nbo

3 years agoadd smi pow values
Martin Schanzenbach [Mon, 18 May 2020 06:59:06 +0000 (08:59 +0200)]
add smi pow values

3 years agofix api for lazy pubkey loading
Martin Schanzenbach [Mon, 18 May 2020 06:52:32 +0000 (08:52 +0200)]
fix api for lazy pubkey loading

3 years agodeps are now required, no need for defines
Martin Schanzenbach [Sun, 17 May 2020 18:02:57 +0000 (20:02 +0200)]
deps are now required, no need for defines

3 years agomake mhd and jansson mandatory dependencies
Martin Schanzenbach [Sun, 17 May 2020 17:56:12 +0000 (19:56 +0200)]
make mhd and jansson mandatory dependencies

3 years agoallow compile against curl-openssl
Martin Schanzenbach [Sun, 17 May 2020 17:37:00 +0000 (19:37 +0200)]
allow compile against curl-openssl

3 years agoadd build tasks
Martin Schanzenbach [Thu, 14 May 2020 15:01:34 +0000 (17:01 +0200)]
add build tasks

3 years agorename deploy script
Martin Schanzenbach [Thu, 14 May 2020 09:50:17 +0000 (11:50 +0200)]
rename deploy script

3 years agoadd buildbot deployment file
Martin Schanzenbach [Thu, 14 May 2020 09:07:02 +0000 (11:07 +0200)]
add buildbot deployment file

3 years agouncrustify
Martin Schanzenbach [Wed, 13 May 2020 16:05:32 +0000 (18:05 +0200)]
uncrustify

3 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
Martin Schanzenbach [Wed, 13 May 2020 16:00:03 +0000 (18:00 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

3 years agouncrustify
Martin Schanzenbach [Wed, 13 May 2020 15:59:56 +0000 (17:59 +0200)]
uncrustify

3 years agofix wrong return value
Martin Schanzenbach [Sun, 10 May 2020 14:49:05 +0000 (16:49 +0200)]
fix wrong return value

3 years agofix single label get
Martin Schanzenbach [Sun, 10 May 2020 14:14:26 +0000 (16:14 +0200)]
fix single label get

3 years agoadd revocation tvg
Martin Schanzenbach [Sun, 10 May 2020 13:46:14 +0000 (15:46 +0200)]
add revocation tvg

3 years agoadd zone keys to tv
Martin Schanzenbach [Sun, 10 May 2020 13:27:52 +0000 (15:27 +0200)]
add zone keys to tv

3 years agoadd gnsrecord tvg
Martin Schanzenbach [Sun, 10 May 2020 13:21:47 +0000 (15:21 +0200)]
add gnsrecord tvg

3 years agoseparate id_token and userinfo claims requests
Martin Schanzenbach [Sun, 10 May 2020 09:28:00 +0000 (11:28 +0200)]
separate id_token and userinfo claims requests

3 years agoonly include result set of not empty after filtering
Martin Schanzenbach [Sun, 10 May 2020 09:18:50 +0000 (11:18 +0200)]
only include result set of not empty after filtering

3 years agofix immediate retry
Martin Schanzenbach [Sat, 9 May 2020 22:47:38 +0000 (00:47 +0200)]
fix immediate retry

3 years agofix #5782
Martin Schanzenbach [Sat, 9 May 2020 22:23:54 +0000 (00:23 +0200)]
fix #5782

3 years agotowards bettwe nss handling
Schanzenbach, Martin [Sat, 9 May 2020 21:35:32 +0000 (23:35 +0200)]
towards bettwe nss handling

3 years agofail of LSD0001 is violated for GNS2DNS
Schanzenbach, Martin [Sat, 9 May 2020 20:10:08 +0000 (22:10 +0200)]
fail of LSD0001 is violated for GNS2DNS

3 years agofix #6103; make LEHOs supplemental from CNAMEs and GNS2DNS names
Schanzenbach, Martin [Sat, 9 May 2020 20:00:01 +0000 (22:00 +0200)]
fix #6103; make LEHOs supplemental from CNAMEs and GNS2DNS names

3 years agoadd json response headers to rest plugins
Schanzenbach, Martin [Sat, 9 May 2020 18:55:08 +0000 (20:55 +0200)]
add json response headers to rest plugins

3 years agoadd response headers, add replace api to namestore
Schanzenbach, Martin [Sat, 9 May 2020 18:50:48 +0000 (20:50 +0200)]
add response headers, add replace api to namestore

3 years agoadd filtering and modify deletion API
Schanzenbach, Martin [Sat, 9 May 2020 18:11:30 +0000 (20:11 +0200)]
add filtering and modify deletion API

3 years agochange label processing in namestore REST api for gns records
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

3 years agofixed the wrong part of the url
nikita [Thu, 7 May 2020 08:56:41 +0000 (10:56 +0200)]
fixed the wrong part of the url

3 years agofix broken link on server. ideally we copy this independently of the
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.

3 years agotry to fix mess
Schanzenbach, Martin [Thu, 7 May 2020 08:51:25 +0000 (10:51 +0200)]
try to fix mess

3 years agofix DLL assertion
Schanzenbach, Martin [Wed, 6 May 2020 18:02:15 +0000 (20:02 +0200)]
fix DLL assertion

3 years agosame id derivation for anon
Schanzenbach, Martin [Wed, 6 May 2020 17:15:49 +0000 (19:15 +0200)]
same id derivation for anon

3 years agodeprecate ill-defined set_nick API
Schanzenbach, Martin [Wed, 6 May 2020 16:42:45 +0000 (18:42 +0200)]
deprecate ill-defined set_nick API

3 years agocalled function twice
Schanzenbach, Martin [Wed, 6 May 2020 16:29:47 +0000 (18:29 +0200)]
called function twice

3 years agominor fix
Schanzenbach, Martin [Wed, 6 May 2020 15:53:05 +0000 (17:53 +0200)]
minor fix

3 years agoadd libsodium dep to README
Florian Dold [Wed, 6 May 2020 15:41:08 +0000 (21:11 +0530)]
add libsodium dep to README

3 years agoFix #6070
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.

3 years agomove from tweetnacl (+custom hacks) -> only sodium
Florian Dold [Wed, 6 May 2020 13:09:16 +0000 (18:39 +0530)]
move from tweetnacl (+custom hacks) -> only sodium

3 years agocheck for libsodium
Florian Dold [Wed, 6 May 2020 10:39:43 +0000 (16:09 +0530)]
check for libsodium

3 years agofix
Schanzenbach, Martin [Wed, 6 May 2020 12:47:48 +0000 (14:47 +0200)]
fix

3 years agomore warnings
Schanzenbach, Martin [Wed, 6 May 2020 09:59:45 +0000 (11:59 +0200)]
more warnings

3 years agointroduce have_rest; fix warnings
Schanzenbach, Martin [Wed, 6 May 2020 09:55:04 +0000 (11:55 +0200)]
introduce have_rest; fix warnings

3 years agoignore tautologies; check is necessary
Schanzenbach, Martin [Wed, 6 May 2020 09:54:44 +0000 (11:54 +0200)]
ignore tautologies; check is necessary

3 years agoremove obsolete framework option
Schanzenbach, Martin [Wed, 6 May 2020 08:49:10 +0000 (10:49 +0200)]
remove obsolete framework option

3 years agoadd some more useful configuration output wrt transports
Schanzenbach, Martin [Wed, 6 May 2020 08:46:20 +0000 (10:46 +0200)]
add some more useful configuration output wrt transports

3 years agostop excessive warnings and notifications of information that is displayed later...
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

3 years agoimprove configure messages more
Schanzenbach, Martin [Wed, 6 May 2020 07:59:57 +0000 (09:59 +0200)]
improve configure messages more

3 years agoimprove configure messages for rest and reclaim
Schanzenbach, Martin [Wed, 6 May 2020 07:31:11 +0000 (09:31 +0200)]
improve configure messages for rest and reclaim

3 years agofix dll remove
Schanzenbach, Martin [Tue, 5 May 2020 11:49:11 +0000 (13:49 +0200)]
fix dll remove

3 years agobetter deletion of ego handling
Schanzenbach, Martin [Tue, 5 May 2020 11:40:07 +0000 (13:40 +0200)]
better deletion of ego handling

3 years agobetter cleanup
Schanzenbach, Martin [Tue, 5 May 2020 11:03:19 +0000 (13:03 +0200)]
better cleanup

3 years agopropery deserialize attests
Schanzenbach, Martin [Tue, 5 May 2020 08:39:51 +0000 (10:39 +0200)]
propery deserialize attests

3 years agofix attestations
Schanzenbach, Martin [Tue, 5 May 2020 08:27:56 +0000 (10:27 +0200)]
fix attestations

3 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Fri, 1 May 2020 22:08:54 +0000 (00:08 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

3 years agofix gnunet-identity performance
Christian Grothoff [Fri, 1 May 2020 22:08:38 +0000 (00:08 +0200)]
fix gnunet-identity performance

3 years agovpn, exit: Add patch from termux for Android in a slightly different way.
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

3 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Thu, 30 Apr 2020 10:49:16 +0000 (12:49 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

3 years agostylefix
Christian Grothoff [Thu, 30 Apr 2020 10:49:11 +0000 (12:49 +0200)]
stylefix

3 years agofix comments, struct naming; version
Schanzenbach, Martin [Wed, 29 Apr 2020 13:08:04 +0000 (15:08 +0200)]
fix comments, struct naming; version

3 years agofix ftbfs experimental -- cy1
Schanzenbach, Martin [Tue, 28 Apr 2020 15:16:40 +0000 (17:16 +0200)]
fix ftbfs experimental -- cy1

4 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
Anna Wimbauer [Mon, 27 Apr 2020 07:28:53 +0000 (09:28 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

4 years agofixed nullpointer
Anna Wimbauer [Mon, 27 Apr 2020 07:27:19 +0000 (09:27 +0200)]
fixed nullpointer

4 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Fri, 24 Apr 2020 18:36:34 +0000 (20:36 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

4 years agohandle 204 status code
Christian Grothoff [Fri, 24 Apr 2020 18:36:28 +0000 (20:36 +0200)]
handle 204 status code

4 years agocheck for integer overflow in buffer lib (fixes #6217)
Florian Dold [Fri, 24 Apr 2020 08:20:05 +0000 (13:50 +0530)]
check for integer overflow in buffer lib (fixes #6217)

4 years agofix #6220
Schanzenbach, Martin [Fri, 24 Apr 2020 08:18:16 +0000 (10:18 +0200)]
fix #6220

4 years agoMerge branch 'schanzen/argon_pow'
Schanzenbach, Martin [Wed, 22 Apr 2020 15:10:57 +0000 (17:10 +0200)]
Merge branch 'schanzen/argon_pow'

4 years agoadd epochs CLI parameter schanzen/argon_pow
Schanzenbach, Martin [Wed, 22 Apr 2020 15:10:22 +0000 (17:10 +0200)]
add epochs CLI parameter

4 years agoremova binary file commited by accident
Schanzenbach, Martin [Wed, 22 Apr 2020 06:40:10 +0000 (08:40 +0200)]
remova binary file commited by accident

4 years agofix #6191
Christian Grothoff [Tue, 21 Apr 2020 18:43:18 +0000 (20:43 +0200)]
fix #6191

4 years agopurge scrypt; add argon2
Martin Schanzenbach [Tue, 21 Apr 2020 16:37:28 +0000 (18:37 +0200)]
purge scrypt; add argon2

4 years agoupdate API for cleanup of handle
Martin Schanzenbach [Tue, 21 Apr 2020 16:25:36 +0000 (18:25 +0200)]
update API for cleanup of handle

4 years agoupdate revocation config
Martin Schanzenbach [Tue, 21 Apr 2020 16:13:05 +0000 (18:13 +0200)]
update revocation config

4 years agopacked makes no sense there
Martin Schanzenbach [Tue, 21 Apr 2020 16:11:13 +0000 (18:11 +0200)]
packed makes no sense there

4 years agoremove pow_get
Schanzenbach, Martin [Tue, 21 Apr 2020 13:46:09 +0000 (15:46 +0200)]
remove pow_get

4 years agorename, fix
Schanzenbach, Martin [Tue, 21 Apr 2020 13:45:12 +0000 (15:45 +0200)]
rename, fix

4 years agodefining GNUNET_array_concatenate() for #6190
Christian Grothoff [Tue, 21 Apr 2020 11:47:04 +0000 (13:47 +0200)]
defining GNUNET_array_concatenate() for #6190

4 years agofix #6189
Christian Grothoff [Tue, 21 Apr 2020 11:33:25 +0000 (13:33 +0200)]
fix #6189

4 years agofix #6186 related bugs
Christian Grothoff [Tue, 21 Apr 2020 11:27:04 +0000 (13:27 +0200)]
fix #6186 related bugs

4 years agouse nz
Christian Grothoff [Tue, 21 Apr 2020 11:23:28 +0000 (13:23 +0200)]
use nz

4 years agoadd JSON spec'er for booleans
Christian Grothoff [Tue, 21 Apr 2020 10:15:16 +0000 (12:15 +0200)]
add JSON spec'er for booleans

4 years agonew pass API
Schanzenbach, Martin [Tue, 21 Apr 2020 09:52:12 +0000 (11:52 +0200)]
new pass API

4 years agomake GNUNET_freez default, have GNUNET_free_nz for cases where that does not work
Christian Grothoff [Mon, 20 Apr 2020 22:54:49 +0000 (00:54 +0200)]
make GNUNET_freez default, have GNUNET_free_nz for cases where that does not work

4 years agofix FTBFS issue
Christian Grothoff [Mon, 20 Apr 2020 22:36:11 +0000 (00:36 +0200)]
fix FTBFS issue

4 years agopredate validity time on creation; extent ttl on validation
Schanzenbach, Martin [Mon, 20 Apr 2020 17:38:41 +0000 (19:38 +0200)]
predate validity time on creation; extent ttl on validation

4 years agoinclude buffer of 10& of epoch
Schanzenbach, Martin [Mon, 20 Apr 2020 17:08:23 +0000 (19:08 +0200)]
include buffer of 10& of epoch

4 years agocheck signature in check_pow
Schanzenbach, Martin [Mon, 20 Apr 2020 16:33:43 +0000 (18:33 +0200)]
check signature in check_pow

4 years agofix
Schanzenbach, Martin [Mon, 20 Apr 2020 15:46:02 +0000 (17:46 +0200)]
fix

4 years agoupdate API comments
Schanzenbach, Martin [Mon, 20 Apr 2020 15:18:33 +0000 (17:18 +0200)]
update API comments

4 years agoremove sign API call
Martin Schanzenbach [Mon, 20 Apr 2020 14:58:17 +0000 (16:58 +0200)]
remove sign API call