Adrien Béraud
|
ace3a94e08
|
scheduler: remove debug log
This reverts commit 5d771e119c.
|
2022-02-19 16:32:07 -05:00 |
|
Adrien Béraud
|
5d771e119c
|
c: install header to opendht directory
|
2022-02-19 12:33:31 -05:00 |
|
Adrien Béraud
|
8dcc695947
|
value: cleanup
|
2022-02-19 10:53:31 -05:00 |
|
Adrien Béraud
|
bc32f848cb
|
thread pool: cleanup
|
2022-02-19 10:53:31 -05:00 |
|
Adrien Béraud
|
6812b733bb
|
dht: respect exponential backoff
|
2022-02-19 09:23:57 -05:00 |
|
Sébastien Blin
|
1b2bc7b1e3
|
crypto: add parameter to change Certificate's validity period
This allow to create certificate with a different validity than
10 years and be able to change the expiration of a certificate
|
2022-01-19 14:51:45 -05:00 |
|
Sébastien Blin
|
dbbfdaab0f
|
proxyclient: onConnectedCallbacks must be launched if started by notif
|
2021-10-27 13:45:30 -04:00 |
|
Adrien Béraud
|
b7aec1310c
|
crypto: make cachedId mutable
|
2021-09-16 11:28:59 -04:00 |
|
Adrien Béraud
|
2fbafc3591
|
crypto: cache Certificate Id
|
2021-09-16 11:08:02 -04:00 |
|
Adrien Béraud
|
19fe34415a
|
thread pool: fix build on MSVC
|
2021-09-15 16:45:56 -04:00 |
|
Adrien Béraud
|
fa19897016
|
HexMap: align on 64 bits
|
2021-08-09 18:20:12 -04:00 |
|
Adrien Béraud
|
ffb53ceb1d
|
thread pool: add ExecutionContext
|
2021-06-09 13:59:33 -04:00 |
|
Adrien Béraud
|
0c00544798
|
remove embedded argon2, HTTP_PARSER_FORK
|
2021-06-09 13:57:10 -04:00 |
|
Adrien Béraud
|
b668d6ad68
|
dhtrunner: add putEncrypted with public key
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
29fab5560f
|
dhtrunner: add getPublicKey()
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
8aef63ce4a
|
crypto: cache public key
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
1ea7a2994e
|
value: use non-const PublicKey
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
208b3fa6fe
|
SignedValue: add owner
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
a178a8f820
|
dht, dhtrunner: add shutdown stop argument
|
2021-05-31 14:43:57 -04:00 |
|
Adrien Béraud
|
43dc7cf222
|
sockaddr: fix warning
|
2021-05-28 13:17:25 -04:00 |
|
Sébastien Blin
|
ad549098f8
|
proxyServer: use lockListener_ to protect pushListeners_
|
2021-05-25 16:05:03 -04:00 |
|
Adrien Béraud
|
efb5f8e36a
|
crypto: avoid generating 0 or negative certificate serial numbers
|
2021-05-15 01:08:07 -04:00 |
|
Adrien Béraud
|
7ba53cb4b3
|
proxy client: use unique_ptr for timers
|
2021-04-16 15:00:48 -04:00 |
|
Adrien Béraud
|
827fdacc4b
|
securedht: build with logger
|
2021-04-16 14:45:14 -04:00 |
|
Adrien Béraud
|
5c0fbf7e68
|
securedht: pass IdentityAnnouncedCb by value, don't store
|
2021-04-15 12:47:18 -04:00 |
|
Adrien Béraud
|
d3fc75589f
|
dht: add onConnect callback
|
2021-04-15 12:36:03 -04:00 |
|
Sébastien Blin
|
f8605f45f7
|
securedht: add IdentityAnnouncedCb to detect when identity is announced
|
2021-04-14 18:55:22 -04:00 |
|
Adrien Béraud
|
d541b17fe1
|
sockaddr: cleanup
|
2021-04-13 21:35:31 -04:00 |
|
Adrien Béraud
|
623b1c4585
|
dhtrunner: add async version of getPublicAddress
|
2021-04-13 21:35:31 -04:00 |
|
Adrien Béraud
|
7774331a20
|
dhtrunner: allow to provide address to bind in configuration
|
2021-04-13 21:35:31 -04:00 |
|
Adrien Béraud
|
d0156b4637
|
crypto: add OcspRequest
|
2021-03-24 23:29:18 -04:00 |
|
Adrien Béraud
|
f6cca88593
|
ocsp response: verifyDirect now returns revocation status
|
2021-03-24 23:11:59 -04:00 |
|
Adrien Béraud
|
122d814a33
|
TrustRequest: add default empty parameter for conversationId
|
2021-03-18 17:08:54 -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
|
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 |
|
Adrien Béraud
|
638d1c91f1
|
toHex: use proper std::string constructor
|
2020-12-08 14:34:33 -05:00 |
|
Adrien Béraud
|
ab90a170af
|
http: checkOcsp is void
|
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
|
72725dc5c1
|
http: make OCSP check optional
|
2020-11-24 15:34:19 -05:00 |
|
Adrien Béraud
|
17e1cfbbbe
|
crypto: export OCSP request as string
|
2020-11-20 11:38:11 -05:00 |
|
Adrien Béraud
|
537a1650f2
|
infohash: add toHex(const std::string&)
|
2020-11-19 17:07:06 -05:00 |
|
Adrien Béraud
|
0c11c25c66
|
infohash: make toHex inline
|
2020-11-17 11:34:40 -05:00 |
|
Adrien Béraud
|
e970cac4d7
|
infohash: expose toHex
|
2020-11-16 14:58:35 -05:00 |
|
Adrien Béraud
|
c84fac6823
|
http: add Request::await
|
2020-10-28 12:23:53 -04:00 |
|
Adrien Béraud
|
e2b39dd3a0
|
http/request: make terminate public
|
2020-06-30 10:42:49 -04:00 |
|
Sébastien Blin
|
b41f5b04f5
|
proxyclient: only restart listeners when connected
restartListeners() must be called only when the proxy is connected. Else, the
client will receive a lot of http errors
|
2020-06-29 15:18:58 -04:00 |
|
Adrien Béraud
|
cfa21df8b3
|
http: cleanup, always verify host in TLS mode
|
2020-06-29 12:12:22 -04:00 |
|