gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: added age restriction relevant field


From: gnunet
Subject: [taler-docs] branch master updated: added age restriction relevant fields to p2p
Date: Tue, 28 Jun 2022 14:41:38 +0200

This is an automated email from the git hooks/post-receive script.

oec pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new cfa9393  added age restriction relevant fields to p2p
cfa9393 is described below

commit cfa9393bc79fa798c71a8b45d3ec5d7cc69ba813
Author: Özgür Kesim <oec-taler@kesim.org>
AuthorDate: Tue Jun 28 14:41:36 2022 +0200

    added age restriction relevant fields to p2p
---
 core/api-exchange.rst | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index e0ae750..0a18335 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -3428,10 +3428,11 @@ Wallet-to-wallet transfers
       // Exchange's unblinded RSA signature of the coin.
       ub_sig: DenominationSignature;
 
-      // Age commitment hash for the coin, if the denomination is 
age-restricted.
-      h_age_commitment?: HashCode;
+      // Age commitment for the coin, if the denomination is age-restricted.
+      age_commitment?: AgeCommitment;
 
-      // FIXME-Oec: proof of age is missing.
+      // Attestation for the minimum age, if the denomination is 
age-restricted.
+      attest?: Attestation;
 
       // Signature over `TALER_PurseDepositSignaturePS`
       // of purpose ``TALER_SIGNATURE_WALLET_PURSE_DEPOSIT``
@@ -3813,10 +3814,11 @@ Wallet-to-wallet transfers
       // Exchange's unblinded RSA signature of the coin.
       ub_sig: DenominationSignature;
 
-      // Age commitment hash for the coin, if the denomination is 
age-restricted.
-      h_age_commitment?: HashCode;
+      // Age commitment for the coin, if the denomination is age-restricted.
+      age_commitment?: AgeCommitment;
 
-      // FIXME-Oec: proof of age is missing.
+      // Attestation for the minimum age, if the denomination is 
age-restricted.
+      attest?: Attestation;
 
       // Signature over `TALER_PurseDepositSignaturePS`
       // of purpose ``TALER_SIGNATURE_WALLET_PURSE_DEPOSIT``
@@ -3862,6 +3864,17 @@ Wallet-to-wallet transfers
 
     }
 
+  .. ts:def:: AgeCommitment
+
+     // AgeCommitment is an array of public keys, one for each age group of the
+     // age-restricted denomination.
+     type AgeCommitment = []Edx25519PublicKey;
+
+  .. ts:def:: Attestation
+
+     // An attestation for a minimum age is an Edx25519 signature of the age
+     // with purpose ``TALER_SIGNATURE_WALLET_AGE_ATTESTATION``.
+     type Attestation = string;
 
 .. _exchange_wads:
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]