Skip to content

Releases: savoirfairelinux/opendht

v3.2.0

11 Aug 19:56
Compare
Choose a tag to compare
  • dependencies: http-parser has been replaced by llhttp (optional, used for the proxy)
  • dht: add support to behave as a client node. A client node doesn't participate in routing or storing data but can perform queries to other nodes. This can be useful when running short-lived nodes.
  • dht: use poll instead of select
  • peer discovery: ping network after connectivity change (@AmnaSnene )
  • peer discovery: add retry mechanism with exponential back-off (@AmnaSnene )
  • peer discovery: add workaround for Android (@Lanius-collaris )
  • http: allow to modify keepalive option
  • http: adjusted keepalive settings
  • crypto: fix error when using empty password (@qiek )
  • crypto: improve error handling and messages (@lucassdiass )
  • build: add support to build with io_uring (used by asio)
  • fix various warnings (@Noviv )

v3.1.11

07 Apr 02:35
Compare
Choose a tag to compare
  • dht: fixed issue that could cause a listen operation after a previous cancelListen on the same key to not provide values in some cases
  • proxy client: fixed issue that could cause a listen socket to remain open after cancellation
  • proxy server: add value IDs to be used by iOS extension ( @atraczyk )
  • build/meson: add support to build unit tests
  • build/meson: add support to configure and install pkgconfig files for OpenDHT libraries
  • build/meson: fix various build issues
  • build/autotools: avoid using bash extension in configure.ac ( @jg1uaa )

v3.1.9

25 Mar 03:51
Compare
Choose a tag to compare
  • build/meson: support building the Python binding
  • build/meson: support building with indexation
  • build/meson: support building with push notifications
  • ci: various fixes

v3.1.8

25 Mar 01:59
Compare
Choose a tag to compare
  • dht_proxy_server: Allow user to specify non-standard ports in UnifiedPush endpoint ( @Lanius-collaris )
  • ocsp: removed custom ASN1_time_parse implementation
  • resolver: allow to cancel request
  • dhtrunner: run shutdown operation immediately
  • crypto: work around a bug in GnuTLS 3.8.4 that might lead to crashes when using PrivateKey::decrypt.
  • build: CMake 3.16 is now the minimum required version

v3.1.7

30 Jan 17:19
Compare
Choose a tag to compare
  • aesEncrypt: allow to provide salt
  • build/meson: allow to build c binding

v3.1.6

11 Dec 15:34
Compare
Choose a tag to compare
  • dht: allow to configure the PRNG used instead of always seeding it from random_device. This allows for better reproducibility of the DHT behaviour for testing.
  • rng: added getDerivedRandomEngine to seed a new PRNG from an existing one.
  • rng: improve getSeededRandomEngine.
  • rng: drop custom random_device implementation for MinGW/Windows, because MinGW now has working std::random_device support on Windows. dht::crypto::random_device is no longer defined. Use std::random_device.

v3.1.4

04 Dec 03:15
Compare
Choose a tag to compare
  • crypto: add aesBuildEncrypted

v3.1.3

28 Nov 23:29
Compare
Choose a tag to compare
  • crypto: added aesGetKey, aesGetSalt, aesGetEncrypted, giving more control over encrypted blobs generated by aesEncrypt(data, password).
  • python: added bindings for aesEncrypt, aesDecrypt
  • build/cmake: link libatomic where needed for 64-bit atomic ops ( @bandali0 )

v3.1.2

07 Nov 18:25
Compare
Choose a tag to compare
  • python: Added putSigned and putEncrypted to DhtRunner

v3.1

07 Nov 14:46
Compare
Choose a tag to compare

This release focus on improving the Python binding:

  • python: Added missing permanent boolean argument to DhtRunner.put()
  • python: Added missing cancelPut method to DhtRunner
  • python: Added missing configuration fields in DhtRunnerConfig, allowing to use features like the proxy server, peer discovery, and configure specific bound address, allowing to bind to a specific network interface.
  • python: Added SockAddr.resolve(hostname, service) to allow building SockAddr instances from a string representation of an IP address or hostname, and port or service name:
    > import opendht as dht
    > dht.SockAddr.resolve("bootstrap.jami.net", "4222")
    [<SockAddr '198.27.69.48:4222'>]