Unable to add PKEY records

2020-10-31 Thread Alessio Vanni
Hello, I'm using GNUnet from git, at commit be928bb30 and I can't add PKEY records using gnunet-namestore. I created two egos and when I print them I get this: $ gnunet-identity -d cheeri - 000G004CFKEYWM8P73FHEQ9YHHY53BCTSV4V9P664VPT0MMY7N38QQXHRR - ECDSA vanni - 000G001PQEQT32SMW5S17279816Z45J

Re: [bug-GNUnet] Can't specify different names for config file in projec

2019-09-18 Thread Alessio Vanni
Hello, > What you should do -- if you want to have your "own" configuration (and > use the libgnunetutil configuration parser) -- is to load your > configuration using GNUNET_CONFIGURATION_create/load APIs providing your > own application paths explicitly there. However, that configuration > objec

Re: [bug-GNUnet] Can't specify different names for config file in project data

2019-09-11 Thread Alessio Vanni
Christian Grothoff writes: > Ok, then I'm not sure how you expect this to work: if you do not give > the code access to the configuration data (i.e. by telling it to load it > from a different directory than where GNUnet was installed and also not > providing the right configuration information i

Re: [bug-GNUnet] Can't specify different names for config file in project data

2019-09-10 Thread Alessio Vanni
Sorry for the late reply. I didn't see there was a reply to the report (I'm not subscribed to this list... I check the archives from time to time though.) > This shouldn't be the case, as GNUnet picks up the (default) service > contact information from a the share/gnunet/config.d/ directory. > >

[bug-GNUnet] Can't specify different names for config file in project data

2019-09-01 Thread Alessio Vanni
The GNUNET_OS_ProjectData struct contains two fields, `config_file' and `user_config_file'. By default they are set to "gnunet.conf" and "~/.config/gnunet.conf". When these fields are set to a different name, the application refuses to start. It seems the problem is caused by the fact that the a

[bug-GNUnet] Application does not compile when using GNUNET_log_strerror

2019-08-30 Thread Alessio Vanni
I'm building an out-of-tree application which uses some system calls, so I thought I'd use GNUNET_log_strerror when an error occurs (i.e. the function returns -1.) However, when I try to compile the application, the compiler fails saying that STRERROR (all caps) is undefined. The problem is cause

[bug-GNUnet] --enable-logging=no is broken

2019-08-19 Thread Alessio Vanni
The ARM service spams the log file with too many messages (to the point of reaching more than 100MB of log messages in the worst case and using a lot of CPU in the meanwhile), so I tried to disable logging altogether. To begin with, it doesn't compile: gnunet_common.h conditionally declares `GNUNE

[bug-GNUnet] gnunet-bcd refuses connections

2019-08-19 Thread Alessio Vanni
gnunet-bcd starts correctly (including initializing the http server), but if I try to connect to localhost: with my web browser, the browser doesn't display anything and gnunet-bcd prints Closing connection (application reported error generating data) and nothing else. The same happens if I