Christian Grothoff
2de2b6e3cf
-fix crypto test
2023-05-04 16:04:29 +02:00
Christian Grothoff
4a51b9a9a1
-fix bug
2023-02-21 14:52:44 +01:00
Christian Grothoff
c5ad98da98
write KYC attribute encryption logic
2022-12-31 15:10:35 +01:00
Christian Grothoff
5630deaca4
-fix includes in tests
2022-12-19 13:43:13 +01:00
Christian Grothoff
d623cab1a3
-work on p2p payments
2022-04-27 13:09:41 +02:00
31c545b9e8
-fixed tests for age restriction, now using correct seed
2022-04-22 15:15:57 +02:00
488d217381
-fix leaks in test_crypto.c
2022-03-28 11:17:49 +02:00
Christian Grothoff
646c9ad061
fix leak
2022-03-27 05:02:21 +02:00
10d7d93ad8
-tests now with age restriction
2022-03-02 11:59:21 +01:00
Christian Grothoff
544ba42f44
-big renaming of structs for consistent naming with P suffix
2022-02-21 00:23:23 +01:00
Christian Grothoff
19624fd776
-ensure different HKDF is used in melt vs. withdraw
2022-02-20 21:51:46 +01:00
Christian Grothoff
668342cd41
-fix test_crypto FTBFS
2022-02-17 15:23:05 +01:00
8bdf6ab19d
[age restriction] progress 14/n - withdraw and deposit
...
Age restriction support for
- withdraw is done and tested
- deposit is done and tested
TODOs:
- melt/refresh/reveal
- link
------
Added functions
- TALER_age_restriction_commit
- TALER_age_commitment_derive
- TALER_age_commitment_hash
- TALER_age_restriction_commitment_free_inside
- Hash of age commitment passed around API boundaries
Exchangedb adjustments for denominations
- all prepared statements re: denominations now handle age_mask
- signature parameters adjusted
Hash and signature verification of /keys adjusted
- Hashes of (normal) denominations and age-restricted denominations are
calculated seperately
- The hash of the age-restricted ones will then be added to the other
hash
- The total hash is signed/verified
Tests for withdraw with age restriction added
- TALER_EXCHANGE_DenomPublickey now carries age_mask
- TALER_TESTING_cmd_withdraw_amount* takes age parameter
- TALER_TESTING_find_pk takes boolean age_restricted
- WithdrawState carries age_commitment and its hash
- withdraw_run derives new age commitment, if applicable
- Added age parameter to testing (13 as example)
Various Fixes and changes
- Fixes of post handler for /management/extensions
- Fixes for offline tool extensions signing
- Slight refactoring of extensions
- Age restriction extension simplified
- config is now global to extension
- added global TEH_age_restriction_enabled and TEH_age_mask in
taler-exchange-httpd
- helper functions and macros introduced
2022-02-16 22:01:05 +01:00
Christian Grothoff
94a5359494
-address misc. fixmes
2022-02-12 00:52:19 +01:00
Christian Grothoff
4472cbaf9d
-simplify structures
2022-02-11 11:55:59 +01:00
Christian Grothoff
0995bdd1d0
-get tests to pass
2022-02-11 09:36:01 +01:00
Christian Grothoff
d559610da7
-poison
2022-02-09 10:38:02 +01:00
Christian Grothoff
c7c0beedd5
-rename fest
2022-02-07 12:35:00 +01:00
Christian Grothoff
fb9ba5b1d2
-rename fest
2022-02-07 12:33:35 +01:00
Christian Grothoff
d850ed9ca1
-fix test_crypto
2022-02-07 11:23:53 +01:00
Christian Grothoff
3ed39955b6
-fix test_crypto ftbfs
2022-02-07 10:58:23 +01:00
Gian Demarmels
b280b1db04
fix src/util
2022-02-05 23:12:21 +01:00
Lucien Heuzeveldt
8d85c8b5b6
implement feedback
2022-02-04 15:37:30 +01:00
Gian Demarmels
5b7e8f9ac5
refactoring
2022-02-04 15:36:11 +01:00
Gian Demarmels
9c2aefaa51
removed varargs
2022-02-04 15:36:08 +01:00
Lucien Heuzeveldt
cf4fd36cc4
remove varargs in cs crypto implementation
2022-02-04 15:33:09 +01:00
Gian Demarmels
ca247f6f58
fixed CS signatures and cleanup/refactoring
2022-02-04 15:33:09 +01:00
Gian Demarmels
db9b84970d
add sign and verify implementation
2022-02-04 15:31:50 +01:00
Gian Demarmels
5d2157a8f6
sign_blinded implementation
2022-02-04 15:31:49 +01:00
Gian Demarmels
f1ec1e70a0
implemented planchet_prepare for CS
2022-02-04 15:31:49 +01:00
Gian Demarmels
a02ab8f81b
added CS get R functionality and planchet setup
2022-02-04 15:31:48 +01:00
Gian Demarmels
385eb51e93
CS planchet create and withdraw create
2022-02-04 15:31:48 +01:00
Gian Demarmels
f3fb7c29e6
added CS data structures, implemented CS keypair
2022-02-04 15:31:45 +01:00
Christian Grothoff
2549fb6dc7
more RSA abstraction work
2021-11-05 17:19:47 +01:00
Christian Grothoff
32da809fd6
abstract denomination keys a bit more
2021-11-05 14:00:10 +01:00
Christian Grothoff
b1197c16a4
-fix tests
2021-10-31 18:01:19 +01:00
Christian Grothoff
57c334fb1f
fix remaining libtalerutil tests FTBFS issues
2021-10-27 09:23:12 +02:00
Christian Grothoff
acbadd5c6e
-modify C API to future-proof it for returning more details as required for KYC implementation
2021-10-13 18:52:59 +02:00
Christian Grothoff
82b6067de6
more unit crypto tests
2020-07-11 17:26:02 +02:00
Christian Grothoff
f934a81d49
fix ftbfs
2020-04-17 14:19:12 +02:00
Christian Grothoff
44272bf1ce
adapations to GNUnet API change
2020-04-11 21:06:30 +02:00
Christian Grothoff
17cfbced1d
fix inconsistency in field naming
2020-03-27 17:32:39 +01:00
Christian Grothoff
d22a52cc7a
fix copyright headers as per CA
2020-01-19 19:21:58 +01:00
Christian Grothoff
385b3e77df
tighten formatting rules
2019-10-31 12:59:50 +01:00
Florian Dold
eb55997084
re-format code
2019-08-25 16:18:24 +02:00
ng0
d55c2acbd5
refactor util/test_crypto.c for GNUNET_memcmp
2019-04-08 14:58:21 +00: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
745719dbc1
first half of changing refresh protocol to derive all key data from DH
2016-08-05 16:08:19 +02:00