aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-09-18 13:16:45 +0200
committerChristian Grothoff <christian@grothoff.org>2022-09-18 13:16:52 +0200
commit119fbe7dc369eee4b3dec94ced060a1548dea012 (patch)
tree5acdaa90c9c51cd56f3f9d3b1d2b362a948ac64e
parent657863cbfacb6e02fee41d39ada604262e66b2a2 (diff)
downloadgana-119fbe7dc369eee4b3dec94ced060a1548dea012.tar.gz
gana-119fbe7dc369eee4b3dec94ced060a1548dea012.zip
new attribute registry
-rw-r--r--gnu-taler-kyc-attributes/Makefile6
-rw-r--r--gnu-taler-kyc-attributes/registry.rec66
-rw-r--r--gnunet-signatures/registry.rec42
3 files changed, 100 insertions, 14 deletions
diff --git a/gnu-taler-kyc-attributes/Makefile b/gnu-taler-kyc-attributes/Makefile
new file mode 100644
index 0000000..edb88bb
--- /dev/null
+++ b/gnu-taler-kyc-attributes/Makefile
@@ -0,0 +1,6 @@
1all: check
2
3check: registry.rec
4 recfix --check registry.rec
5
6.PHONY: all check
diff --git a/gnu-taler-kyc-attributes/registry.rec b/gnu-taler-kyc-attributes/registry.rec
new file mode 100644
index 0000000..af71f4c
--- /dev/null
+++ b/gnu-taler-kyc-attributes/registry.rec
@@ -0,0 +1,66 @@
1# -*- mode: rec -*-
2#
3# Registry for GNU Taler attributes, as per Design document 31
4#
5%rec: TalerAttributes
6%key: Identifier
7%typedef: Identifier_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789:\.]*$/
8%type: Identifier Identifier_t
9%unique: Identifier
10%mandatory: Identifier
11%typedef: Description_t regexp |^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\(\)\.,;!"':#\/ -]*$|
12%type: Description Description_t
13%mandatory: Description
14%typedef: Category_t enum individual business both
15%type: Category Category_t
16%mandatory: Category
17%allowed: Contact
18%allowed: References
19%allowed: Comment
20%sort: Identifier Description Contact References
21
22
23Identifier: BUSINESS_NAME
24Description: Full legal name of the business.
25Category: business
26
27Identifier: BUSINESS_TAX_ID
28Description: Tax identifier of the business.
29Category: business
30Comment: Format may depend on the country of residence of the business.
31
32Identifier: FULL_NAME
33Description: Full legal name of an individual.
34Category: individual
35
36Identifier: CONTACT_EMAIL
37Description: E-mail address to contact the individual or business.
38Category: both
39Comment: Can be validated via E-mail with TAN.
40
41Identifier: CONTACT_PHONE
42Description: Phone number to contact the individual or business.
43Category: both
44Comment: Can be validated via SMS-TAN or phone call.
45
46Identifier: CONTACT_DNS_DOMAIN
47Description: DNS domain name owned by the individual or business.
48Category: both
49Comment: Can be validated by having the owner set an appropriate DNS TXT record.
50
51Identifier: CONTACT_WEB_DOMAIN
52Description: Web site owned by the individual or business.
53Category: both
54Comment: Can be validated by having the owner serve an appropriate well-known page.
55
56Identifier: ADDRESS_STREET
57Description: Street address (including house number) of the individual or business.
58Category: both
59
60Identifier: ADDRESS_CITY
61Description: Name of the city where the individual or business resides.
62Category: both
63
64Identifier: ADDRESS_COUNTRY
65Description: Name of the country where the individual or business resides.
66Category: both
diff --git a/gnunet-signatures/registry.rec b/gnunet-signatures/registry.rec
index 76d89a2..eeef3c8 100644
--- a/gnunet-signatures/registry.rec
+++ b/gnunet-signatures/registry.rec
@@ -379,6 +379,10 @@ Name: EXCHANGE_PURSE_STATUS
379Comment: Purpose for the state of a purse, signed by the exchange's signing key. 379Comment: Purpose for the state of a purse, signed by the exchange's signing key.
380Package: GNU Taler 380Package: GNU Taler
381 381
382Number: 1048
383Name: EXCHANGE_RESERVE_ATTEST_DETAILS
384Comment: Signature by which the exchange attests identity attributes of a particular reserve owner.
385Package: GNU Taler
382 386
383# 387#
384# Auditor signatures 388# Auditor signatures
@@ -424,7 +428,7 @@ Package: GNU Taler
424 428
425Number: 1200 429Number: 1200
426Name: WALLET_RESERVE_WITHDRAW 430Name: WALLET_RESERVE_WITHDRAW
427Comment: Signature where the reserve key confirms a withdraw request. 431Comment: Signature where the reserve key confirms a withdraw request. Signed with the reserve private key.
428Package: GNU Taler 432Package: GNU Taler
429 433
430Number: 1201 434Number: 1201
@@ -434,17 +438,17 @@ Package: GNU Taler
434 438
435Number: 1202 439Number: 1202
436Name: WALLET_COIN_MELT 440Name: WALLET_COIN_MELT
437Comment: Signature using a coin key confirming the melting of a coin. 441Comment: Signature using a coin key confirming the melting of a coin. Signed with the coin's private key.
438Package: GNU Taler 442Package: GNU Taler
439 443
440Number: 1203 444Number: 1203
441Name: WALLET_COIN_RECOUP 445Name: WALLET_COIN_RECOUP
442Comment: Signature using a coin key requesting recoup. 446Comment: Signature using a coin key requesting recoup. Signed with the coin's private key.
443Package: GNU Taler 447Package: GNU Taler
444 448
445Number: 1204 449Number: 1204
446Name: WALLET_COIN_LINK 450Name: WALLET_COIN_LINK
447Comment: Signature using a coin key authenticating link data. 451Comment: Signature using a coin key authenticating link data. Signed with the old coin's private key.
448Package: GNU Taler 452Package: GNU Taler
449 453
450Number: 1205 454Number: 1205
@@ -454,7 +458,7 @@ Package: GNU Taler
454 458
455Number: 1206 459Number: 1206
456Name: WALLET_COIN_RECOUP_REFRESH 460Name: WALLET_COIN_RECOUP_REFRESH
457Comment: Signature using a coin key requesting recoup-refresh. 461Comment: Signature using a coin key requesting recoup-refresh. Signed with the coin private key.
458Package: GNU Taler 462Package: GNU Taler
459 463
460Number: 1207 464Number: 1207
@@ -464,47 +468,57 @@ Package: GNU Taler
464 468
465Number: 1208 469Number: 1208
466Name: WALLET_RESERVE_HISTORY 470Name: WALLET_RESERVE_HISTORY
467Comment: Request full reserve history and pay for it. 471Comment: Request full reserve history and pay for it. Signed with the reserve private key.
468Package: GNU Taler 472Package: GNU Taler
469 473
470Number: 1209 474Number: 1209
471Name: WALLET_RESERVE_STATUS 475Name: WALLET_RESERVE_STATUS
472Comment: Request detailed account status (for free). 476Comment: Request detailed account status (for free). Signed with the reserve private key.
473Package: GNU Taler 477Package: GNU Taler
474 478
475Number: 1210 479Number: 1210
476Name: WALLET_PURSE_CREATE 480Name: WALLET_PURSE_CREATE
477Comment: Request purse creation (without reserve). 481Comment: Request purse creation (without reserve). Signed by the purse private key.
478Package: GNU Taler 482Package: GNU Taler
479 483
480Number: 1211 484Number: 1211
481Name: WALLET_PURSE_DEPOSIT 485Name: WALLET_PURSE_DEPOSIT
482Comment: Request coin to be deposited into a purse. 486Comment: Request coin to be deposited into a purse. Signed with the coin private key.
483Package: GNU Taler 487Package: GNU Taler
484 488
485Number: 1212 489Number: 1212
486Name: WALLET_PURSE_STATUS 490Name: WALLET_PURSE_STATUS
487Comment: Request purse status. 491Comment: Request purse status. Signed with the purse private key.
488Package: GNU Taler 492Package: GNU Taler
489 493
490Number: 1213 494Number: 1213
491Name: WALLET_PURSE_MERGE 495Name: WALLET_PURSE_MERGE
492Comment: Request purse to be merged with a reserve (by purse). 496Comment: Request purse to be merged with a reserve. Signed with the purse private key.
493Package: GNU Taler 497Package: GNU Taler
494 498
495Number: 1214 499Number: 1214
496Name: WALLET_ACCOUNT_MERGE 500Name: WALLET_ACCOUNT_MERGE
497Comment: Request purse to be merged with a reserve (by account). 501Comment: Request purse to be merged with a reserve. Signed by the reserve private key.
498Package: GNU Taler 502Package: GNU Taler
499 503
500Number: 1215 504Number: 1215
501Name: WALLET_RESERVE_CLOSE 505Name: WALLET_RESERVE_CLOSE
502Comment: Request account to be closed. 506Comment: Request account to be closed. Signed with the reserve private key.
503Package: GNU Taler 507Package: GNU Taler
504 508
505Number: 1216 509Number: 1216
506Name: WALLET_PURSE_ECONTRACT 510Name: WALLET_PURSE_ECONTRACT
507Comment: Associates encrypted contract with a purse. 511Comment: Associates encrypted contract with a purse. Signed with the purse private key.
512Package: GNU Taler
513
514Number: 1217
515Name: WALLET_RESERVE_OPEN
516Comment: Request reserve to be kept open. Signed with the reserve private key.
517Package: GNU Taler
518
519Number: 1218
520Name: WALLET_RESERVE_OPEN_DEPOSIT
521Comment: Request coin to be used to pay for reserve to be kept open. Signed with the coin private key.
508Package: GNU Taler 522Package: GNU Taler
509 523
510# 524#