commit 119fbe7dc369eee4b3dec94ced060a1548dea012
parent 657863cbfacb6e02fee41d39ada604262e66b2a2
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 18 Sep 2022 13:16:45 +0200
new attribute registry
Diffstat:
3 files changed, 100 insertions(+), 14 deletions(-)
diff --git a/gnu-taler-kyc-attributes/Makefile b/gnu-taler-kyc-attributes/Makefile
@@ -0,0 +1,6 @@
+all: check
+
+check: registry.rec
+ recfix --check registry.rec
+
+.PHONY: all check
diff --git a/gnu-taler-kyc-attributes/registry.rec b/gnu-taler-kyc-attributes/registry.rec
@@ -0,0 +1,66 @@
+# -*- mode: rec -*-
+#
+# Registry for GNU Taler attributes, as per Design document 31
+#
+%rec: TalerAttributes
+%key: Identifier
+%typedef: Identifier_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789:\.]*$/
+%type: Identifier Identifier_t
+%unique: Identifier
+%mandatory: Identifier
+%typedef: Description_t regexp |^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\(\)\.,;!"':#\/ -]*$|
+%type: Description Description_t
+%mandatory: Description
+%typedef: Category_t enum individual business both
+%type: Category Category_t
+%mandatory: Category
+%allowed: Contact
+%allowed: References
+%allowed: Comment
+%sort: Identifier Description Contact References
+
+
+Identifier: BUSINESS_NAME
+Description: Full legal name of the business.
+Category: business
+
+Identifier: BUSINESS_TAX_ID
+Description: Tax identifier of the business.
+Category: business
+Comment: Format may depend on the country of residence of the business.
+
+Identifier: FULL_NAME
+Description: Full legal name of an individual.
+Category: individual
+
+Identifier: CONTACT_EMAIL
+Description: E-mail address to contact the individual or business.
+Category: both
+Comment: Can be validated via E-mail with TAN.
+
+Identifier: CONTACT_PHONE
+Description: Phone number to contact the individual or business.
+Category: both
+Comment: Can be validated via SMS-TAN or phone call.
+
+Identifier: CONTACT_DNS_DOMAIN
+Description: DNS domain name owned by the individual or business.
+Category: both
+Comment: Can be validated by having the owner set an appropriate DNS TXT record.
+
+Identifier: CONTACT_WEB_DOMAIN
+Description: Web site owned by the individual or business.
+Category: both
+Comment: Can be validated by having the owner serve an appropriate well-known page.
+
+Identifier: ADDRESS_STREET
+Description: Street address (including house number) of the individual or business.
+Category: both
+
+Identifier: ADDRESS_CITY
+Description: Name of the city where the individual or business resides.
+Category: both
+
+Identifier: ADDRESS_COUNTRY
+Description: Name of the country where the individual or business resides.
+Category: both
diff --git a/gnunet-signatures/registry.rec b/gnunet-signatures/registry.rec
@@ -379,6 +379,10 @@ Name: EXCHANGE_PURSE_STATUS
Comment: Purpose for the state of a purse, signed by the exchange's signing key.
Package: GNU Taler
+Number: 1048
+Name: EXCHANGE_RESERVE_ATTEST_DETAILS
+Comment: Signature by which the exchange attests identity attributes of a particular reserve owner.
+Package: GNU Taler
#
# Auditor signatures
@@ -424,7 +428,7 @@ Package: GNU Taler
Number: 1200
Name: WALLET_RESERVE_WITHDRAW
-Comment: Signature where the reserve key confirms a withdraw request.
+Comment: Signature where the reserve key confirms a withdraw request. Signed with the reserve private key.
Package: GNU Taler
Number: 1201
@@ -434,17 +438,17 @@ Package: GNU Taler
Number: 1202
Name: WALLET_COIN_MELT
-Comment: Signature using a coin key confirming the melting of a coin.
+Comment: Signature using a coin key confirming the melting of a coin. Signed with the coin's private key.
Package: GNU Taler
Number: 1203
Name: WALLET_COIN_RECOUP
-Comment: Signature using a coin key requesting recoup.
+Comment: Signature using a coin key requesting recoup. Signed with the coin's private key.
Package: GNU Taler
Number: 1204
Name: WALLET_COIN_LINK
-Comment: Signature using a coin key authenticating link data.
+Comment: Signature using a coin key authenticating link data. Signed with the old coin's private key.
Package: GNU Taler
Number: 1205
@@ -454,7 +458,7 @@ Package: GNU Taler
Number: 1206
Name: WALLET_COIN_RECOUP_REFRESH
-Comment: Signature using a coin key requesting recoup-refresh.
+Comment: Signature using a coin key requesting recoup-refresh. Signed with the coin private key.
Package: GNU Taler
Number: 1207
@@ -464,47 +468,57 @@ Package: GNU Taler
Number: 1208
Name: WALLET_RESERVE_HISTORY
-Comment: Request full reserve history and pay for it.
+Comment: Request full reserve history and pay for it. Signed with the reserve private key.
Package: GNU Taler
Number: 1209
Name: WALLET_RESERVE_STATUS
-Comment: Request detailed account status (for free).
+Comment: Request detailed account status (for free). Signed with the reserve private key.
Package: GNU Taler
Number: 1210
Name: WALLET_PURSE_CREATE
-Comment: Request purse creation (without reserve).
+Comment: Request purse creation (without reserve). Signed by the purse private key.
Package: GNU Taler
Number: 1211
Name: WALLET_PURSE_DEPOSIT
-Comment: Request coin to be deposited into a purse.
+Comment: Request coin to be deposited into a purse. Signed with the coin private key.
Package: GNU Taler
Number: 1212
Name: WALLET_PURSE_STATUS
-Comment: Request purse status.
+Comment: Request purse status. Signed with the purse private key.
Package: GNU Taler
Number: 1213
Name: WALLET_PURSE_MERGE
-Comment: Request purse to be merged with a reserve (by purse).
+Comment: Request purse to be merged with a reserve. Signed with the purse private key.
Package: GNU Taler
Number: 1214
Name: WALLET_ACCOUNT_MERGE
-Comment: Request purse to be merged with a reserve (by account).
+Comment: Request purse to be merged with a reserve. Signed by the reserve private key.
Package: GNU Taler
Number: 1215
Name: WALLET_RESERVE_CLOSE
-Comment: Request account to be closed.
+Comment: Request account to be closed. Signed with the reserve private key.
Package: GNU Taler
Number: 1216
Name: WALLET_PURSE_ECONTRACT
-Comment: Associates encrypted contract with a purse.
+Comment: Associates encrypted contract with a purse. Signed with the purse private key.
+Package: GNU Taler
+
+Number: 1217
+Name: WALLET_RESERVE_OPEN
+Comment: Request reserve to be kept open. Signed with the reserve private key.
+Package: GNU Taler
+
+Number: 1218
+Name: WALLET_RESERVE_OPEN_DEPOSIT
+Comment: Request coin to be used to pay for reserve to be kept open. Signed with the coin private key.
Package: GNU Taler
#