Commit Graph

2169 Commits

Author SHA1 Message Date
Christian Grothoff
dc883f8556
add assertion to be more defensive against buffer overflow (cannot happen, but this better protects against future changes) 2017-10-06 21:27:58 +02:00
Christian Grothoff
8f08e4634f
do not potentially pass -1 to fcntl() 2017-10-06 21:23:29 +02:00
Christian Grothoff
7f37c2ae00
more return value checks on TALER_amount_get_zero 2017-10-06 21:21:20 +02:00
Christian Grothoff
800c54b19e
do not potentially pass -1 to fcntl() 2017-10-06 21:06:47 +02:00
Christian Grothoff
06f5621fba
better logging if IBAN validation fails, also avoid potentially unbounded stack allocation 2017-10-06 21:04:56 +02:00
Christian Grothoff
dbab0c6587
check return value from TALER_amount_get_zero 2017-10-06 20:54:42 +02:00
Christian Grothoff
2f715c27f8
check return value from TALER_JSON_hash 2017-10-06 20:02:28 +02:00
Christian Grothoff
1da03b95eb
fix indentation 2017-10-06 19:54:48 +02:00
Christian Grothoff
e5aed9e5cb
fix signed calls to isalpha/isdigit/isspace etc. 2017-10-06 19:53:48 +02:00
Christian Grothoff
85a2d3dc0e
modify wire auditor to deal with asynchrony of WIRE plugin API 2017-09-30 21:28:17 +02:00
Christian Grothoff
6a4f6b1836
also store wire position in auditordb 2017-09-30 20:47:52 +02:00
Christian Grothoff
96e04d33e1
update auditordb API to support logic for taler-wire-auditor 2017-09-30 20:29:19 +02:00
Christian Grothoff
34db060b4c
update .gitignore 2017-09-26 15:16:16 +02: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
d36a2008e8
fix uninit auditor_url field 2017-09-26 14:09:55 +02:00
Christian Grothoff
472853442f
fix calculation of 'Expires:' header, also handle HTTP HEAD requests 2017-09-26 13:56:33 +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
a3b71ac75b
fix bad sizeof() 2017-09-26 12:23:06 +02:00
Christian Grothoff
e78e0f6c4e
starting point for #4948 2017-09-25 23:27:16 +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
1c3e787243
be more precise about encoding HTTP bodies 2017-09-14 21:07:43 +02:00
Christian Grothoff
f346e89ceb
(imperfect) test for #4840 2017-09-14 20:52:39 +02:00
Christian Grothoff
f440904f1b
note on messy / duplicated code 2017-09-13 21:45:10 +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
80a7fe9dcf
add logic to signal exchange to reload keys 2017-09-13 14:35:57 +02:00
Christian Grothoff
e243a8952f
style fix 2017-09-13 14:35:39 +02:00
Christian Grothoff
7123015dbc
create tables in taler-auditor-sign instead of failing obscurely 2017-09-13 14:29:07 +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
e33d72683c
skeleton for /keys cherry picking testcase 2017-09-13 13:27:13 +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
bf3d34efb6
do not version INSTALL, is generated 2017-09-12 23:53:17 +02:00
Christian Grothoff
632fd85f1b
fix odd missing initialization, very strange that this did not show up before as a problem 2017-09-12 23:52:23 +02:00
Christian Grothoff
7aa23a39bd
add support for #4840 (/keys cherry picking) to libtalerexchange 2017-09-12 15:34:38 +02:00
Jeffrey Burdges
7d21331d5f
Add two papers 2017-08-17 18:19:26 +02:00
Jeffrey Burdges
d30f7e90af
Add ref for Practical Compact E-Cash with Arbitrary Wallet Size 2017-08-17 14:17:52 +02:00
Marcello Stanisci
26486e6f21
error code for merchant /pay db transaction 2017-07-25 11:56:15 +02:00
Christian Grothoff
2b56769262
improve diagnostics 2017-07-21 19:38:22 +02:00
Christian Grothoff
3e111f4263
introducting error code for merchant detecting wire fee inconsistency 2017-07-21 15:18:59 +02:00
Christian Grothoff
1e8d0eb462
implement #5114 2017-07-20 10:00:42 +02:00
Christian Grothoff
6c63b3c41d
update picture of exhange DB 2017-07-14 22:41:24 +02:00
Christian Grothoff
a301aadd28
add missing indices where needed 2017-07-14 18:18:23 +02:00
Christian Grothoff
3a0e643b68
add UNIQUE constraint on BIGSERIAL columns as that is not automatic in Postgres 2017-07-14 17:56:47 +02:00
Christian Grothoff
0ea012e316
make reserves_update more canonical, avoiding odd WHERE constraint that is unnecessary 2017-07-14 17:52:09 +02:00
Christian Grothoff
e1aa257ee1
select on denom_pub_hash instead of denom_pub as the hash is a primary key 2017-07-14 17:49:34 +02:00
Christian Grothoff
2c6956f32a
clean up PQ tables (renamings, remove redunant column), and primarily fix #4751 2017-07-14 17:43:07 +02:00
Christian Grothoff
e140b418d3
log amount involved 2017-07-06 11:19:00 +02:00
Christian Grothoff
1910d6648c
tolerate total-amount==fee in aggregator 2017-07-06 11:19:00 +02:00
Marcello Stanisci
34887e55eb
importing a 'PS' struct from merchant 2017-07-05 14:12:02 +02:00