Adrien Béraud
fcffcee383
build/cmake: require cmake 3.16
2024-03-17 13:38:17 -04:00
Adrien Béraud
e371bddd48
ci/github: use Cython from pip on Ubuntu 22.04
2024-03-17 13:16:44 -04:00
Adrien Béraud
26d23cf94f
ci/github: use recent Meson for build
2024-03-17 12:48:10 -04:00
Adrien Béraud
b608349e94
ci/github: use BUILD_TESTING instead of OPENDHT_TESTS
2024-03-17 12:19:02 -04:00
Lanius-collaris
f9b46168d0
dht_proxy_server: Allow user to specify non-standard ports in UnifiedPush endpoint
2024-01-17 15:54:04 -05:00
Adrien Béraud
88d15be4ea
build: update version to 3.1.7
v3.1.7
2024-01-02 16:25:16 -05:00
Adrien Béraud
0c4942439b
move secure_vector to its own file
2024-01-02 16:22:02 -05:00
Adrien Béraud
b03df3f7a6
aesEncrypt: allow to provide salt
2024-01-02 15:18:44 -05:00
Adrien Béraud
6a6816ada7
build/meson: allow to build c binding
2023-12-11 22:16:58 -05:00
Adrien Béraud
372c87ac12
build: remove rng.cpp
2023-12-11 21:18:15 -05:00
Adrien Béraud
728c99999f
getDerivedRandomEngine: use 32 bit input for std::seed_seq
2023-12-11 21:12:50 -05:00
Adrien Béraud
2017473156
build: update version to 3.1.6
v3.1.6
2023-12-11 09:57:51 -05:00
Adrien Béraud
08d6367fdc
pht: move to std::random_device
2023-12-10 16:02:56 -05:00
Adrien Béraud
23d07dae38
rng: drop custom random_device implementation for MinGW/Windows
...
MinGW now has std::random_device support on Windows:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85494
2023-12-10 15:18:59 -05:00
Adrien Béraud
29c83d9c97
rng: improve getSeededRandomEngine
...
* Make sure to use 32 bit input for std::seed_seq
* Retry using random device every use
* Adjust delays and retry count to keep approx. the same max timeout.
In practice the actual average timeout should be reduced, because
the algo doesn't lose existing data and can move forward in case
of occasional failure/retry.
2023-12-10 15:07:39 -05:00
Adrien Béraud
abbc77744e
dhtrunner: allow to configure rng used by the dht
2023-12-10 15:07:39 -05:00
Adrien Béraud
7a61fa371f
dht: allow to provide rng to constructor
2023-12-10 15:06:51 -05:00
Adrien Béraud
ce7f592b1c
search: return if added node is actually removed
v3.1.5
2023-12-08 11:02:21 -05:00
Adrien Béraud
111bfea6f3
build: update version to 3.1.4
v3.1.4
2023-12-03 22:09:34 -05:00
Adrien Béraud
e35a11a495
tests: add test for aesBuildEncrypted
2023-12-03 22:03:22 -05:00
Adrien Béraud
0592b9ff51
crypto: add aesBuildEncrypted
2023-12-03 22:03:22 -05:00
Adrien Béraud
297e182576
crypto: fix typo in comment
2023-11-28 19:57:01 -05:00
Adrien Béraud
b285e6fd2b
ci/github: use macOS 12
2023-11-28 18:34:37 -05:00
Adrien Béraud
8ed72e204b
build: update version to 3.1.3
v3.1.3
2023-11-28 18:18:05 -05:00
Amin Bandali
4592663fd2
build/cmake: Link libatomic where needed for 64-bit atomic ops.
...
Link against libatomic also on architectures that need it for 64-bit
atomic operations. ARM EABI (armel) and little-endian MIPS (mipsel)
are two such architectures.
2023-11-28 10:52:01 -05:00
Adrien Béraud
4c1c6cf8e9
python: add aesEncrypt, aesDecrypt with password
2023-11-28 10:49:41 -05:00
Adrien Béraud
09046ec698
tests: add tests for AES encryption and key streching
2023-11-28 10:49:41 -05:00
Adrien Béraud
24e7b00e4e
crypto: add aesGetKey, aesGetSalt, aesGetEncrypted
...
Allows to retrieve the encryption key and salt from
an encrypted blob, leading the way for biometry support.
2023-11-28 10:49:41 -05:00
Adrien Béraud
95fdadf16b
build: update version to 3.1.2
v3.1.2
2023-11-07 13:15:56 -05:00
Adrien Béraud
a271ab1680
python: add putSigned, putEncrypted to DhtRunner
2023-11-07 13:15:56 -05:00
Moreno Giussani
ac9d7942ce
Add loadIdentity
2023-11-07 09:29:46 -05:00
Adrien Béraud
5ca7b8d6dc
python: add cancelPut
v3.1
2023-11-07 09:15:11 -05:00
Adrien Béraud
805cdbed1d
python: add biding for missing DhtConfig fields
2023-11-06 22:57:50 -05:00
Adrien Béraud
29efd42de3
python: add binding for SockAddr.resolve
2023-11-06 22:57:50 -05:00
Adrien Béraud
ae2a1d83cf
python: use shared_ptr, make_shared from Cython
2023-11-06 21:59:22 -05:00
Adrien Béraud
bad8bdfe13
python: support 'permanent' argument for put
2023-11-06 21:55:16 -05:00
Adrien Béraud
13194b66d3
proxy client: retry permanent put after reconnect
v3.0.1
2023-11-02 15:58:11 -04:00
Adrien Béraud
601758f5fd
proxy server: use isMember for timeout
2023-09-27 13:56:43 -04:00
Adrien Béraud
3191498855
update version to 3.0.0
v3.0.0
2023-09-24 18:13:22 -04:00
Adrien Béraud
4882826f58
ci, docker: update restinio
2023-09-24 18:13:22 -04:00
Kateryna Kostiuk
61f43c6b05
iOS: use high priority for resubscribe notifications
2023-09-18 15:27:41 -04:00
Adrien Béraud
8b91c24414
python: make callbacks noexcept
v2.6.0.4
2023-09-11 11:52:55 -04:00
Adrien Béraud
dbebaae1f3
callbacks: make raw callbacks except
v2.6.0.3
2023-09-11 11:42:05 -04:00
Adrien Béraud
7cc743ff5e
callbacks: make raw callbacks noexcept
v2.6.0.2
2023-09-11 11:30:22 -04:00
Adrien Béraud
3b02cee495
python: update classifiers
2023-09-11 11:30:04 -04:00
Adrien Béraud
2e520bea4f
unit tests: make testListen run 256 times
...
Makes the test pass in many more cases.
v2.6.0.1
2023-09-09 12:51:15 -04:00
Adrien Béraud
f9f57b50b1
update README.md
v2.6.0
2023-09-09 12:41:16 -04:00
Adrien Béraud
fb9e6eee48
Revert "build: do not define ASN1_time_parse when using openssl"
...
This reverts commit 3a8adb4e17 .
2023-08-30 17:59:07 -04:00
Adrien Béraud
b53af75a7f
meson, autotools: link with fmt
2023-08-30 17:58:45 -04:00
Adrien Béraud
2ed40aeefe
proxy client: use [[maybe_unused]]
2023-08-30 17:58:45 -04:00