Christian Grothoff
b93b9dd074
add support for batch signing in RSA
2022-11-13 14:46:43 +01:00
Christian Grothoff
f2eba7b8b7
implement TALER_CRYPTO_helper_rsa_batch_sign
2022-11-13 12:39:10 +01:00
Christian Grothoff
f8e9241a3d
fix #7427
2022-11-06 22:29:51 +01:00
752f102738
policy extensions and age restriction refactoring
...
- refactoring of extension-plugin-mechanism
- refactoring of age restriction extension
- added policy extensions plugin plumbing
- added DB schema and api
- policy_details
- policy_fulfillments
2022-11-04 12:18:16 +01:00
Christian Grothoff
a3dd7ad999
-ref bug
2022-11-03 22:19:41 +01:00
Christian Grothoff
77ebca5e9c
-ref bug
2022-11-03 22:14:46 +01:00
Christian Grothoff
481ffc1a0a
remove wad fee, kyc fee and kyc-timeout
2022-11-01 16:43:59 +01:00
Christian Grothoff
22357678a0
purse auditor helper theoretically complete (but DB logic still missing)
2022-11-01 15:15:35 +01:00
Christian Grothoff
28969f415e
-remove bogus tests
2022-10-22 00:07:00 +02:00
Christian Grothoff
518c7009e7
handle reserve open/close responses in reserve history in libtalerexchange
2022-10-15 22:03:55 +02:00
Christian Grothoff
38876c503f
-refactor DB for reserve history/status routines
2022-10-15 16:19:14 +02:00
Christian Grothoff
4a36ed7fbf
complete taler-exchange-httpd_reserves_open.c logic (first pass, still without DB logic or tests)
2022-10-02 22:47:28 +02:00
adfb7ffd0e
added benchmark tool for age restriction
2022-09-29 11:59:42 +02:00
Christian Grothoff
18a2fae3b5
add new signature functions for DD31
2022-09-18 17:36:35 +02:00
Christian Grothoff
b4b857abea
-misc minor fixes
2022-09-17 23:27:29 +02:00
Christian Grothoff
f9774ded37
enforce syntax of reserve_uri (typo)
2022-08-23 14:36:23 +02:00
Christian Grothoff
b231cc94df
enforce syntax of reserve_uri
2022-08-23 14:36:03 +02:00
Christian Grothoff
9ed99558e2
-fix clang compiler warnings
2022-08-22 22:45:41 +02:00
1e2fdea5a9
do not use illegal '+' in payment target type
2022-08-16 13:55:17 +02:00
Christian Grothoff
1009084e94
major rework of the KYC logic, making it more configurable, not complete, but tests pass again
2022-08-11 23:35:33 +02:00
Christian Grothoff
4724867794
-first pass at new KYC DB API
2022-08-05 13:32:27 +02:00
Christian Grothoff
6006b63c66
-set RD_ONLY flag
2022-08-01 11:02:25 +02:00
Christian Grothoff
c1b43de5b4
add offline signature to drain profits ( #4960 )
2022-07-29 09:21:38 +02:00
Thien-Thi Nguyen
8c2ee80ae8
rename param
...
The new name now matches the documentation and the header file.
* src/util/tv_age_restriction.c (age_mask_to_string):
Rename param from ‘m’ to ‘mask’; update all references.
2022-07-08 00:08:05 -04:00
38d7ca0871
-fixed doxygen errors
2022-07-07 11:59:06 +02:00
Christian Grothoff
75dbf20ced
-annotate bugs
2022-07-05 11:46:02 +02:00
Christian Grothoff
ff2eb4f3dd
-fix batch deposit uninit issue
2022-07-02 22:51:45 +02:00
Christian Grothoff
ded7f9ca18
-fix issue with missing signature over denomination and age restriction hash in purse deposit
2022-06-28 20:25:45 +02:00
Christian Grothoff
cd583ec030
-add FIXME
2022-06-28 17:21:10 +02:00
a55fc45126
-fix valgrind complaints
2022-06-26 17:40:10 +02:00
Christian Grothoff
7b62174d00
-fix typos
2022-06-26 17:09:30 +02:00
Christian Grothoff
fd9fc9f0cd
-fix misc doxygen warnings, code clean up
2022-06-26 17:08:17 +02:00
Christian Grothoff
8da74a6ca7
-more work on taler-helper-auditor-reserve p2p audits
2022-06-18 20:36:44 +02:00
Christian Grothoff
982b60c93c
-more minor bugfixes
2022-06-07 17:04:23 +02:00
Christian Grothoff
b9a30d29cb
-fix minor bugs
2022-06-07 15:02:16 +02:00
60f609135d
fixed typo
2022-06-05 14:46:26 +02:00
Christian Grothoff
a17781ba8d
-more work on p2p payments and tests thereof
2022-06-04 22:00:02 +02:00
Christian Grothoff
f86eead6d6
-log invalid URI
2022-05-31 14:56:34 +02:00
Christian Grothoff
d55b093de8
-fix reserve history, include in tests
2022-05-30 19:31:49 +02:00
Christian Grothoff
7b25787a4b
-generate 404 on non-existing accounts for fakebank, use payto://-URIs with receiver-name in tests
2022-05-30 16:31:24 +02:00
Christian Grothoff
7f902c0fc9
-sketch API for RSA parallel signing
2022-05-30 13:34:39 +02:00
Christian Grothoff
d40da21e90
add batch signing support to taler-exchange-secmod-rsa
2022-05-29 22:25:04 +02:00
Christian Grothoff
a509a91f92
-more reserve history fixes
2022-05-23 15:29:35 +02:00
Christian Grothoff
c471ae447b
-log where it failed
2022-05-21 01:39:59 +02:00
Sebastian
68b155aab5
missing plus sign for image data uris
2022-05-20 10:09:54 -03:00
Christian Grothoff
99a844e52e
check reserve balance after p2p merges
2022-05-09 13:25:10 +02:00
Christian Grothoff
d3a6388199
pass purse_fee to determine how purse creation is paid for
2022-05-08 11:37:37 +02:00
Christian Grothoff
5f6d5bc3fc
-online
2022-05-07 23:43:39 +02:00
Christian Grothoff
2d84d7f6dd
add function for purse status signing
2022-05-07 23:27:56 +02:00
Christian Grothoff
4199e4438d
rename function that is for the merchant signature to have merchant in the name
2022-05-07 23:21:27 +02:00
Christian Grothoff
31e554ad46
-remove FIXMEs
2022-05-02 20:53:29 +02:00
1bb992d777
-logging
2022-04-27 21:00:23 +02:00
Christian Grothoff
3e8c797bb7
-get p2p test to pass
2022-04-27 13:28:28 +02:00
Christian Grothoff
d623cab1a3
-work on p2p payments
2022-04-27 13:09:41 +02:00
9a05781ab3
-fix derivation, logging
2022-04-27 00:00:15 +02:00
17a00ef22d
age restriction: make seed a HashCode due to endianess and security level concerns
2022-04-26 23:34:14 +02:00
47e276e11a
-remove debug logging
2022-04-26 23:10:50 +02:00
be536de23c
various age restriction fixes, some of them half-baked
2022-04-26 23:10:12 +02:00
a92d3aae7b
-use uint32_t instead of uint8_t + padding for the age
2022-04-26 11:23:27 +02:00
f24fc18564
use htonl, not GNUNET_htonll
2022-04-26 01:50:31 +02:00
38fcca16c8
fix age attestation signature padding and endianess
2022-04-26 01:28:36 +02:00
Christian Grothoff
aedd2014ec
-misc p2p fixes
2022-04-24 15:29:58 +02:00
Christian Grothoff
345c141bad
-work on p2p payments
2022-04-23 20:50:27 +02:00
Christian Grothoff
cf358f9546
-uncrustify
2022-04-23 18:13:15 +02:00
Thien-Thi Nguyen
a72337a5f3
Add abstractions: TALER_exchange_deposit_{sign,verify}
...
This change also removes ‘struct TALER_DepositTrackPS’
from the public API.
* src/include/taler_signatures.h (struct TALER_DepositTrackPS): Delete.
* src/util/exchange_signatures.c (struct TALER_DepositTrackPS): New.
(TALER_exchange_deposit_sign): New func.
(TALER_exchange_deposit_verify): New func.
* src/include/taler_crypto_lib.h
(TALER_exchange_deposit_sign): New func decl.
(TALER_exchange_deposit_verify): New func decl.
* src/exchange/taler-exchange-httpd_deposits_get.c
(TEH_handler_deposits_get): Rework to use ‘TALER_exchange_deposit_verify’.
* src/lib/exchange_api_deposits_get.c
(TALER_EXCHANGE_deposits_get): Rework to use ‘taler_exchange_deposit_sign’.
2022-04-22 20:29:45 -04:00
31c545b9e8
-fixed tests for age restriction, now using correct seed
2022-04-22 15:15:57 +02:00
b84c88fc04
Fixed seed size for TALER_age_restriction_commit
...
Also, added src/util/tv_age_restriction.{c,json} for/as test vectors for
age restriction.
2022-04-21 14:27:29 +02:00
Christian Grothoff
4af1772f12
-work on create purse with merge
2022-04-20 23:07:44 +02:00
Thien-Thi Nguyen
509657bfef
Add abstraction: TALER_merchant_contract_sign
...
Additionally, this change removes ‘struct TALER_ProposalDataPS’
from the public API.
* src/include/taler_crypto_lib.h
(TALER_merchant_contract_sign): New func decl.
* src/include/taler_signatures.h
(struct TALER_ProposalDataPS): Delete.
* src/util/merchant_signatures.c
(struct TALER_ProposalDataPS): Move here from taler_signatures.h.
(TALER_merchant_contract_sign): New func.
2022-04-17 19:53:17 -04:00
Thien-Thi Nguyen
a7ad5a07e2
Add abstractions: TALER_merchant_pay_{sign,verify}
...
Additionally, this change removes ‘struct TALER_PaymentResponsePS’
from the public API.
* src/include/taler_crypto_lib.h
(TALER_merchant_pay_sign): New func decl.
(TALER_merchant_pay_verify): New func decl.
* src/include/taler_signatures.h
(struct TALER_PaymentResponsePS): Delete.
* src/util/merchant_signatures.c
(struct TALER_PaymentResponsePS): Move here from taler_signatures.h.
(TALER_merchant_pay_sign): New func.
(TALER_merchant_pay_verify): New func.
2022-04-17 04:53:17 -04:00
Christian Grothoff
b91a406525
-finish first implementaation of exchange_api_contracts_get.c
2022-04-11 19:22:30 +02:00
Christian Grothoff
c8c1005297
-add draft handler for purse merge client request
2022-04-11 15:34:45 +02:00
Christian Grothoff
72dd9514aa
-draft implementation of /purses//merge endpoint
2022-04-11 13:52:06 +02:00
Christian Grothoff
6f027fc130
add additinal signature
2022-04-02 17:25:18 +02:00
Christian Grothoff
caf66486e7
work on purse creation logic
2022-04-01 16:39:07 +02:00
Christian Grothoff
747ae5ef09
privatize more signature structs, simplify code
2022-03-31 12:37:39 +02:00
Christian Grothoff
6040c9ff0f
make struct private again
2022-03-30 01:36:52 +02:00
Sebastian
adc9dae4cc
make TALER_RefundConfirmationPS public
2022-03-29 14:12:45 -03:00
Christian Grothoff
074ea7502e
centralize exchange online signature logic
2022-03-29 15:21:49 +02:00
Christian Grothoff
3249687b2a
rename to avoid symbol conflict with musl
2022-03-28 18:18:08 +02:00
Christian Grothoff
a227ee6d1b
-first cut at contract encryption and decryption
2022-03-28 13:57:43 +02:00
Christian Grothoff
ee4077ef80
starting with purse creation client API
2022-03-28 13:19:40 +02:00
30985c0975
-rename variable
2022-03-28 12:34:14 +02:00
ccf2d69dfb
-fix leak in test_age_restriction.c
2022-03-28 12:33:41 +02:00
488d217381
-fix leaks in test_crypto.c
2022-03-28 11:17:49 +02:00
a2386abadb
[age restriction] progress 19/19 (final) - Use Edx25519 for crypto
...
We switch from EcDSA to Edx25519 for the underlying signature scheme.
Edx25519 is implemented in gnunet, starting with (gnunet-)commit
ce38d1f6c9bd7857a1c3bc2094a0ee9752b86c32.
2022-03-28 11:04:00 +02:00
Christian Grothoff
646c9ad061
fix leak
2022-03-27 05:02:21 +02:00
Christian Grothoff
c782dfe2aa
first draft of service API for p2p payments
2022-03-24 13:06:04 +01:00
Christian Grothoff
41399bc224
revise P2P signatures and signing schema to address recently discovered design concern resulting in the split of the purse key into purse-contract and purse-merge keys
2022-03-23 06:54:43 +01:00
Christian Grothoff
6505f69869
add one more p2p signature
2022-03-22 12:12:00 +01:00
Christian Grothoff
6868b78692
fix typo
2022-03-22 12:06:12 +01:00
Christian Grothoff
e200e86032
implement helper functions for p2p signatures, clean up existing signature logic
2022-03-22 02:33:51 +01:00
Christian Grothoff
1bb5a77c8d
add new reserve status/history signatures
2022-03-20 02:39:28 +01:00
Christian Grothoff
eac8b8c0da
-re-enable test-revocation.sh, works again
2022-03-17 15:06:58 +01:00
Christian Grothoff
12809b28ec
-misc fixes
2022-03-17 14:16:34 +01:00
cd5ee2338c
-ensure label has no zero bytes
2022-03-08 11:47:51 +01:00
Christian Grothoff
5fa977cc05
work on global fee structure
2022-03-05 15:13:07 +01:00
Christian Grothoff
7ff58c3d8f
refactor /wire to include logic to return the wad fee (for W2W payments)
2022-03-05 14:36:55 +01:00
Christian Grothoff
43f8ab6b48
add signing/verifying functions for global fees
2022-03-05 12:04:13 +01:00
Christian Grothoff
4835ddf60b
introduce sets for wire fees and global fees
2022-03-05 11:56:58 +01:00