Adrien Béraud
a1a8adbe4b
update to version 2.2.0
2.2.0rc1
2021-03-18 10:39:59 -04:00
Adrien Béraud
5a370cabb5
crypto: disable legacy encryption
...
Require OpenDHT 2.x to decrypt encrypted data
2021-03-18 10:37:28 -04:00
Adrien Béraud
639ae26ac1
PEMCache: cleanup
2021-03-18 10:35:35 -04:00
Adrien Béraud
896b6de60c
dht: remove default constructor
2021-03-18 10:35:35 -04:00
Adrien Béraud
d025f9d1b5
crypto: add methods to sign/decrypt raw data
2021-03-18 10:35:35 -04:00
Sébastien Blin
0b029bc0bf
types: add conversationId to TrustRequest
2021-03-18 09:13:43 -04:00
Adrien Béraud
2256434ec7
dht: add inspection methods
2021-03-09 17:43:57 -05:00
Adrien Béraud
0b4caeda73
dht: don't send unnecessary findNode
2021-03-09 17:43:35 -05:00
Adrien Béraud
18a1a1c47f
callbacks: move function argument to lambda
2021-03-09 17:43:35 -05:00
Sébastien Blin
6702956521
infohash: add xor operator
2021-03-09 17:27:04 -05:00
Lucas Dias
c996220685
network_engine::process could throw an exception in message type MessageType::ValueUpdate if rsocket does not exist. processMessage called process out of try-catch
2021-01-19 12:55:02 -05:00
Adrien Béraud
df85abfabe
cmake: use THREADS_PREFER_PTHREAD_FLAG
2.1.10
2020-12-30 10:32:27 -05:00
Bruno Pagani
e6c760ec6b
Fix use of OPENDHT_SYSTEMD_UNIT_FILE_LOCATION
...
For some reason 1778f64048 reverted part of 4d70c214b0
This commit fixes that.
2020-12-22 18:03:31 -05:00
Adrien Béraud
a77dc855f0
OCSP: use RFC-mandated parameters
...
* use 32 bytes nounce
* use SHA-1 for the certificate ID
2020-12-17 12:35:33 -05:00
Adrien Béraud
2524e167d9
tests: add test for toHex
2.1.9.5
2020-12-08 14:39:25 -05:00
Adrien Béraud
638d1c91f1
toHex: use proper std::string constructor
2020-12-08 14:34:33 -05:00
Amin Bandali
ba4058dfd9
cmake: fix atomic check, hopefully
2.1.9.4
2020-12-04 16:55:03 -05:00
Adrien Béraud
ab90a170af
http: checkOcsp is void
2.1.9.3
2020-11-24 16:16:11 -05:00
Adrien Béraud
f780499241
ocsp response: add string constructor
2020-11-24 16:11:02 -05:00
Adrien Béraud
91709bc999
proxytester: disable https for now
2.1.9.2
2020-11-24 15:59:42 -05:00
Adrien Béraud
72725dc5c1
http: make OCSP check optional
2020-11-24 15:34:19 -05:00
Adrien Béraud
3098439db2
proxy client: set CA for every request
2020-11-24 15:22:14 -05:00
Adrien Béraud
6441a09e09
ocsp: fix memleaks
2.1.9.1
2020-11-20 14:42:55 -05:00
Adrien Béraud
57e7699723
update to version 2.1.9
2.1.9
2020-11-20 11:39:01 -05:00
Adrien Béraud
17e1cfbbbe
crypto: export OCSP request as string
2020-11-20 11:38:11 -05:00
Adrien Béraud
bfe1311ca8
crypto: cleanup OCSP result check
2020-11-19 17:12:54 -05:00
Adrien Béraud
537a1650f2
infohash: add toHex(const std::string&)
2020-11-19 17:07:06 -05:00
Kateryna Kostiuk
8c852c20e7
os_cert: do not load for iOS
2.1.8.2
2020-11-18 15:47:10 -05:00
Adrien Béraud
1da46382d3
cmake: add missing include in CheckAtomic
2.1.8.1
2020-11-17 16:30:36 -05:00
Adrien Béraud
4953888af3
update to version 2.1.8
2.1.8
2020-11-17 16:24:30 -05:00
Adrien Béraud
22de868c6c
cmake: check for 64 bits atomic support
2020-11-17 16:23:43 -05:00
Adrien Béraud
0998707e03
automake: add os_cert
2020-11-17 15:48:13 -05:00
Adrien Béraud
b5fcd49b7b
os_cert: only build with http
2020-11-17 15:20:46 -05:00
Adrien Béraud
81cdd9650b
os_cert: cleanup
2020-11-17 14:37:03 -05:00
Adrien Béraud
e028cea687
os_cert: only define timegm on Windows
2020-11-17 13:15:22 -05:00
Adrien Béraud
17ed4a9e26
os_cert: include crypto/x509 from OpenSSL 3.0
2020-11-17 12:27:41 -05:00
Adrien Béraud
3ff318b9e4
os_cert: cleanup detection of ASN1_time_parse
2020-11-17 11:35:07 -05:00
Adrien Béraud
0c11c25c66
infohash: make toHex inline
2020-11-17 11:34:40 -05:00
Adrien Béraud
0d31139402
crypto: throw in case of certificate generation error
2020-11-16 17:35:00 -05:00
Adrien Béraud
e970cac4d7
infohash: expose toHex
2020-11-16 14:58:35 -05:00
Adrien Béraud
7c8eecd745
update to version 2.1.7
2.1.7
2020-11-15 17:25:12 -05:00
Adrien Béraud
4d87c2267b
os_cert: build ASN1_time_parse if not libressl
2020-11-15 00:42:29 -05:00
Adrien Béraud
88b2439deb
http: use string for body, fix log arguments
2020-11-14 18:07:05 -05:00
Federico Ceratto
766a06c69a
Remove line
2020-11-13 09:33:11 -05:00
Federico Ceratto
aa502553bb
Put @bindir@ back
2020-11-13 09:33:11 -05:00
Federico Ceratto
05ff4205d2
Configure dhtnode service sandboxing
...
Tested on Debian Sid
2020-11-13 09:33:11 -05:00
Adrien Béraud
9d937bb277
http: factor setting CA source
2020-11-12 19:00:02 -05:00
Andreas Traczyk
1621515b3c
http: use local cache to store pre-decoded certs
...
- pre-decode certs from DER->PEM and store them so http connections
can add them the ssl context x509 store
- fixes the windows build by adding the crypto/x509 header
2020-11-12 18:58:18 -05:00
Adrien Béraud
30261e70ad
cache: cleanup, small perf improvements
2020-11-12 12:53:57 -05:00
Adrien Béraud
c2a4f667a7
http: look for CA path in env
2020-11-12 12:53:03 -05:00