Commit Graph

50 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
Christian Grothoff
499247a480
fixing #5178 2017-11-29 20:23:08 +01:00
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
1e30d60a25
fixing misc doxygen issues 2017-06-04 11:30:43 +02:00
Florian Dold
85350ced32
rename proposal_data to contract_terms (see #4879) 2017-05-29 01:15:41 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues 2017-04-20 07:49:56 +02: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
Christian Grothoff
0fd6cf19af mostly working migration of the DH-seeded refresh variant 2016-08-07 23:21:49 +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
bb511560fe move TALER_TrackTransferDetails to taler_crypto_lib.h as it is not exchange-specific 2016-06-09 21:03:07 +02:00
Christian Grothoff
32bb3b14bf fix #4483 2016-05-24 20:13:31 +02:00
Christian Grothoff
763c8ab512 rename GNUNET_CRYPTO_rsa_BlindingKey to GNUNET_CRYPTO_RsaBlindingKey following GNUnet API change 2016-05-19 15:11:05 +02:00
Christian Grothoff
3cb188e8a7 rename to match GNUnet symbol change 2016-03-21 14:40:57 +01:00
Christian Grothoff
b5cba32510 renaming mint->exchange 2016-03-01 15:35:04 +01:00
Christian Grothoff
8f071e2200 adding aggregation_tracking table to postgres plugin 2016-01-21 08:44:45 +01:00
Christian Grothoff
d291788976 spelling out what information mint should sign for TALER_SIGNATURE_MINT_CONFIRM_WIRE 2016-01-20 18:03:44 +01:00
Christian Grothoff
80f6c4240e -fix (C) notices 2016-01-19 14:39:00 +01:00
Christian Grothoff
c1f28638c9 working on #3888 2016-01-17 18:19:09 +01:00
Florian Dold
24bfedf04e Merge branch 'master' of ssh://taler.net/var/git/mint 2015-12-22 11:26:10 +01:00
Christian Grothoff
c20f955ae4 towards /deposit/wtid handling (more skeleton work) 2015-12-09 15:36:34 +01:00
Florian Dold
57affb94fe Fix wrong comment 2015-11-24 14:42:01 +01:00
Christian Grothoff
a8755be2b7 implement auditor signing tool 2015-09-16 19:18:48 +02:00
Christian Grothoff
c6f88ebd61 doxygen-fixes 2015-08-09 15:40:16 +02:00
Christian Grothoff
00d613728f completing TALER_MINT_refresh_melt implementation 2015-08-08 19:52:05 +02:00
Christian Grothoff
beceb3bc16 implementing #3905 2015-07-20 10:34:32 +02:00
Christian Grothoff
3eddd802dc -fix ftbfs in wallet-only mode 2015-07-15 11:40:51 +02:00
Christian Grothoff
5740506b24 refactoring mint API, mostly done (compiles again, /keys might even work) 2015-06-17 18:50:09 +02:00
Christian Grothoff
21da34a501 -fix doxygen errors 2015-05-16 18:26:34 +02:00
Christian Grothoff
f4a59d1ccc eliminating ECDSA, replacing with EdDSA-ECDHE-combo in transfer protocol 2015-05-16 14:15:34 +02:00
Christian Grothoff
da9ab66d2e simplify PG logic by having libtalerpq handle RSA signature/key encoding 2015-05-06 17:05:24 +02:00
Christian Grothoff
e226e5c350 implementing TALER_refresh_link_encrypted_encode, and adding test 2015-04-18 13:08:19 +02:00
Christian Grothoff
0a0feeea86 finish #3777 including testing 2015-04-15 18:34:14 +02:00
Christian Grothoff
97e403bb66 moving core refresh crypto logic to util -- towards fixing #3777 2015-04-15 18:12:21 +02:00
Christian Grothoff
2f6a4bb11c rename TALER_RefreshLinkDecryptedP to TALER_RefreshLinkDecrypted as it contains a pointer and is thus not (P)acked 2015-04-13 18:42:39 +02:00
Christian Grothoff
5827630699 starting with tests for libtalerutil 2015-04-13 17:20:46 +02:00
Christian Grothoff
dd63d2f846 fix type of transfer keys 2015-04-10 22:18:50 +02:00
Christian Grothoff
708b463580 more doxygen fixes 2015-03-28 15:53:53 +01:00
Christian Grothoff
eca4f1a8fe -doxygen fixes 2015-03-28 15:42:07 +01:00
Christian Grothoff
891018f69f minor renaming of signature values and improved documentation of signatures, also adding a few missing fields to signatures to address #3631 2015-03-28 14:22:21 +01:00
Christian Grothoff
eae1896a4b major rename-fest for more constent symbol names 2015-03-27 19:58:40 +01:00
Christian Grothoff
f052af1e6b address #3731: no need for session public key or signature 2015-03-24 17:13:17 +01:00
Christian Grothoff
55959bd01d address #3708: melt_hash => session_hash, use session_hash for DB access, not session_pub 2015-03-24 16:56:06 +01:00
Christian Grothoff
f73071bc62 fix #3638 2015-03-22 22:14:30 +01:00
Christian Grothoff
477e68c506 bringing copyright tags up to FSF standard 2015-02-08 00:16:22 +01:00
Christian Grothoff
41e1dd9738 finish cleanup of /refresh/commit parsing 2015-01-29 17:34:37 +01:00
Christian Grothoff
9c3c6295a8 even cleaner separation of PostGres-specific logic, and nicer libtalerutil headers 2015-01-28 20:53:21 +01:00