Commit Graph

68 Commits

Author SHA1 Message Date
Florian Dold
87649e856a
wire signatures: produce better warning
Produce a better warning when the wire signature file is signed by a
different key than the one we're checking the signature with.
2019-06-26 23:33:15 +02:00
Christian Grothoff
9a5030b993
add test for json_wire.c logic 2019-06-26 20:43:08 +02:00
Christian Grothoff
a56e2e34bc
fix #5434 (no more salt in exchange wire replies) 2018-10-06 15:05:06 +02:00
Florian Dold
911b158bb8
fix some wrong -l flags 2018-08-16 13:03:30 +02:00
Marcello Stanisci
b84ba7074b
New error code for a unknown reserve public key.
Specific to the /reserve/status API.
2018-05-22 12:42:02 +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
Florian Dold
d126b16624
serialize amounts as string instead of an object 2018-01-29 19:26:10 +01:00
Christian Grothoff
c5f9c0ca88
work on making auditor reports nicer (#4962) 2017-11-06 00:03:08 +01: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
0c522791fe
bump versions for release 2017-06-06 14:03:53 +02:00
Christian Grothoff
a5fedfeeb8
remove redundant check 2017-05-09 13:26:34 +02:00
Christian Grothoff
5e8ef38680
fixing #4980 2017-04-18 21:05:27 +02:00
Christian Grothoff
19f4c50dab
rename and move TALER_EXCHANGE_json_get_error_code to TALER_JSON_get_error_code 2016-10-20 21:19:01 +02:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
aee021aa37 update ignore file, fix compiler warning 2016-04-06 11:27:51 +02:00
Christian Grothoff
737e3f4bf6 refactor to eliminate duplicated JSON parsing logic (#4150) 2016-03-19 19:16:35 +01:00
Christian Grothoff
0d1eced630 first refactoring of JSON logic to address #4150 and #4237 2016-03-19 15:23:11 +01:00