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