Commit Graph

57 Commits

Author SHA1 Message Date
Marcello Stanisci
7d2fbc4796
fix path generation. 2018-05-03 10:33:29 +02:00
Christian Grothoff
8ebb4cda07
fix NULL termination of fee list 2018-04-02 16:35:14 +02:00
Christian Grothoff
cb55c1a3af
Changing configuration structure to enable multiple accounts.
This change enables using multiple wire plugins at the same time.
Also, we now distinguish between the wire plugin (i.e. EBICS or
taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that
the wire plugin is implementing.  The "taler-bank" wire method
was renamed from "test" to "x-taler-bank".

This also changes the format of the /wire response of the exchange,
as we now need to return multiple accounts.  Note that wire fees
are specified per wire method, not per wire account.

taler-exchange-keyup now automatically signs all of the /wire
responses in the location specified by the configuration.

Account identification in wire plugins was changed to use
payto://-URLs instead of method-specific JSON fields.  Signing
and validation of /wire responses was moved from each wire
plugin to a generic validation method in libtalerutil (crypto)
or libtalerjson (for JSON-formatted inputs).
Convenience methods were added to generate JSON for wire accounts
(salting, signing).

Various section and option names were adjusted to streamline the
configuration and make it more consistent overall.  Documentation
was updated as well.
2018-04-02 14:29:44 +02:00
Marcello Stanisci
fe6960cce8
Implement new traits-based tests. 2018-02-12 16:12:07 +01:00
Christian Grothoff
229907c6e2
implement taler-bank-transfer, fixes #5195 2017-12-14 15:33:10 +01:00
Christian Grothoff
40244c9ca8
fix reservemod issue with time rounding 2017-12-08 12:45:25 +01:00
Christian Grothoff
c92d88d944
check rval from TALER_amount_to_string 2017-10-06 22:16:28 +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
2daa38fcde
fix more leaks 2017-06-04 12:34:12 +02:00
Christian Grothoff
46c7647b27
handle error code returned by TALER_EXCHANGEDB_denomination_keys_iterate 2017-05-09 13:30:55 +02:00
Christian Grothoff
20aad54c3e
remove dead transfer details field from reserves_in (API, exchangedb, etc.) 2017-05-08 13:18:36 +02:00
Christian Grothoff
76545519c6
updating DB schema for new wire history operations and future auditor checks of wire transfers 2017-05-05 13:41:32 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues 2017-04-20 07:49:56 +02:00
Christian Grothoff
164c125528
introducing closing fee 2017-04-17 14:01:55 +02:00
Christian Grothoff
11b8710a5c
implement checking of denomination revocation status in auditor 2017-04-08 22:52:32 +02:00
Christian Grothoff
209076ebd3
implement denomination key revocation logic in exchangedb and taler-exchange-keyup (part of #3887) 2017-04-07 22:37:00 +02:00
Christian Grothoff
8d9dc14227
renaming GNUNET_GETOPT-symbols to match latest changes in GNUnet 2017-03-25 23:39:30 +01:00
Christian Grothoff
ae3e850c94
update getopt config parsing style to match 'getopt' GNUnet branch API change 2017-03-15 12:01:06 +01:00
Christian Grothoff
65457396b3
fix use of uninit value 2017-03-05 17:36:58 +01:00
Christian Grothoff
1c84b3d4af
implementing #4932 2017-03-04 18:09:39 +01:00
Christian Grothoff
f406f96129
implement #4929: add wire transfer fee to /wire (but not yet charged by aggregator) 2017-03-03 20:31:29 +01:00
Christian Grothoff
5b3f346ae1
fix return value check 2017-02-14 13:25:44 +01:00
Florian Dold
f3c4d64329 taler-exchange-wire: infer method from JSON if possible 2016-11-19 18:27:38 +01:00
Christian Grothoff
2948fd6466 fix disting: auditor.conf moved 2016-10-10 17:02:03 +02:00
Christian Grothoff
f5a2134da8 move taler-auditor-sign tool to auditor/ direcotory 2016-10-06 16:38:42 +02:00
Marcello Stanisci
64b7126234 strtol -> strtoll, which made the anchor (see signkey generation algorithm)
always point to the 70s, so new signkeys were always generated
2016-09-20 14:30:38 +02:00
Florian Dold
1078a42847 Regenerate keys before withdraw period is over.
Before, we only would create new denomination keys when
the spending period is over.
2016-09-07 17:41:07 +02:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
754c4ef24c nicer reports
-fix leak

-fix leaks
2016-06-15 22:55:02 +02:00
Christian Grothoff
f4b013b3d4 fix leaks 2016-06-11 17:11:38 +02:00
Christian Grothoff
ba0146b878 add -g option to taler-exchange-dbinit 2016-05-31 09:16:09 +02:00
Christian Grothoff
c0451f0982 fix #4533 for exchange (breaks interaction with bank for /admin/add/incoming) 2016-05-26 16:38:59 +02:00
Christian Grothoff
8dfb3b87b4 testing refund, fixing bugs, refund test passes 2016-05-21 19:22:03 +02:00
Christian Grothoff
3526c44a38 refactor code to write signing keys in same module where we read them 2016-05-06 18:33:02 +02:00
Christian Grothoff
07d9978fb9 implementing #4449 2016-05-05 17:40:38 +02:00
Christian Grothoff
6040adab4f fixing #4461 2016-05-05 15:03:43 +02:00
Christian Grothoff
458992dc6f fixes for disting 2016-05-04 10:21:35 +02:00
Christian Grothoff
1cbba4bec1 fixing #4462: avoid temporary schemata altogether 2016-05-02 06:36:58 +02:00
Christian Grothoff
b98a204562 fix #4184 2016-05-02 05:10:40 +02:00
Christian Grothoff
f693e25793 introduce refund fee 2016-04-20 01:50:26 +02:00
Christian Grothoff
dda069f5f9 fix linker issue 2016-04-16 19:53:01 +02:00
Christian Grothoff
719b51b65d fix config parsing for dbinit tool 2016-04-16 19:49:53 +02:00
Christian Grothoff
a34891981c make all exchange-tools load configs properly like other Taler tools 2016-04-16 13:57:22 +02:00
Christian Grothoff
3abb3bc372 use user_config_file as well 2016-04-16 13:10:29 +02:00
Christian Grothoff
f552b7e4c0 use exchange section consistently for master_priv_file option 2016-04-16 12:46:01 +02:00
Christian Grothoff
fe36ba0062 fix taler-exchange-wire way of loading configuration 2016-04-16 12:44:45 +02:00
Christian Grothoff
ecc5b6791f fix taler-exchange-keyup way of loading configuration 2016-04-16 12:37:37 +02:00
Christian Grothoff
480b9cdf39 automatically set 'type' in taler-exchange-wire 2016-04-15 20:08:19 +02:00
Christian Grothoff
aee99021a7 reduce unnecessary #includes 2016-04-11 13:02:58 +02:00
Christian Grothoff
af91cd87d6 use libtalerwire instead of duplicating logic 2016-04-11 13:01:20 +02:00