Commit Graph

296 Commits

Author SHA1 Message Date
Christian Grothoff
b407565351 defining wire plugin API 2016-01-24 16:26:54 +01:00
Christian Grothoff
d63447baf6 adding mint-lib logic to execute /wire/deposits requests 2016-01-21 15:18:55 +01:00
Christian Grothoff
ce199e6e95 adding API code for /deposit/wtid requests 2016-01-21 14:46:17 +01:00
Christian Grothoff
c097b11052 defined tracking API (not implemented) 2016-01-21 13:53:34 +01:00
Christian Grothoff
c12a899f32 finish implementation of DB tracing functions 2016-01-21 12:09:17 +01:00
Christian Grothoff
9ccba0e77f implementing insert function into aggregation table 2016-01-21 11:24:18 +01:00
Christian Grothoff
8f071e2200 adding aggregation_tracking table to postgres plugin 2016-01-21 08:44:45 +01:00
Christian Grothoff
43e04f2ad1 work on #3888 2016-01-20 18:50:19 +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
0bdae896e7 remark on TODO 2016-01-17 18:21:32 +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
Christian Grothoff
c5204d3a21 add contract structure from Merchant 2015-11-25 13:37:38 +01:00
Florian Dold
57affb94fe Fix wrong comment 2015-11-24 14:42:01 +01:00
Christian Grothoff
5a12cbac29 skeleton for the logic for #3888 (mint-side) 2015-11-11 18:21:29 +01:00
Christian Grothoff
d97cd0c98d define signature formats for #3888 2015-11-11 18:09:19 +01:00
Christian Grothoff
9bbfca568f updating code to match simplified specification (#4039) 2015-11-11 14:44:08 +01:00
Marcello Stanisci
34405ec956 minor change to comments 2015-11-03 16:49:14 +01:00
Christian Grothoff
c2a40aa839 fix #4032: move wire deadline form wire details to advisory field in /deposit request 2015-10-28 21:06:23 +01:00
Christian Grothoff
93a84d5e5a retry transactions on serialization/dead-lock failures (#3990) 2015-09-21 14:36:18 +02:00
Christian Grothoff
a6f8fa98b0 implement #3972: support multiple wire formats concurrently 2015-09-20 13:48:15 +02:00
Christian Grothoff
1eadd66ae0 renaming /withdraw to /reserve (#3968) 2015-09-19 22:08:49 +02:00
Christian Grothoff
cc47c5c701 implement #3838 (as required for wire transfers) 2015-09-19 20:28:37 +02:00
Christian Grothoff
f8a730a0ab fixing #3816: adding 'id' field to uniquely identify each deposit 2015-09-19 20:02:21 +02:00
Christian Grothoff
37a84c5af7 finish implementing #3847 2015-09-19 16:34:27 +02:00
Christian Grothoff
7fbae8f69f implementing retrieval of auditor information from /keys in mint API (with updated specification) - #3847 2015-09-19 16:11:31 +02:00
Christian Grothoff
690019c175 implement mintdb API for mint to read auditor keys from disk -- and form auditor-sign tool to write them in the right format 2015-09-17 14:13:41 +02:00
Christian Grothoff
a8755be2b7 implement auditor signing tool 2015-09-16 19:18:48 +02:00
Christian Grothoff
899f2b4070 implement /wire api (#3947) 2015-09-14 15:29:40 +02:00
Christian Grothoff
6501118f6c remove /lock skeleton logic (#3625) 2015-09-14 11:56:37 +02:00
Christian Grothoff
c4a68b896f add internal sig verification, pack hashes, fix testcase 2015-08-17 03:56:49 +02:00
Christian Grothoff
3d1627daa7 helper function for debugging 2015-08-14 22:05:34 +02:00
Christian Grothoff
c1df2e6283 fix melt sig alignment issue 2015-08-14 15:01:11 +02:00
Christian Grothoff
bda1025dc1 fix accidential removal 2015-08-11 16:11:22 +02:00
Christian Grothoff
13619f425c towards implementing /wire replies 2015-08-11 14:40:09 +02:00
Christian Grothoff
6237981d96 rename struct TALER_MINTDB_RefreshCommitLinkP to struct TALER_RefreshCommitLinkP 2015-08-09 21:25:49 +02:00
Christian Grothoff
3ead9d772a move struct TALER_MINTDB_RefreshCommitLinkP
to taler_signatures.h
2015-08-09 21:25:02 +02:00
Christian Grothoff
e6ff049c20 fix #3935 by removing error message: the test provokes this intentionally 2015-08-09 18:03:42 +02:00
Christian Grothoff
2da8705c96 doxygen 2015-08-09 15:46:29 +02:00
Christian Grothoff
c6f88ebd61 doxygen-fixes 2015-08-09 15:40:16 +02:00
Christian Grothoff
aaab2ed2d4 fix FTBFS, towards implementing OC_REFRESH_REVEAL 2015-08-09 15:24:02 +02:00
Christian Grothoff
7e47853a5e implement parse_refresh_link_ok 2015-08-08 23:03:26 +02:00
Christian Grothoff
00d613728f completing TALER_MINT_refresh_melt implementation 2015-08-08 19:52:05 +02:00
Christian Grothoff
71daf751b1 adding first draft for the /refresh/ APIs, including implementation stub 2015-08-06 00:00:40 +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
155d13e417 comment 2015-07-08 09:59:51 +02:00
Christian Grothoff
1164803c8b defining auditor sig 2015-07-06 10:25:52 +02:00
Christian Grothoff
2e7b28765e simplifying use of struct TALER_DenominationKeyValidityPS by removing signature 2015-07-06 10:16:49 +02:00
Christian Grothoff
0372b7583b include mint's public key in reply 2015-07-05 17:15:37 +02:00
Christian Grothoff
922323b410 misc bugfixes from tests 2015-07-05 16:55:01 +02:00
Christian Grothoff
a104914e4d -doxygen fixes 2015-07-05 13:35:47 +02:00
Christian Grothoff
dde1ff8821 fix type 2015-07-05 13:18:49 +02:00
Christian Grothoff
f8349a9cbf towards test-interpreter command for /withdraw/sign 2015-07-04 22:35:30 +02:00
Christian Grothoff
01b2a257b1 implement C API for /admin/add/incoming 2015-07-01 00:18:01 +02:00
Christian Grothoff
f948a10f71 implementing #3851 2015-07-01 00:01:21 +02:00
Christian Grothoff
ca01072fdd work on withdraw history parser refactoring, towards finishing the implementation 2015-06-23 19:41:51 +02:00
Christian Grothoff
e51b6f753a drafting API for /withdraw/status and /withdraw/sign 2015-06-22 15:23:18 +02:00
Christian Grothoff
8f6e911308 -implement signature checking on /deposit 2015-06-21 20:43:54 +02:00
Christian Grothoff
5caa52aa4c implementing /deposit JSON generation 2015-06-21 19:18:31 +02:00
Christian Grothoff
ed888ca1d8 starting with skeleton for /deposit implementation 2015-06-21 00:00:33 +02:00
Christian Grothoff
6e070416c3 generate /keys signature as binary-only 2015-06-20 23:19:21 +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
2ca543cd07 fix #3818 and handle coins being melted into multiple sessions 2015-06-15 14:18:37 +02:00
Christian Grothoff
5c01da52b1 introduce pq functions form abs time in NBO 2015-06-12 21:29:17 +02:00
Christian Grothoff
9891cafe12 implementing #3819: check for inconsistent deposit request 2015-06-12 11:47:01 +02:00
Christian Grothoff
006c55b3de doxygen fixes 2015-06-12 11:00:04 +02:00
Christian Grothoff
3cdee2eb6a fix #3811 2015-06-12 10:55:03 +02:00
Christian Grothoff
fe6d7a5ae1 ensure DKI information is in database before we start to use it (#3808) 2015-06-12 10:46:42 +02:00
Christian Grothoff
3724e3d166 implement postgres_get_denomination_info (#3808) 2015-06-12 10:28:17 +02:00
Christian Grothoff
a560e79a50 addig gauger.h to build to avoid FTBFS 2015-06-11 16:04:51 +02:00
Christian Grothoff
a2c77cd36a fixing #3823 2015-06-11 14:58:23 +02:00
Christian Grothoff
65c19ccbdb implement #3831 2015-06-11 14:40:07 +02:00
Christian Grothoff
998a2f3aa6 fixing #3812/#3828 2015-06-11 13:52:45 +02:00
Christian Grothoff
357235618f fixing #3821 2015-06-11 13:46:27 +02:00
Christian Grothoff
dc23f290ee fixing #3817 2015-06-11 13:38:47 +02:00
Christian Grothoff
edc6d38082 use execution time for transactions, but expiration time for reserve summary (fixes #3809) 2015-06-11 13:14:59 +02:00
Christian Grothoff
babeff1968 fix #3825 2015-06-11 13:02:57 +02:00
Christian Grothoff
8bd6465325 fixing #3810 2015-06-11 12:30:14 +02:00
Christian Grothoff
c502b82da4 fixing #3827 2015-06-11 12:08:15 +02:00
Christian Grothoff
9a3dd7cb25 new test for uint and json APIs 2015-06-10 17:39:34 +02:00
Christian Grothoff
aef3b7c350 implementing pq APIs for #3827, not yet tested or used through 2015-06-10 16:31:29 +02:00
Christian Grothoff
29a8047d6f use better names than i/j 2015-06-10 11:34:21 +02:00
Christian Grothoff
4544a21cfb -commenting on code 2015-06-09 13:55:05 +02:00
Christian Grothoff
55568e682b notes about 3828/3812 2015-06-05 15:48:00 +02:00
Christian Grothoff
776482ef85 more docu and bug notes 2015-06-05 15:26:41 +02:00
Christian Grothoff
49fdd32337 clean up postgres_get_reserve_history logic and improve docu 2015-06-05 15:04:21 +02:00
Christian Grothoff
c4f3c9be6c clean up postgres_reserves_in_insert logic and improve docu 2015-06-05 13:48:57 +02:00
Christian Grothoff
b978cba29c -style fixes 2015-06-04 10:43:44 +02:00
Christian Grothoff
8a93e84d71 use const, annotate in/out argument, avoid postgres_-prefix for non-exported functions 2015-06-04 10:35:37 +02:00
Christian Grothoff
c3ab96b242 more documenting, checking for consistency between prepared statements and functional logic 2015-06-03 15:41:09 +02:00
Christian Grothoff
f8558c418e remarks on #3811 2015-06-03 12:35:30 +02:00
Christian Grothoff
600dbaf594 remarks on #3808 2015-06-03 11:43:57 +02:00
Christian Grothoff
401745fc30 -include wallet headers if compiling wallet library 2015-06-02 12:52:05 +02:00
Christian Grothoff
68a8c36f06 forgot to add include earlier 2015-05-28 15:10:57 +02:00
Christian Grothoff
5081c7df1e Merge branch 'master' of git+ssh://taler.net/var/git/mint 2015-05-28 11:34:09 +02:00
Christian Grothoff
de953fa7bc add --enable-wallet-only flag to build libtalerutil_wallet which ONLY contains the wallet-specific API subset 2015-05-28 11:34:06 +02:00
Sree Harsha Totakura
1d551bf36b mintdb get_known_coin(): Do not allocate memory for return paramter.
Instead populate the fields of the placeholder return variable.
2015-05-27 14:20:07 +02:00
Sree Harsha Totakura
d49a0d6567 mintdb postgres: add get_known_coin() and insert_known_coin() 2015-05-25 17:40:27 +02:00
Christian Grothoff
3b0dadc28b add functions for conversion from json to rsa public key/signature for symmetry, testing, etc. 2015-05-17 17:28:18 +02:00
Christian Grothoff
25e530f37a add test for varsize pq operation 2015-05-17 16:46:16 +02:00
Christian Grothoff
aa89db4d0a organize #include, remove redundant includes 2015-05-16 20:33:01 +02:00
Christian Grothoff
21da34a501 -fix doxygen errors 2015-05-16 18:26:34 +02:00
Christian Grothoff
456434ec41 eliminating ECDSA support from json API (dead) 2015-05-16 14:16:38 +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
d080e59e27 resolve #3717 2015-05-15 17:24:27 +02:00
Christian Grothoff
85f198ef32 getting test to pass 2015-05-15 14:46:03 +02:00
Christian Grothoff
955054bf25 misc bugfixes 2015-05-15 14:36:08 +02:00
Christian Grothoff
057ef6da30 fix ftbfs 2015-05-13 20:25:02 +02:00
Christian Grothoff
d5960b50af towards fixing #3717 and #3633 2015-05-13 15:57:35 +02:00
Christian Grothoff
dc4847220a do equivalent update for results that was done to type queries in pq library 2015-05-10 22:38:34 +02:00
Christian Grothoff
5004fce6ca replace macros with functions for better type-checking 2015-05-09 17:04:56 +02:00
Christian Grothoff
17055134a3 extend PQ library to support Absolute time values 2015-05-07 13:59:56 +02:00
Christian Grothoff
fc407bcb29 clean up of result processing in postgres logic by expanding pq API to cover RSA keys and signatures for results 2015-05-06 17:43:36 +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
74a21a5259 fixing #3768, using new pq API more 2015-05-06 11:47:12 +02:00
Christian Grothoff
f8723b9b5d expanding PQ APIs with cleanup function 2015-05-06 11:25:13 +02:00
Christian Grothoff
85e59ceb1a expanding PQ APIs to be able to handle Amounts nicely (and be extensible for additional data types in the future) 2015-05-06 11:13:09 +02:00
Christian Grothoff
4af6cbb375 -working a bit on DB, starting to adjust libtalerpq API, not done yet 2015-05-04 14:47:36 +02:00
Christian Grothoff
81e8a9b99c minor updates to /test api 2015-04-19 15:10:48 +02:00
Christian Grothoff
e226e5c350 implementing TALER_refresh_link_encrypted_encode, and adding test 2015-04-18 13:08:19 +02:00
Christian Grothoff
759837da70 adding /test/ecdsa and /test/eddsa to test client signing and verification over Curve25519 2015-04-17 19:45:30 +02:00
Christian Grothoff
790b331a8d fix #3729 (documentation, code hygene for pq library) 2015-04-15 22:02:59 +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
2310a3f474 fixing -h and -v command line tool options 2015-04-13 13:49:42 +02:00
Sree Harsha Totakura
4f18e6d585 mintdb plugin: introduce insert_denomination 2015-04-12 17:18:30 +02:00
Christian Grothoff
4f078c7666 scaffolding work towards #3712 2015-04-11 21:29:15 +02:00
Christian Grothoff
dd63d2f846 fix type of transfer keys 2015-04-10 22:18:50 +02:00
Christian Grothoff
80b29ed2ae indentation and minor updates to reflect latest API docs 2015-04-08 22:28:52 +02:00
Christian Grothoff
bb15fdd215 fix use of struct TALER_RefreshMeltCoinAffirmationPS 2015-03-28 17:27:08 +01:00
Christian Grothoff
15b362373f fix use of struct TALER_DepositRequestPS (unfinished) 2015-03-28 17:10:39 +01:00
Christian Grothoff
d61dbb3109 fix use of struct TALER_WithdrawRequestPS 2015-03-28 16:51:54 +01:00
Christian Grothoff
20d1ec85fa more doxygen fixes 2015-03-28 16:31:27 +01:00
Christian Grothoff
b7a2852a1b more doxygen fixes 2015-03-28 16:30:02 +01: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
c2fd4896a6 fixing a few missing renames for structs 2015-03-28 14:39:31 +01:00
Christian Grothoff
3b9b7fa099 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:25:56 +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
28b6b26567 -fix name 2015-03-28 13:31:09 +01:00
Christian Grothoff
44b894ebe1 more rename-fest work 2015-03-28 12:29:35 +01:00
Christian Grothoff
c626ccac51 second round of renamefest 2015-03-28 11:06:00 +01:00
Christian Grothoff
eae1896a4b major rename-fest for more constent symbol names 2015-03-27 19:58:40 +01:00
Christian Grothoff
324bf3f980 fix #3484: sign over full key set as well 2015-03-24 17:53:13 +01:00
Christian Grothoff
d5acf53732 make kappa global fixed constant, not something to be negotiated, KISS 2015-03-24 17:25:00 +01:00