Commit Graph

827 Commits

Author SHA1 Message Date
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
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
1277f8445d include fees in amounts being signed, check available balance on refresh 2015-03-22 16:09:01 +01:00
Christian Grothoff
7d9a403275 first stab at establishing proper plugin API, main HTTP code compiles, other binaries FTBFS right now 2015-03-20 23:51:28 +01:00
Christian Grothoff
23bf1eee74 fix #3716: make sure amount-API offers proper checks against overflow and other issues 2015-03-18 18:55:41 +01:00
Christian Grothoff
0119f629b3 move TALER_CONFIG_get_denom into util lib 2015-03-17 10:48:12 +01:00
Christian Grothoff
4d98a1200a refactor denomination key structs to allow proper signing / serialization with new variable-size RSA keys 2015-03-15 18:27:32 +01:00
Christian Grothoff
7673ca0137 document structs better 2015-03-15 18:18:14 +01:00
Christian Grothoff
126cd5b3ff identifying where key_io still needs to be adapted 2015-03-15 18:08:04 +01:00
Christian Grothoff
53b189868e moving low-level JSON encoding logic to json.c 2015-03-15 16:39:06 +01:00
Christian Grothoff
6404213457 use wire validation routine 2015-03-13 10:01:57 +01:00
Christian Grothoff
7e26ae3858 clean up refresh logic and use of signatures 2015-03-10 17:00:12 +01:00
Christian Grothoff
c2c8646a83 combining /mint/melt and /mint/commit 2015-03-10 16:15:14 +01:00
Christian Grothoff
8eaeda9958 fix use of signature for noreveal index, needs to be tied to session hash 2015-03-09 13:21:55 +01:00
Christian Grothoff
579f465c9b implementing #3632: generate proof of insufficient funds by converting transaction history to JSON 2015-03-09 12:29:41 +01:00
Sree Harsha Totakura
9879b8e8d3 util: reduce taler currency length to 4 2015-03-06 17:58:02 +01:00
Sree Harsha Totakura
72c298b52e util: use const whenever applicable 2015-03-06 10:32:02 +01:00
Sree Harsha Totakura
bea425de6c Fix #3624: Check JSON format for wire deposits (SEPA specification) 2015-02-17 17:29:43 +01:00
Christian Grothoff
3cd1bef1ff bringing copyright tags up to FSF standard 2015-02-08 00:17:40 +01:00
Christian Grothoff
477e68c506 bringing copyright tags up to FSF standard 2015-02-08 00:16:22 +01:00
Christian Grothoff
a0a405939f remove dead mint.h includes 2015-01-29 20:27:57 +01:00
Christian Grothoff
090ddf170b working on cleaning up /refresh/melt logic 2015-01-29 20:00:21 +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
Christian Grothoff
c4b63c1302 move PostGres-specific logic out of libtalerutil 2015-01-28 20:37:51 +01:00
Christian Grothoff
bc8f6e81a4 move data_to_string_alloc to GNUnet 2015-01-28 20:31:28 +01:00
Christian Grothoff
62d3d35250 move coin validity test to libtalerutil 2015-01-28 20:23:19 +01:00
Christian Grothoff
2e0e30291c sign /deposit reply so that merchant has proof that mint accepted it 2015-01-28 19:48:41 +01:00
Christian Grothoff
49d4f24f8d misc cleanup, moving TALER_MINT_config_load to libtalerutil 2015-01-28 14:55:25 +01:00
Christian Grothoff
162af316d3 cleaning up types used some more: also use a new struct for the transfer key secret 2015-01-27 22:05:31 +01:00
Christian Grothoff
27a72fdafe cleaning up types used 2015-01-27 22:01:08 +01:00
Christian Grothoff
019af0919e mint-httpd_db.c now compiles again 2015-01-27 18:49:02 +01:00
Christian Grothoff
16817ef0d1 implementing new link crypto API 2015-01-27 16:31:18 +01:00
Christian Grothoff
2cda5ea7ee rework taler lib, moving some code to GNUnet, cleaner refresh encrypt/decypt API 2015-01-27 16:18:33 +01:00
Christian Grothoff
986a89ea4f finish porting lib 2015-01-26 12:29:58 +01:00
Christian Grothoff
e1a0d89847 also fix type here 2015-01-26 12:25:35 +01:00
Christian Grothoff
ae917eeee0 intermediary commit, breaking the build by starting to move towards variable-size GNUnet signatures instead of fixed-size signatures; much broken now 2015-01-26 12:22:26 +01:00
Christian Grothoff
d4506f8a04 support variable-size results 2015-01-26 11:04:46 +01:00
Christian Grothoff
ed51946442 more code refactoring to separate parsing, db and response generation nicely 2015-01-19 21:53:23 +01:00
Christian Grothoff
0430d6fb03 moving structs relevant for signatures into taler_signatures.h, splitting of private keys that are not in messages; moving test_hash_context to GNUnet 2015-01-09 18:18:59 +01:00
Christian Grothoff
f5e49d926a moving TALER_hash_context API to GNUnet, using slightly cleaner API as well 2015-01-09 17:26:02 +01:00
Christian Grothoff
09ecea9ea3 removing dead TALER_genkey() API call 2015-01-09 17:12:13 +01:00
Christian Grothoff
0b40e78027 stop exporting microhttpd_lib API 2015-01-09 17:10:38 +01:00
Christian Grothoff
ba38579c08 install taler headers 2015-01-08 19:32:53 +01:00
Christian Grothoff
57d1f08dbc -initial import for mint 2015-01-08 18:37:20 +01:00