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
Adrien Béraud
bb61b8468b
proxy client: implement OnPublicAddressChanged
2023-08-30 17:58:45 -04:00
Adrien Béraud
55688a25aa
http: don't encode whole url
...
url encoding should be used for url components
by users of the library,
otherwise characters like '/' get escaped.
2023-08-30 17:58:45 -04:00
Adrien Béraud
21fd58a39c
tools: show log on PublicAddressChanged
2023-08-30 17:58:45 -04:00
Adrien Béraud
ae56d4e9be
dht: implement OnPublicAddressChanged
2023-08-30 17:58:45 -04:00
Adrien Béraud
982896a718
dht interface: add OnPublicAddressChanged
2023-08-30 17:58:45 -04:00
Adrien Béraud
2ae092e266
storage: remove unused variable
2023-08-30 17:58:45 -04:00
Adrien Béraud
27ce8b00ed
add syncLevel to send announce/listen early
2023-08-30 16:31:47 -04:00
Kateryna Kostiuk
3a8adb4e17
build: do not define ASN1_time_parse when using openssl
2023-08-27 16:54:16 -04:00
Adrien Béraud
899d18968e
thread pool: add missing header
2023-08-20 23:44:49 -04:00
Adrien Béraud
285105c8d1
thread pool: simplify cleanup logic
2023-08-20 23:02:41 -04:00
Adrien Béraud
9e0ad9d926
thread pool: wait for tasks to complete on stop
2023-08-19 18:48:53 -04:00