Christian Grothoff
6a483b51ec
fix alignment issue, ensure we hash over packed structure to avoid non-determinism
2023-07-10 16:34:01 +02:00
3024dc9fa5
fix memory leaks reported by valgrind
2023-07-10 10:23:52 +02:00
40629e8992
[age-withdraw] added library function for age-withdraw
...
- Added TALER_EXCHANGE_age_withdraw
- Also: Change TALER_EXCHANGE_batch_withdraw and related functions to
use GNUNET_CURL_ctx, TALER_EXCHANGE_keys and const char *echange_url
2023-07-03 16:18:40 +02:00
9c3ddcbc18
added TALER_adult_age(struct TALER_AgeMask *mask)
2023-06-27 18:57:05 +02:00
537206e49f
-update author
2023-06-27 18:56:27 +02:00
145310e20e
added birthdate parser
2023-06-27 09:45:50 +02:00
ddedf03a81
[age-withdraw] age-withdraw commit- and reveal-handlers implemented, 12/n
...
The handlers for the commit- and reveal-phases of the age-withdraw
HTTP-endpoints are implemented, yet not active.
Still missing:
- support for age-withdraw is missing in lib/.
- tests
2023-06-26 00:01:31 +02:00
Christian Grothoff
a2dde02b64
major libtalertesting API refactoring, including no longer having taler-specific logic in the test engine core
2023-06-07 23:11:05 +02:00
Christian Grothoff
8cc1edfe0a
work on cleaning up benchmark logic
2023-06-05 00:24:01 +02:00
Christian Grothoff
e371d76cfe
add KYC_AML_TRIGGER option (not implemented)
2023-05-16 14:17:33 +02:00
Christian Grothoff
ef2059c9df
allow '#'
2023-05-14 12:12:49 +02:00
Christian Grothoff
b7d1ca4cd9
strcasecmp
2023-05-13 20:37:58 +02:00
Christian Grothoff
7899bc5621
externalize persona JSON conversion logic, expand with file download
2023-05-11 01:18:24 +02:00
Christian Grothoff
b15713f42e
add helper logic for JSON2JSON conversion
2023-05-10 22:09:47 +02:00
Christian Grothoff
4954963405
ensure amounts are in upper-case
2023-05-10 09:13:09 +02:00
Christian Grothoff
cc34502ac1
-fix TOTP calculation
2023-05-10 01:13:45 +02:00
Christian Grothoff
c014acf3c4
always use GNUNET_memcpy
2023-05-10 01:01:37 +02:00
Christian Grothoff
1cf58e8ff8
-fix warning
2023-05-10 00:02:52 +02:00
Christian Grothoff
4e79967f9b
-consistency
2023-05-09 23:53:02 +02:00
dc5b0fb0d3
Fix age mask parsing from config
...
- initialize age mask to zero
- drop default bitstring for age mask, use string instead
-remove default age mask bits, use string instead
-strdup
2023-05-09 21:45:59 +02:00
Christian Grothoff
2de2b6e3cf
-fix crypto test
2023-05-04 16:04:29 +02:00
Christian Grothoff
4267f1d762
include 0-terminator when hashing
2023-05-02 17:32:26 +02:00
Christian Grothoff
ffd4057c61
use same canonicalization of JSON as for contract hashes when doing normal JSON hashing
2023-05-02 17:29:41 +02:00
Christian Grothoff
75f75c4a51
breaking protocol changes towards fixing #7810 (incomplete, taler-exchange-offline still unfinished)
2023-05-01 22:34:35 +02:00
Christian Grothoff
979ec38ec4
left-pad TOTP code with 0s
2023-04-02 14:12:13 +02:00
838f6b7f1d
-fix comments for doxygen
2023-03-13 09:17:44 +01:00
2cca5dff2a
-typos
2023-03-13 09:08:22 +01:00
a2c70ff0c8
-typos
2023-03-13 08:53:16 +01:00
187ae6f8a2
WIP: age-withdraw, continue verify_commitment_and_max_age, 7/n
...
- coin, blinding, nonce and age restriction now derived from
TALER_PlanchetMasterSecretP
- use max_age instead than max_age_group as argument
- Also, docs updated in other repo.
2023-03-13 00:31:49 +01:00
9c66f27034
WiP: age-withdraw, added TALER_age_restriction_commit_from_base, 6/n
...
Added TALER_age_restriction_commit_from_base in util/age_restriction.c,
to create a age commitment and proof from a coin's private key as
defined in
https://docs.taler.net/core/api-exchange.html#withdraw-with-age-restriction
2023-03-12 17:21:33 +01:00
e3d5672cbd
simplify hash generation of age commitment
2023-03-11 11:48:44 +01:00
5608a73c00
-simplify zero-check for age-commitment hash
2023-03-07 11:15:24 +01:00
Christian Grothoff
2ad12de668
-fix FTBFS and other bugs
2023-03-04 18:19:18 +01:00
priscilla
263ebf00fc
totp update function
2023-03-03 05:20:40 -05:00
priscilla
b46c03b2c9
totp algorithm
2023-03-02 09:55:24 -05:00
b4128c2c2a
WiP: age-withdraw implementation, part 1/n
...
Commit phase of the age-withdraw protocol implemented, according to
https://docs.taler.net/core/api-exchange.html#withdraw-with-age-restriction
2023-03-01 11:11:46 +01:00
Christian Grothoff
4a51b9a9a1
-fix bug
2023-02-21 14:52:44 +01:00
Christian Grothoff
7da69142b4
-misc minor bugfixes
2023-02-21 14:44:31 +01:00
Christian Grothoff
95bd24916e
skeleton logic for POS confirmation
2023-02-21 12:57:33 +01:00
Christian Grothoff
b43cf6f97f
-fix comment
2023-02-20 16:59:12 +01:00
Christian Grothoff
afe3f70d33
begin API change to allow AML officers to trigger KYC process
2023-02-14 14:26:00 +01:00
Christian Grothoff
e469e6698e
start work on AML decision query API
2023-02-01 17:00:51 +01:00
Christian Grothoff
59716ffdc4
add logic to store attributes
2023-01-27 16:09:25 +01:00
Christian Grothoff
4f0d85935f
-crypto for AML decision signatures
2023-01-01 18:36:54 +01:00
Christian Grothoff
c5ad98da98
write KYC attribute encryption logic
2022-12-31 15:10:35 +01:00
Christian Grothoff
26aa9d985e
expand DB API with AML functions, fix purse refund calculations in libtalerexchange
2022-12-29 11:48:57 +01:00
Christian Grothoff
8d0bf81801
-new crypto functions
2022-12-27 11:49:41 +01:00
Christian Grothoff
66d78c73e4
-doxygen fixes
2022-12-27 09:13:48 +01:00
Christian Grothoff
5630deaca4
-fix includes in tests
2022-12-19 13:43:13 +01:00
Christian Grothoff
d1c160d1b9
properly handle GONE case on purse deposit
2022-12-09 13:33:57 +01:00