Adrien Béraud
07ca10a451
Revert "ci: build proxy client for Autotools build"
...
This reverts commit 2dc9f25ff4 .
v3.1.8.2
2024-03-24 22:14:32 -04:00
Adrien Béraud
0e556b88be
docker: use cython, meson from pip
v3.1.8.1
2024-03-24 22:08:03 -04:00
Adrien Béraud
0b242e62c5
update version to 3.1.8
v3.1.8
2024-03-24 21:46:15 -04:00
Adrien Béraud
acde8fa6ec
crypto: remove legacy decrypt
2024-03-24 18:12:27 -04:00
Adrien Béraud
c8b5611386
dhtnode: fix small typo in put encrypted log
2024-03-24 15:45:55 -04:00
Adrien Béraud
f7e4533282
crypto: always zero-initialize gnutls_datum_t
2024-03-24 15:45:52 -04:00
Adrien Beraud
5abbef547b
use new log format
2024-03-22 13:49:44 -04:00
Adrien Beraud
3c27b2c777
dhtrunner: avoid blocking when stopping
...
A deadlock was possible when if shutdown operation occured when the dht was in "connecting" state.
2024-03-22 13:49:44 -04:00
Adrien Beraud
903eba6a31
proxy client: cancel resolver on stop
2024-03-22 13:49:44 -04:00
Adrien Beraud
a37e42af37
Request: cancel resolver on cancel
2024-03-22 13:49:44 -04:00
Adrien Beraud
cc6cce6157
http: allow to cancel resolver
2024-03-22 13:49:44 -04:00
Adrien Béraud
2dc9f25ff4
ci: build proxy client for Autotools build
2024-03-17 16:38:35 -04:00
Adrien Béraud
7ca39b4a20
http: use OCSP_check_validity to check OCSP validity
2024-03-17 15:56:48 -04:00
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