Commit Graph

99 Commits

Author SHA1 Message Date
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
Florian Dold
acc3a41df8
add pay session signature 2018-01-04 13:47:03 +01:00
Christian Grothoff
78b77ee8d5
properly document TALER_SIGNATURE_MERCHANT_REFUND_OK 2017-11-30 11:21:51 +01:00
Christian Grothoff
499247a480
fixing #5178 2017-11-29 20:23:08 +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
Marcello Stanisci
34887e55eb
importing a 'PS' struct from merchant 2017-07-05 14:12:02 +02:00
Marcello Stanisci
932d2b3a25
signature macro to confirm refunds 2017-07-05 09:33:23 +02:00
Florian Dold
85350ced32
rename proposal_data to contract_terms (see #4879) 2017-05-29 01:15:41 +02:00
Christian Grothoff
27c921c7c4
finished implementing #4956 in principle, but not yet tested 2017-04-20 21:38:02 +02:00
Christian Grothoff
c15ff78f0c
implementing #4956-support in libtalerexchange 2017-04-19 14:15:48 +02:00
Christian Grothoff
5e8ef38680
fixing #4980 2017-04-18 21:05:27 +02:00
Christian Grothoff
164c125528
introducing closing fee 2017-04-17 14:01:55 +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
29a2f9b345
implement rest of exchange logic for #3887 (return payback information in reserve and coin histories) 2017-04-03 16:40:31 +02:00
Christian Grothoff
b293bda4ac
implement DB plugin function to obtain reserve information, migrate logic to simplified API spec (#3887); use plugin API in /payback DB implementation 2017-04-01 23:43:55 +02:00
Christian Grothoff
a3bb69fb1e
add structs and message types for future implementation of #3887 2017-03-19 07:50:16 +01:00
Christian Grothoff
1c84b3d4af
implementing #4932 2017-03-04 18:09:39 +01:00
Christian Grothoff
6ab67a3a76
implementing #4929 2017-03-04 16:49:33 +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
Florian Dold
92246c3e88
remove transaction_id, only one payment per proposal allowed 2017-02-07 15:09:10 +01:00
Florian Dold
8c820b6916
contract terminology renaming (#4877) 2017-02-06 15:43:06 +01:00
Marcello Stanisci
26d5e08816
h_proposal_data -> hash 2017-02-06 13:54:17 +01:00
Marcello Stanisci
3ead839e3c
h_contract->h_proposal_data 2017-02-04 11:07:15 +01:00
Marcello Stanisci
74fdd928c7
typo 2017-02-03 18:32:03 +01:00
Marcello Stanisci
a60c5e9c97
Renaming's first steps. 2017-02-03 18:26:47 +01:00
Florian Dold
d2302da332
remove redundant fields from ContractPS (#4859) 2017-01-13 16:47:09 +01:00
Florian Dold
c631ae1b60
elaborate on ContractPS 2017-01-12 15:40:43 +01:00
Florian Dold
0589d265ec
comment 2017-01-12 14:58:39 +01:00
Marcello Stanisci
f03c1175df typo 2016-10-07 18:21:12 +02:00
Marcello Stanisci
a42155d552 Adding struct to be signed over related to #4702 2016-10-03 14:08:14 +02:00
Marcello Stanisci
9cea8197b5 defining merchant's signature for successful payments 2016-10-03 10:32:17 +02:00
Marcello Stanisci
0b8081fe22 Adding receiver in TALER_ContractPS (#4651) 2016-09-26 16:55:10 +02:00
Christian Grothoff
77f11bcfac include execution time in signed message for /track/transfer (#4578) 2016-09-26 15:08:00 +02:00
Christian Grothoff
745719dbc1 first half of changing refresh protocol to derive all key data from DH 2016-08-05 16:08:19 +02:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
389c18c18c add file for error codes 2016-06-14 09:50:59 +02:00
Christian Grothoff
75c04b8af2 rename /deposit/wtid and /wire/deposits to /track/{transaction,transfer} for improved consistency 2016-06-09 19:18:13 +02:00
Christian Grothoff
4a031a692b implementing /refund API (#3848) 2016-05-04 09:42:52 +02:00
Christian Grothoff
79c316f0d5 enable multiple wire methods to be used with aggregator, add command to run aggregator in testcase 2016-05-03 07:57:49 +02:00
Christian Grothoff
b98a204562 fix #4184 2016-05-02 05:10:40 +02:00
Christian Grothoff
edd31c7415 implementing parsing of /refund requests 2016-04-20 02:50:52 +02:00
Christian Grothoff
f693e25793 introduce refund fee 2016-04-20 01:50:26 +02:00
Christian Grothoff
ce9dd3365d implement signing of /wire/deposit replies (#4135) 2016-04-11 19:54:54 +02:00
Christian Grothoff
daae3d3ddf change taler-exchange-sepa to a more generic taler-exchange-wire tool using the wire plugins (#4237) 2016-04-02 20:58:22 +02:00
Christian Grothoff
de3e26303e implementing #4356, tests still failing, but main logic should now be updated 2016-04-01 16:15:35 +02:00
Christian Grothoff
6f8fa678c1 implementing #3987 2016-03-21 01:45:53 +01:00
Christian Grothoff
b5cba32510 renaming mint->exchange 2016-03-01 15:35:04 +01:00
Christian Grothoff
46d9cc367b finishing core logic for #4141, but untested 2016-01-28 03:58:21 +01:00
Christian Grothoff
0554fa7691 fix syntax issues in Makefile.am 2016-01-27 15:05:39 +01:00
Christian Grothoff
43e04f2ad1 work on #3888 2016-01-20 18:50:19 +01:00