Age | Commit message (Collapse) | Author |
|
- initialize age mask to zero
- drop default bitstring for age mask, use string instead
-remove default age mask bits, use string instead
-strdup
|
|
- 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.
|
|
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
|
|
- refactoring of extension-plugin-mechanism
- refactoring of age restriction extension
- added policy extensions plugin plumbing
- added DB schema and api
- policy_details
- policy_fulfillments
|
|
|
|
|
|
|
|
concerns
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also, added src/util/tv_age_restriction.{c,json} for/as test vectors for
age restriction.
|
|
|
|
We switch from EcDSA to Edx25519 for the underlying signature scheme.
Edx25519 is implemented in gnunet, starting with (gnunet-)commit
ce38d1f6c9bd7857a1c3bc2094a0ee9752b86c32.
|
|
|
|
|
|
- Unit-tests for commit, derive, attest and verify added, with multiple
combinations of minimum age and commited age.
- Fixed crypto implementation (eddsa -> ecdsa)
- Using now standard functionality from GNUNET:
GNUNET_CRYPTO_ecdsa_{private,public}_key_derive
All tests pass (unit tests in util/ and 'make check' in testing).
|
|
also: fix off-by-one in TALER_age_restriction_commit
|
|
- functions TALER_age_commitment_attest and TALER_age_commitment_verify
implemented.
- age restriction implementation moved into util/age_restriction.c
|