aboutsummaryrefslogtreecommitdiff
path: root/src/util
Commit message (Collapse)AuthorAge
* -fix some warningsMartin Schanzenbach2020-10-26
|
* - fix '-c' in applications without base configAlessio Vanni2020-10-26
|
* -fix some warningsMartin Schanzenbach2020-10-16
|
* enable more format string warningsChristian Grothoff2020-10-13
|
* Allow applications to change ProjectData with only some fieldsAlessio Vanni2020-10-11
| | | | | | | | | | | Some simple applications (e.g. thin clients) might want to change the ProjectData structure (e.g. for gettext), but might not meet all the requirements needed to fill it out completely. A thin client might not provide any library, making the `libname' field useless. More importantly, not every application requires a configuration: some of them, especially clients, might simply use command line options to drive their behaviour.
* UTIL: Never localize fancy strings in to_string to prevent breaking ↵Martin Schanzenbach2020-10-02
| | | | from_string parser
* Merge branch 'master' of ssh://gnunet.org/gnunett3sserakt2020-09-08
|\
| * gnunet-qr/uri: Fix exit code handling; fix memory corruptionMartin Schanzenbach2020-09-02
| |
* | - fixed socket clean up; added sync between start of service and communicatort3sserakt2020-09-08
|/
* Merge branch 'master' of git+ssh://gnunet.org/gnunetChristian Grothoff2020-08-29
|\
| * change uri structs to match conventionsJonathan Buchanan2020-08-27
| |
| * use (and "GNUnet-ify") libyuarel as a basepoint for uri parsingJonathan Buchanan2020-08-26
| |
* | use proper return typeChristian Grothoff2020-08-29
|/
* fix ftbfsChristian Grothoff2020-08-17
|
* clean up GNUNET_CRYPTO_pow_hash APIChristian Grothoff2020-08-17
|
* fix: GNUNET_is_zero(ptr) should return enum GNUNET_GenericReturnValue. Fixes ↵Martin Schanzenbach2020-08-12
| | | | #6475.
* fix typeChristian Grothoff2020-08-03
|
* - fix multibyte urlencodeMartin Schanzenbach2020-08-02
|
* Merge branch 'master' of ssh://gnunet.org/gnunetMartin Schanzenbach2020-08-01
|\
| * fix SIGSEGV in GNUNET_buffer_write_data_encodedFlorian Dold2020-07-30
| |
| * implement GNUNET_buffer_write_data_encodedFlorian Dold2020-07-30
| |
| * ensure psql fails hard if there is an error in the SQL (fixes #6437)Christian Grothoff2020-07-22
| |
* | util: add percent/url encodingMartin Schanzenbach2020-08-01
|/
* merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188Christian Grothoff2020-07-18
|
* avoid boolean flag in GNUNET_OS_start_process() API (fixes #6188)Christian Grothoff2020-07-17
|
* fix signatureChristian Grothoff2020-07-17
|
* support context-wide client authenticationChristian Grothoff2020-07-16
|
* Add function to return GNUnet's default configurationAlessio Vanni2020-07-14
| | | | | | | | | It's for convenience when applications call `GNUNET_OS_init', after which it's impossible to obtain GNUnet's configuration without manually checking the filesystem. With this function it's possible to get the configuration regardless of the state of the application.
* -fix test for changed free logicMartin Schanzenbach2020-07-05
|
* GNUNET_free_non_null -> GNUNET_freeChristian Grothoff2020-07-05
|
* -style fixChristian Grothoff2020-07-01
|
* Fixed 5528: TCP *communicator* bindto option should support DNS names, and ↵t3sserakt2020-06-12
| | | | 6013: TCP communicator should bind to IPv6 and IPv4 if only port given
* rsa crypto compare functions take const parametersJonathan Buchanan2020-05-29
|
* Make REQUEST_AGPL messages configurable and add handler by defaultAlessio Vanni2020-05-27
| | | | | | | | | | | | | | | | | | | 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>
* remove argon2 dependency. Use limited libsodium argon2id function for GNS ↵Martin Schanzenbach2020-05-26
| | | | and NSE
* fix bit counting messMartin Schanzenbach2020-05-26
|
* Merge branch 'master' of ssh://gnunet.org/gnunetMartin Schanzenbach2020-05-26
|\
| * replace Christian's FIXME with an explanationFlorian Dold2020-05-26
| |
| * add additional test condition for GNS cryptoFlorian Dold2020-05-26
| |
* | use argon2idMartin Schanzenbach2020-05-26
|/
* fix bit check in hashMartin Schanzenbach2020-05-25
|
* Improved BIO APIAlessio Vanni2020-05-19
| | | | | | | | | | | | | | | | | | | | 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>
* fix ftbfsChristian Grothoff2020-05-19
|
* Fix #6070Florian Dold2020-05-06
| | | | | | | | 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.
* move from tweetnacl (+custom hacks) -> only sodiumFlorian Dold2020-05-06
|
* stylefixChristian Grothoff2020-04-30
|
* check for integer overflow in buffer lib (fixes #6217)Florian Dold2020-04-24
|
* Merge branch 'schanzen/argon_pow'Schanzenbach, Martin2020-04-22
|\
| * purge scrypt; add argon2Martin Schanzenbach2020-04-21
| |
| * simplify pow even more; add timestamp to revocation powSchanzenbach, Martin2020-04-18
| |