Marcello Stanisci
f311ffb3ba
Fix cherry picking.
...
Fix how the last denom issue date was set after
a redownloading of /keys.
Additionally, some styling fix also came along.
2019-01-09 15:54:34 +01:00
Marcello Stanisci
ec58188446
Generating additional DKs after serialized state import.
2019-01-09 13:45:47 +01:00
Marcello Stanisci
cf539c03c6
Fix segfault.
2019-01-08 22:39:27 +01:00
Marcello Stanisci
93a6bbfc58
5136: fix multiple invocations of /keys callback.
...
Basically, we allow such a callback to be invoked only once.
Subsequent invocations (due to keys updates / whatever) cause
the callback to simply return in a do-nothing fashion.
Also: adding a /wire CMD - that uses /keys - after serilized
keys have been loaded.
2019-01-08 15:59:14 +01:00
Christian Grothoff
5c71c3e70e
likely fix fo #5136/c13438
2019-01-02 12:08:42 +01:00
Christian Grothoff
a6331c8eac
mark bug location
2019-01-02 11:54:52 +01:00
Marcello Stanisci
bc771beb23
Fix null master_sig in signkeys array elements.
2018-12-24 16:14:42 +01:00
Marcello Stanisci
ea80ab4f45
fix auditor key serialization
2018-12-21 21:15:41 +01:00
Marcello Stanisci
dbbf25c41a
Fix JSON packaging
2018-12-21 19:30:01 +01:00
Marcello Stanisci
5f175fb398
typo
2018-12-21 15:32:29 +01:00
Marcello Stanisci
81d1b39343
Extend exchange-lib.
...
Adding simple function that returns the exchange's base URL.
2018-12-06 18:14:09 +01:00
Christian Grothoff
5052698cbc
getting test_auditor_api to pass
2018-11-25 14:40:03 +01:00
Marcello Stanisci
368f3a9a66
Minor changes to make tests pass/no-skip again.
2018-11-19 23:02:37 +01:00
Christian Grothoff
e7682b3f8d
fix potential use of uninitialized hash_context
2018-11-10 17:39:02 +01:00
Christian Grothoff
60fe2395fd
clean up struct TALER_ExchangeSigningKeyValidityPS
...
(long-standing fixme: should not have contained the signature itself)
2018-10-27 18:39:12 +02:00
Marcello Stanisci
60c533562c
Fix compiler warnings.
...
This reverts changes made in b0d00823eb
. The warnings
are fixed by changing the functions signatures, instead of casting
their pointers.
2018-10-22 16:59:09 +02:00
Marcello Stanisci
b0d00823eb
Fix compiler warnings.
2018-10-22 12:29:34 +02:00
Christian Grothoff
16b0c65470
keep a most sigs around when serializing
2018-10-13 19:45:50 +02:00
Christian Grothoff
504017bc65
intermediate patch towards implementing #5136
2018-10-13 19:14:11 +02:00
Christian Grothoff
c09c900922
implement deserialization logic for #5136
2018-10-13 08:15:02 +02:00
Florian Dold
9e55caf92c
lower backoff threshold
2018-09-26 23:24:24 +02:00
Florian Dold
3ab7f8b840
use randomized backoff
2018-09-26 17:37:33 +02:00
Marcello Stanisci
dd29898617
fix debug statement.
2018-09-25 12:00:25 +02:00
Florian Dold
4e0c95f0c2
put curl default options on one place
2018-09-22 01:21:55 +02:00
Florian Dold
310b120d5d
remove leftover code
2018-09-21 22:04:41 +02:00
Florian Dold
0a4ce8475a
use tcp fast open for /keys request
2018-09-21 22:02:05 +02:00
Florian Dold
9e60296f92
use deflate in exchange-api
2018-09-21 20:07:07 +02:00
Florian Dold
94f24f012c
use deflate for requesting /keys
2018-09-21 19:35:50 +02:00
Christian Grothoff
73b02adee0
adjust timeouts to try to make test more robust
2018-09-15 22:51:44 +02:00
Christian Grothoff
528faeab81
fix #5315 , including more testing
2018-09-15 22:20:07 +02:00
Christian Grothoff
e2ac27fe38
fix /keys retry
2018-08-19 17:37:30 +02:00
Christian Grothoff
6982ccd78b
force TALER_EXCHANGE_connect() va-list to be actually provided
2018-08-19 12:22:42 +02:00
Christian Grothoff
433fab96c9
add logic to retry /keys if /keys download fails
2018-08-19 12:12:00 +02:00
Florian Dold
f3fe72ab24
use gnunet_curl_lib.h instead of including gnurl/curl directly
2018-08-17 13:14:57 +02:00
Marcello Stanisci
f033320300
Addressing #5291 .
2018-06-27 16:49:23 +02:00
Florian Dold
1b3bf1a001
disable /keys cherrypicking until #5315 is addressed
2018-04-06 00:58:15 +02:00
Florian Dold
e318edb5e5
use url instead of uri consistently
2018-01-30 01:38:04 +01:00
Christian Grothoff
5c3d25eb29
implement #5254
2018-01-18 16:55:16 +01:00
Christian Grothoff
749c02fe37
bump protocol version of C client, we do support the new refresh
2017-12-10 19:03:11 +01:00
Christian Grothoff
a0d410e01b
fix mapping of auditor sigs to DKs, avoid one hash operation by caching hash value
2017-09-26 15:05:27 +02:00
Christian Grothoff
a8de810bf7
simplify time conversion using strptime instead of manual hack, also check for timezone issues if we get unusual time values
2017-09-26 13:46:06 +02:00
Christian Grothoff
7cb48a720b
check json_array_append_new() return values, proper logging on errors
2017-09-26 12:30:24 +02:00
Christian Grothoff
e5a9b3ffa7
bump version of taler protocol we implement
2017-09-17 16:56:23 +02:00
Christian Grothoff
e328b44172
clean up /keys cherry picking logic, including changing the last_issue_date value to be in seconds
2017-09-17 16:53:14 +02:00
Christian Grothoff
f346e89ceb
(imperfect) test for #4840
2017-09-14 20:52:39 +02:00
Christian Grothoff
36a7ac723e
do keep signing over DKs even for cherry-picked /keys replies
2017-09-13 21:43:10 +02:00
Christian Grothoff
b46735fbaf
add argument to TALER_EXCHANGE_check_keys_current() to allow forcing the download
2017-09-13 14:08:11 +02:00
Christian Grothoff
6d7645a99b
theoretically finished implementation of #4840 (/keys cherry picking), but by far not done testing
2017-09-13 01:14:31 +02:00
Christian Grothoff
7aa23a39bd
add support for #4840 (/keys cherry picking) to libtalerexchange
2017-09-12 15:34:38 +02:00
Christian Grothoff
d77c4160ec
implement logic to check protocol version compatibility ( #5035 )
2017-07-01 14:15:26 +02:00