diff options
-rw-r--r-- | gnu-name-system-record-types/Makefile | 6 | ||||
-rw-r--r-- | gnu-name-system-record-types/h.header | 11 | ||||
-rw-r--r-- | gnu-name-system-record-types/registry.rec | 34 | ||||
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 10 |
4 files changed, 42 insertions, 19 deletions
diff --git a/gnu-name-system-record-types/Makefile b/gnu-name-system-record-types/Makefile index 2d0eb95..245f48b 100644 --- a/gnu-name-system-record-types/Makefile +++ b/gnu-name-system-record-types/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | FILES=gnu-name-system-record-types.h | 1 | FILES=gnu_name_system_record_types.h |
2 | all: check $(FILES) | 2 | all: check $(FILES) |
3 | 3 | ||
4 | check: | 4 | check: |
@@ -10,10 +10,10 @@ distclean: | |||
10 | clean: | 10 | clean: |
11 | rm -f $(FILES) *.tmp | 11 | rm -f $(FILES) *.tmp |
12 | 12 | ||
13 | gnu-name-system-record-types.h.tmp: registry.rec h.template | 13 | gnu_name_system_record_types.h.tmp: registry.rec h.template |
14 | ../format.sh h.template < registry.rec > $@ | 14 | ../format.sh h.template < registry.rec > $@ |
15 | 15 | ||
16 | gnu-name-system-record-types.h: h.header gnu-name-system-record-types.h.tmp h.footer | 16 | gnu_name_system_record_types.h: h.header gnu_name_system_record_types.h.tmp h.footer |
17 | cat $^ > $@ | 17 | cat $^ > $@ |
18 | 18 | ||
19 | .PHONY: check clean distclean | 19 | .PHONY: check clean distclean |
diff --git a/gnu-name-system-record-types/h.header b/gnu-name-system-record-types/h.header index fb52945..109e6f4 100644 --- a/gnu-name-system-record-types/h.header +++ b/gnu-name-system-record-types/h.header | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet | 2 | This file is part of GNUnet |
3 | Copyright (C) 2012-2020 GNUnet e.V. | 3 | Copyright (C) 2012-2021 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software: you can redistribute it and/or modify it | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | under the terms of the GNU Affero General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
@@ -20,6 +20,15 @@ | |||
20 | #ifndef GNU_NAME_SYSTEM_RECORD_TYPES_H | 20 | #ifndef GNU_NAME_SYSTEM_RECORD_TYPES_H |
21 | #define GNU_NAME_SYSTEM_RECORD_TYPES_H | 21 | #define GNU_NAME_SYSTEM_RECORD_TYPES_H |
22 | 22 | ||
23 | /** | ||
24 | * WARNING: | ||
25 | * This header is generated! | ||
26 | * In order to add GNS record types, you must register | ||
27 | * them in GANA, and then use the header generation script | ||
28 | * to create an update of this file. You may then replace this | ||
29 | * file with the update. | ||
30 | */ | ||
31 | |||
23 | #ifdef __cplusplus | 32 | #ifdef __cplusplus |
24 | extern "C" { | 33 | extern "C" { |
25 | #if 0 /* keep Emacsens' auto-indent happy */ | 34 | #if 0 /* keep Emacsens' auto-indent happy */ |
diff --git a/gnu-name-system-record-types/registry.rec b/gnu-name-system-record-types/registry.rec index 74cf1b6..14f3f24 100644 --- a/gnu-name-system-record-types/registry.rec +++ b/gnu-name-system-record-types/registry.rec | |||
@@ -4,7 +4,7 @@ | |||
4 | # | 4 | # |
5 | 5 | ||
6 | %rec: RecordType | 6 | %rec: RecordType |
7 | %key: Number | 7 | %key: Number |
8 | %type: Number int | 8 | %type: Number int |
9 | %mandatory: Number | 9 | %mandatory: Number |
10 | %typedef: Name_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-]*$/ | 10 | %typedef: Name_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-]*$/ |
@@ -68,12 +68,12 @@ Contact: schanzen@gnunet.org | |||
68 | 68 | ||
69 | Number: 65548 | 69 | Number: 65548 |
70 | Name: DELEGATE | 70 | Name: DELEGATE |
71 | Comment: for policies | 71 | Comment: For ABD policies |
72 | Contact: schanzen@gnunet.org | 72 | Contact: schanzen@gnunet.org |
73 | 73 | ||
74 | Number: 65549 | 74 | Number: 65549 |
75 | Name: ATTRIBUTE | 75 | Name: ATTRIBUTE |
76 | Comment: for reverse lookups | 76 | Comment: For ABD reverse lookups |
77 | Contact: schanzen@gnunet.org | 77 | Contact: schanzen@gnunet.org |
78 | 78 | ||
79 | Number: 65550 | 79 | Number: 65550 |
@@ -81,28 +81,32 @@ Name: RECLAIM_ATTRIBUTE_REF | |||
81 | Comment: for reclaim records | 81 | Comment: for reclaim records |
82 | Contact: schanzen@gnunet.org | 82 | Contact: schanzen@gnunet.org |
83 | 83 | ||
84 | Number: 65551 | 84 | #Number: 65551 |
85 | Name: RECLAIM_MASTER | 85 | #Name: |
86 | Comment: for RECLAIM master | 86 | #Comment: |
87 | Contact: schanzen@gnunet.org | 87 | #Contact: |
88 | 88 | ||
89 | Number: 65552 | 89 | Number: 65552 |
90 | Name: RECLAIM_TICKET | 90 | Name: RECLAIM_OIDC_CLIENT |
91 | Comment: for reclaimOIDC clients | 91 | Comment: For reclaim OIDC client names. |
92 | Contact: schanzen@gnunet.org | 92 | Contact: schanzen@gnunet.org |
93 | 93 | ||
94 | Number: 65553 | 94 | Number: 65553 |
95 | Name: RECLAIM_OIDC_CLIENT | 95 | Name: RECLAIM_OIDC_REDIRECT |
96 | Comment: for reclaim OIDC redirect URIs | 96 | Comment: Used reclaimID OIDC client redirect URIs. |
97 | Contact: schanzen@gnunet.org | 97 | Contact: schanzen@gnunet.org |
98 | 98 | ||
99 | |||
99 | Number: 65554 | 100 | Number: 65554 |
100 | Name: RECLAIM_ATTESTATION | 101 | Name: RECLAIM_CREDENTIAL |
101 | Comment: for reclaim attestation | 102 | Comment: Record type for an attribute attestation (e.g. JWT). |
102 | Contact: schanzen@gnunet.org | 103 | Contact: schanzen@gnunet.org |
103 | 104 | ||
104 | Number: 65555 | 105 | Number: 65555 |
105 | Name: RECLAIM_ATTESTATION_REF | 106 | Name: RECLAIM_PRESENTATION |
106 | Comment: for attestation reference in a ticket | 107 | Comment: Record type for a presentation of a credential. |
107 | Contact: schanzen@gnunet.org | 108 | Contact: schanzen@gnunet.org |
108 | 109 | ||
110 | Number: 65556 | ||
111 | Name: EDKEY | ||
112 | Comment: Record type for EDKEY zone delegations. | ||
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec index 841b4ca..e38942a 100644 --- a/gnu-taler-error-codes/registry.rec +++ b/gnu-taler-error-codes/registry.rec | |||
@@ -1109,6 +1109,16 @@ Name: MERCHANT_PRIVATE_POST_INSTANCES_ALREADY_EXISTS | |||
1109 | Description: The merchant backend cannot create an instance under the given identifier as one already exists. Use PATCH to modify the existing entry. | 1109 | Description: The merchant backend cannot create an instance under the given identifier as one already exists. Use PATCH to modify the existing entry. |
1110 | HttpStatus: 409 | 1110 | HttpStatus: 409 |
1111 | 1111 | ||
1112 | Value: 2601 | ||
1113 | Name: MERCHANT_PRIVATE_POST_INSTANCES_BAD_AUTH | ||
1114 | Description: The merchant backend cannot create an instance because the authentication configuration field is malformed. | ||
1115 | HttpStatus: 400 | ||
1116 | |||
1117 | Value: 2602 | ||
1118 | Name: MERCHANT_PRIVATE_POST_INSTANCE_AUTH_BAD_AUTH | ||
1119 | Description: The merchant backend cannot update an instance's authentication settings because the provided authentication settings are malformed. | ||
1120 | HttpStatus: 400 | ||
1121 | |||
1112 | 1122 | ||
1113 | # 2650-2699: product operations | 1123 | # 2650-2699: product operations |
1114 | 1124 | ||