Commit Graph

5164 Commits

Author SHA1 Message Date
Christian Grothoff
2f2930f1ba
major API refactoring, adding planchet generation and coin extraction APIs to the Taler crypto library, thereby simplifying code in withdraw, refresh, tipping, payback and testcases; slight API incompatibilities to previous versions are introduced 2017-10-31 14:02:54 +01:00
Christian Grothoff
ec8146de92
rename: TALER_setup_planchet -> TALER_planchet_setup_refresh 2017-10-31 12:44:17 +01:00
Christian Grothoff
a491a4709a
rename: TALER_FreshCoinP -> TALER_PlanchetSecretsP, and TALER_setup_fresh_coin -> TALER_setup_planchet 2017-10-31 12:38:14 +01:00
Christian Grothoff
a946dc30bb
start template for generating nicely formatted auditor reports 2017-10-26 22:39:59 +02:00
Christian Grothoff
d107baa2c3
fix #5108 2017-10-24 15:37:46 +02:00
Christian Grothoff
288c7160d7
more error codes for tipping 2017-10-24 00:21:07 +02:00
Christian Grothoff
2cb6c5b9fe
starting with error codes for tipping API 2017-10-22 19:07:07 +02:00
Christian Grothoff
9807e5c50c
releasing v0.4.0 2017-10-18 15:21:06 +02:00
Marcello Stanisci
4da09561f4
missing conf from 'make dist' 2017-10-18 11:47:34 +02:00
Marcello Stanisci
ae68bd7cfe
fix --with-libcurl and --with-libgnurl options; they used to
ignore the given path.
2017-10-18 09:39:37 +02:00
Christian Grothoff
58528f32dd
update docs 2017-10-17 19:53:44 +02:00
Christian Grothoff
0f67a9fca2
fix matching of auditor keys/denomination issues so that we return _all_ applicable auditor signatures, instead of a tiny subset 2017-10-17 19:53:44 +02:00
Christian Grothoff
1fae7a4f9e
report if DK lacks auditor signature 2017-10-17 19:53:44 +02:00
Christian Grothoff
0346e37504
actually properly implement API wrt return value handling, even if not used today 2017-10-17 19:53:44 +02:00
Christian Grothoff
e4fe0dc87e
exit more nicely if command line arguments were wrong 2017-10-17 19:53:43 +02:00
Christian Grothoff
fbc685a76c
make --wire argument mandatory 2017-10-17 19:53:43 +02:00
Christian Grothoff
3e1906695f
add JSON auditor output samples 2017-10-17 19:53:43 +02:00
Christian Grothoff
298d7dd367
assertion only holds if we did get results 2017-10-17 19:53:42 +02:00
Marcello Stanisci
eda7e1c6a0
missing figure for dist 2017-10-17 19:19:14 +02:00
Christian Grothoff
272f1135fc
add exchangedb function for #4961 2017-10-16 17:57:29 +02:00
Christian Grothoff
4a84520514
resolve #4963 2017-10-16 17:57:29 +02:00
Christian Grothoff
2cddf524a8
work on #4963 for taler-auditor 2017-10-16 17:57:29 +02:00
Marcello Stanisci
88cdaf70c9
adding missing table in the drop method 2017-10-16 16:47:14 +02:00
Christian Grothoff
d970d6abb4
suppress compiler warning 2017-10-15 17:42:41 +02:00
Christian Grothoff
6dbbd36a81
add CSS to dist 2017-10-14 11:37:03 +02:00
Christian Grothoff
b5f5956ee2
fix geq, needs{} 2017-10-14 00:01:59 +02:00
Christian Grothoff
fca44ed626
fix syntax issue in texi 2017-10-13 21:45:11 +02:00
Christian Grothoff
7a232a0941
add references to Mantis bugs to TODO/FIXME comments in code 2017-10-12 20:56:16 +02:00
Christian Grothoff
cb13afaf54
complete first pass of taler-wre-auditor's wire-out audit logic 2017-10-12 20:46:42 +02:00
Christian Grothoff
600d1684e3
completing reserves_in logic of taler-wire-auditor, but not tested 2017-10-12 16:26:52 +02:00
Christian Grothoff
cc5d09cf1d
properly handle signing errors if httpd lacks signing keys by returning internal errors (and handling new return value from TEH_KS_sign) 2017-10-07 15:10:24 +02:00
Christian Grothoff
7935349d35
check return value from create_denom_key_pair in test 2017-10-06 22:19:13 +02:00
Christian Grothoff
c92d88d944
check rval from TALER_amount_to_string 2017-10-06 22:16:28 +02:00
Christian Grothoff
837fcd515c
use proper return value, some c99 changes 2017-10-06 22:13:28 +02:00
Christian Grothoff
15e27abed5
doh, do not try to clean up after allocation failure 2017-10-06 22:10:32 +02:00
Christian Grothoff
1261971987
yet another TALER_amount_get_zero with missing rval check 2017-10-06 22:08:35 +02:00
Christian Grothoff
1c725c055e
use proper enum value for error code on signature parsing in wire plugin 2017-10-06 22:06:25 +02:00
Christian Grothoff
d86a6615cc
really carefully check strtoll() return value before casting to uint64_t 2017-10-06 22:04:51 +02:00
Christian Grothoff
332a37292c
handle (most) TEH_KS_acquire errors 2017-10-06 21:54:55 +02:00
Christian Grothoff
98b7444a7b
handle hypothetical failure of plugin not found 2017-10-06 21:41:41 +02:00
Christian Grothoff
9b585fd066
handle plugin load failure without crashing 2017-10-06 21:39:19 +02:00
Christian Grothoff
ad97b8d439
use proper type for do_shutdown() callback 2017-10-06 21:36:40 +02:00
Christian Grothoff
a90936f858
reduce scope of local vars 2017-10-06 21:35:17 +02:00
Christian Grothoff
a7746c8153
add assertion to be more defensive against buffer overflow (cannot happen, but this better protects against future changes) 2017-10-06 21:32:33 +02:00
Christian Grothoff
d55050652d
BLOB is BYTEA in Postgres 2017-10-06 21:31:07 +02:00
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