diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-01-04 20:43:08 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-01-04 20:43:08 +0100 |
commit | ddec950fc3ed5ac6d574564fed46d875c5c7b382 (patch) | |
tree | d71275e52dcfbf95ca9695e2c6334b422d8ea7e8 | |
parent | a5c4bbef1fc94e4c5fd5b97032eb4dafa3b25632 (diff) | |
download | gnunet-ddec950fc3ed5ac6d574564fed46d875c5c7b382.tar.gz gnunet-ddec950fc3ed5ac6d574564fed46d875c5c7b382.zip |
-remove gana files; now generated at bootstrap
-rw-r--r-- | src/gns/.gitignore | 1 | ||||
-rw-r--r-- | src/gns/tlds.conf | 10 | ||||
-rw-r--r-- | src/include/.gitignore | 2 | ||||
-rw-r--r-- | src/include/gnu_name_system_record_types.h | 148 | ||||
-rw-r--r-- | src/include/gnunet_signatures.h | 211 |
5 files changed, 2 insertions, 370 deletions
diff --git a/src/gns/.gitignore b/src/gns/.gitignore index 9b056ee1b..3bbb2eb3d 100644 --- a/src/gns/.gitignore +++ b/src/gns/.gitignore | |||
@@ -10,4 +10,3 @@ local.der | |||
10 | local.key | 10 | local.key |
11 | server.csr | 11 | server.csr |
12 | gnunet-gns-proxy-setup-ca | 12 | gnunet-gns-proxy-setup-ca |
13 | !tlds.conf | ||
diff --git a/src/gns/tlds.conf b/src/gns/tlds.conf deleted file mode 100644 index 3a6214bb0..000000000 --- a/src/gns/tlds.conf +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | # WARNING: | ||
2 | # This header is generated! | ||
3 | # In order to add TLDs, you must register | ||
4 | # them in GANA, and then use the header generation script | ||
5 | # to create an update of this file. You may then replace this | ||
6 | # file with the update. | ||
7 | [gns] | ||
8 | |||
9 | # The FCFS authority managed by GNUnet e.V. | ||
10 | .pin = 000G001MF6DVMZZ4Y8XRZQDXM1PB3D3VGEK29ZHXBA57EPSNW1QBPKT8J0 \ No newline at end of file | ||
diff --git a/src/include/.gitignore b/src/include/.gitignore new file mode 100644 index 000000000..6c12255e5 --- /dev/null +++ b/src/include/.gitignore | |||
@@ -0,0 +1,2 @@ | |||
1 | gnu_name_system_record_types.h | ||
2 | gnunet_signatures.h | ||
diff --git a/src/include/gnu_name_system_record_types.h b/src/include/gnu_name_system_record_types.h deleted file mode 100644 index 15b92bd95..000000000 --- a/src/include/gnu_name_system_record_types.h +++ /dev/null | |||
@@ -1,148 +0,0 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet | ||
3 | Copyright (C) 2012-2022 GNUnet e.V. | ||
4 | |||
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 | ||
7 | by the Free Software Foundation, either version 3 of the License, | ||
8 | or (at your option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Affero General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Affero General Public License | ||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | SPDX-License-Identifier: AGPL3.0-or-later | ||
19 | */ | ||
20 | #ifndef GNU_NAME_SYSTEM_RECORD_TYPES_H | ||
21 | #define GNU_NAME_SYSTEM_RECORD_TYPES_H | ||
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 | |||
32 | #ifdef __cplusplus | ||
33 | extern "C" { | ||
34 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
35 | } | ||
36 | #endif | ||
37 | #endif | ||
38 | |||
39 | |||
40 | /** | ||
41 | * GNS zone transfer | ||
42 | */ | ||
43 | #define GNUNET_GNSRECORD_TYPE_PKEY 65536 | ||
44 | |||
45 | /** | ||
46 | * GNS nick names | ||
47 | */ | ||
48 | #define GNUNET_GNSRECORD_TYPE_NICK 65537 | ||
49 | |||
50 | /** | ||
51 | * legacy hostnames | ||
52 | */ | ||
53 | #define GNUNET_GNSRECORD_TYPE_LEHO 65538 | ||
54 | |||
55 | /** | ||
56 | * VPN resolution | ||
57 | */ | ||
58 | #define GNUNET_GNSRECORD_TYPE_VPN 65539 | ||
59 | |||
60 | /** | ||
61 | * Delegation to DNS | ||
62 | */ | ||
63 | #define GNUNET_GNSRECORD_TYPE_GNS2DNS 65540 | ||
64 | |||
65 | /** | ||
66 | * Boxed records (see TLSA/SRV handling in GNS) | ||
67 | */ | ||
68 | #define GNUNET_GNSRECORD_TYPE_BOX 65541 | ||
69 | |||
70 | /** | ||
71 | * social place for SecuShare | ||
72 | */ | ||
73 | #define GNUNET_GNSRECORD_TYPE_PLACE 65542 | ||
74 | |||
75 | /** | ||
76 | * Endpoint for conversation | ||
77 | */ | ||
78 | #define GNUNET_GNSRECORD_TYPE_PHONE 65543 | ||
79 | |||
80 | /** | ||
81 | * identity attribute | ||
82 | */ | ||
83 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_ATTRIBUTE 65544 | ||
84 | |||
85 | /** | ||
86 | * local ticket reference | ||
87 | */ | ||
88 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_TICKET 65545 | ||
89 | |||
90 | /** | ||
91 | * For ABD policies | ||
92 | */ | ||
93 | #define GNUNET_GNSRECORD_TYPE_DELEGATE 65548 | ||
94 | |||
95 | /** | ||
96 | * For ABD reverse lookups | ||
97 | */ | ||
98 | #define GNUNET_GNSRECORD_TYPE_ATTRIBUTE 65549 | ||
99 | |||
100 | /** | ||
101 | * for reclaim records | ||
102 | */ | ||
103 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_ATTRIBUTE_REF 65550 | ||
104 | |||
105 | /** | ||
106 | * For reclaim OIDC client names. | ||
107 | */ | ||
108 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_CLIENT 65552 | ||
109 | |||
110 | /** | ||
111 | * Used reclaimID OIDC client redirect URIs. | ||
112 | */ | ||
113 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_REDIRECT 65553 | ||
114 | |||
115 | /** | ||
116 | * Record type for an attribute attestation (e.g. JWT). | ||
117 | */ | ||
118 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_CREDENTIAL 65554 | ||
119 | |||
120 | /** | ||
121 | * Record type for a presentation of a credential. | ||
122 | */ | ||
123 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_PRESENTATION 65555 | ||
124 | |||
125 | /** | ||
126 | * Record type for EDKEY zone delegations. | ||
127 | */ | ||
128 | #define GNUNET_GNSRECORD_TYPE_EDKEY 65556 | ||
129 | |||
130 | /** | ||
131 | * Encoding for Robust Immutable Storage (ERIS) binary read capability | ||
132 | */ | ||
133 | #define GNUNET_GNSRECORD_TYPE_ERIS_READ_CAPABILITY 65557 | ||
134 | |||
135 | /** | ||
136 | * Record type to share an entry of a messenger room | ||
137 | */ | ||
138 | #define GNUNET_GNSRECORD_TYPE_MESSENGER_ROOM_ENTRY 65558 | ||
139 | |||
140 | |||
141 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
142 | { | ||
143 | #endif | ||
144 | #ifdef __cplusplus | ||
145 | } | ||
146 | #endif | ||
147 | |||
148 | #endif | ||
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h deleted file mode 100644 index ff34485c8..000000000 --- a/src/include/gnunet_signatures.h +++ /dev/null | |||
@@ -1,211 +0,0 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet | ||
3 | Copyright (C) 2012-2022 GNUnet e.V. | ||
4 | |||
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 | ||
7 | by the Free Software Foundation, either version 3 of the License, | ||
8 | or (at your option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Affero General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Affero General Public License | ||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | SPDX-License-Identifier: AGPL3.0-or-later | ||
19 | */ | ||
20 | #ifndef GNUNET_SIGNATURES_H | ||
21 | #define GNUNET_SIGNATURES_H | ||
22 | |||
23 | /** | ||
24 | * WARNING: | ||
25 | * This header is generated! | ||
26 | * In order to add a signature purpose, 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 | |||
32 | |||
33 | |||
34 | #ifdef __cplusplus | ||
35 | extern "C" { | ||
36 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
37 | } | ||
38 | #endif | ||
39 | #endif | ||
40 | |||
41 | |||
42 | /** | ||
43 | * Network signature purpose definitions. Note that all values | ||
44 | * must be uint32_t and encoded in network byte order in the structs. | ||
45 | */ | ||
46 | |||
47 | |||
48 | |||
49 | /** | ||
50 | * Test signature, not valid for anything other than writing a test. (Note that the signature verification code will accept this value). (GNUnet) | ||
51 | */ | ||
52 | #define GNUNET_SIGNATURE_PURPOSE_TEST 0 | ||
53 | |||
54 | /** | ||
55 | * Signature for confirming that this peer uses a particular address. (GNUnet-TRANSPORT) | ||
56 | */ | ||
57 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_PONG_OWN 1 | ||
58 | |||
59 | /** | ||
60 | * Signature for confirming that this peer intends to disconnect. (GNUnet-TRANSPORT) | ||
61 | */ | ||
62 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DISCONNECT 2 | ||
63 | |||
64 | /** | ||
65 | * Signature for confirming a key revocation. (GNUnet-Revocation) | ||
66 | */ | ||
67 | #define GNUNET_SIGNATURE_PURPOSE_REVOCATION 3 | ||
68 | |||
69 | /** | ||
70 | * Signature for a namespace/pseudonym advertisement (by the namespace owner). (GNUnet-FS) | ||
71 | */ | ||
72 | #define GNUNET_SIGNATURE_PURPOSE_NAMESPACE_ADVERTISEMENT 4 | ||
73 | |||
74 | /** | ||
75 | * Signature by which a peer affirms that it is providing a certain bit of content for use in LOCation URIs. (GNUnet-FS) | ||
76 | */ | ||
77 | #define GNUNET_SIGNATURE_PURPOSE_PEER_PLACEMENT 5 | ||
78 | |||
79 | /** | ||
80 | * Signature on a GNUNET_DNS_Advertisement. (GNUnet-DNS+Exit) | ||
81 | */ | ||
82 | #define GNUNET_SIGNATURE_PURPOSE_DNS_RECORD 11 | ||
83 | |||
84 | /** | ||
85 | * Signature of a chat message. (GNUnet-MESSENGER) | ||
86 | */ | ||
87 | #define GNUNET_SIGNATURE_PURPOSE_CHAT_MESSAGE 12 | ||
88 | |||
89 | /** | ||
90 | * Signature of confirmation receipt for a chat message. (GNUnet-MESSENGER) | ||
91 | */ | ||
92 | #define GNUNET_SIGNATURE_PURPOSE_CHAT_RECEIPT 13 | ||
93 | |||
94 | /** | ||
95 | * Signature of a network size estimate message. (GNUnet-NSE) | ||
96 | */ | ||
97 | #define GNUNET_SIGNATURE_PURPOSE_NSE_SEND 14 | ||
98 | |||
99 | /** | ||
100 | * Signature of a gnunet naming system record block (GNUnet-GNSRECORD) | ||
101 | */ | ||
102 | #define GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN 15 | ||
103 | |||
104 | /** | ||
105 | * Purpose is to set a session key. (GNUnet-CORE) | ||
106 | */ | ||
107 | #define GNUNET_SIGNATURE_PURPOSE_SET_ECC_KEY 16 | ||
108 | |||
109 | /** | ||
110 | * UBlock Signature, done using DSS, not ECC (GNUnet-FS) | ||
111 | */ | ||
112 | #define GNUNET_SIGNATURE_PURPOSE_FS_UBLOCK 17 | ||
113 | |||
114 | /** | ||
115 | * Accept state in regex DFA. Peer affirms that it offers the matching service. (GNUnet-REGEX) | ||
116 | */ | ||
117 | #define GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT 18 | ||
118 | |||
119 | /** | ||
120 | * Signature of a conversation ring. (GNUnet-CONVERSATION) | ||
121 | */ | ||
122 | #define GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING 20 | ||
123 | |||
124 | /** | ||
125 | * Signature for the first round of distributed key generation. (GNUnet-SECRETSHARING) | ||
126 | */ | ||
127 | #define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG1 21 | ||
128 | |||
129 | /** | ||
130 | * Signature for the second round of distributed key generation. (GNUnet-SECRETSHARING) | ||
131 | */ | ||
132 | #define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG2 22 | ||
133 | |||
134 | /** | ||
135 | * Signature for the cooperative decryption. (GNUnet-SECRETSHARING) | ||
136 | */ | ||
137 | #define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DECRYPTION 23 | ||
138 | |||
139 | /** | ||
140 | * Signature for a GNUid Ticket (Reclaim) | ||
141 | */ | ||
142 | #define GNUNET_SIGNATURE_PURPOSE_RECLAIM_CODE_SIGN 27 | ||
143 | |||
144 | /** | ||
145 | * Signature for a GNUnet credential (Reclaim) | ||
146 | */ | ||
147 | #define GNUNET_SIGNATURE_PURPOSE_DELEGATE 28 | ||
148 | |||
149 | /** | ||
150 | * Signature by a peer affirming that this is one of its addresses for the given time period. (GNUnet-TRANSPORT) | ||
151 | */ | ||
152 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_ADDRESS 29 | ||
153 | |||
154 | /** | ||
155 | * Signature by a peer affirming that the given ephemeral key is currently in use by that peer's transport service. (GNUnet-TRANSPORT) | ||
156 | */ | ||
157 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_EPHEMERAL 30 | ||
158 | |||
159 | /** | ||
160 | * Signature used by TCP communicator handshake. (GNUnet-TRANSPORT-TCP) | ||
161 | */ | ||
162 | #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE 31 | ||
163 | |||
164 | /** | ||
165 | * Signature used by TCP communicator rekey. (GNUnet-TRANSPORT-TCP) | ||
166 | */ | ||
167 | #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_REKEY 32 | ||
168 | |||
169 | /** | ||
170 | * Signature used by UDP communicator handshake. (GNUnet-TRANSPORT-UDP) | ||
171 | */ | ||
172 | #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_HANDSHAKE 33 | ||
173 | |||
174 | /** | ||
175 | * Signature used by UDP broadcasts. (GNUnet-TRANSPORT-UDP) | ||
176 | */ | ||
177 | #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_BROADCAST 34 | ||
178 | |||
179 | /** | ||
180 | * Signature by a peer affirming that it received a challenge (and stating how long it expects the address on which the challenge was received to remain valid). (GNUnet-TRANSPORT) | ||
181 | */ | ||
182 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_CHALLENGE 35 | ||
183 | |||
184 | /** | ||
185 | * Signature by a peer affirming that it is on a DV path. (GNUnet-TRANSPORT) | ||
186 | */ | ||
187 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_HOP 36 | ||
188 | |||
189 | /** | ||
190 | * Signature by a peer affirming that it originated the DV path. (GNUnet-TRANSPORT) | ||
191 | */ | ||
192 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_INITIATOR 37 | ||
193 | |||
194 | /** | ||
195 | * Signature by a peer that like to create a connection. (GNUnet-CADET) | ||
196 | */ | ||
197 | #define GNUNET_SIGNATURE_PURPOSE_CADET_CONNECTION_INITIATOR 38 | ||
198 | |||
199 | /** | ||
200 | * Signature by a peer sending back the nonce received at initial handshake. (GNUnet-TRANSPORT-TCP) | ||
201 | */ | ||
202 | #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE_ACK 39 | ||
203 | |||
204 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
205 | { | ||
206 | #endif | ||
207 | #ifdef __cplusplus | ||
208 | } | ||
209 | #endif | ||
210 | |||
211 | #endif | ||