Commit Graph

67 Commits

Author SHA1 Message Date
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
Christian Grothoff
f048de9782
preparations for #4840 2017-06-29 20:46:52 +02:00
Christian Grothoff
2f74a5b00e
fix remaining leak from #5050 2017-06-04 12:24:51 +02:00
Christian Grothoff
4694810d9d
free auditor data on shutdown (#5050) 2017-06-04 12:13:30 +02:00
Christian Grothoff
b217058821
add version to keydata returned by libtalerexchange (#5035) 2017-06-01 23:00:06 +02:00
Christian Grothoff
43126e867a
acutally initialize num_auditors field, helps a lot... 2017-05-11 11:41:05 +02:00
Christian Grothoff
d5ddbb648c
fail hard if any auditor sig is wrong 2017-05-11 11:05:48 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues 2017-04-20 07:49:56 +02:00