aboutsummaryrefslogtreecommitdiff
path: root/gnunet-signatures/registry.rec
blob: eeef3c84373110800f0983d0da6ea74a0b5396bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
# -*- mode: rec -*-
#
# Registry for Signature purposes
#

%rec: SignaturePurpose
%key: Number
%type: Number int
%mandatory: Number
%typedef: Name_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_][ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*$/
%type: Name Name_t
%unique: Name
%mandatory: Name
%mandatory: Comment
%mandatory: Package
%allowed: Subsystem
%sort: Number Name


#-----------------------------------------------------------------------------
# GNUnet

Number: 0
Name: TEST
Comment: Test signature, not valid for anything other than writing a test. (Note that the signature verification code will accept this value).
Package: GNUnet
Subsystem: GNUnet

Number: 1
Name: TRANSPORT_PONG_OWN
Comment: Signature for confirming that this peer uses a particular address.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT

Number: 2
Name: TRANSPORT_DISCONNECT
Comment: Signature for confirming that this peer intends to disconnect.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT

Number: 3
Name: REVOCATION
Comment: Signature for confirming a key revocation.
Package: GNUnet
Subsystem: GNUnet-Revocation

Number: 4
Name: NAMESPACE_ADVERTISEMENT
Comment: Signature for a namespace/pseudonym advertisement (by the namespace owner).
Package: GNUnet
Subsystem: GNUnet-FS

Number: 5
Name: PEER_PLACEMENT
Comment: Signature by which a peer affirms that it is providing a certain bit of content for use in LOCation URIs.
Package: GNUnet
Subsystem: GNUnet-FS

Number: 6
Name: DHT_HOP
Comment: Signature by which a peer affirms that it forwarded a message in the DHT.
Package: GNUnet
Subsystem: GNUnet-DHT

Number: 7
Name: HELLO
Comment: Signature by which a peer affirms its address.
Package: GNUnet
Subsystem: GNUnet-HELLO

Number: 11
Name: DNS_RECORD
Comment: Signature on a GNUNET_DNS_Advertisement.
Package: GNUnet
Subsystem: GNUnet-DNS+Exit

Number: 12
Name: CHAT_MESSAGE
Comment: Signature of a chat message.
Package: GNUnet
Subsystem: GNUnet-MESSENGER

Number: 13
Name: CHAT_RECEIPT
Comment: Signature of confirmation receipt for a chat message.
Package: GNUnet
Subsystem: GNUnet-MESSENGER

Number: 14
Name: NSE_SEND
Comment: Signature of a network size estimate message.
Package: GNUnet
Subsystem: GNUnet-NSE

Number: 15
Name: GNS_RECORD_SIGN
Comment: Signature of a gnunet naming system record block
Package: GNUnet
Subsystem: GNUnet-GNSRECORD

Number: 16
Name: SET_ECC_KEY
Comment: Purpose is to set a session key.
Package: GNUnet
Subsystem: GNUnet-CORE

Number: 17
Name: FS_UBLOCK
Comment: UBlock Signature, done using DSS, not ECC
Package: GNUnet
Subsystem: GNUnet-FS

Number: 18
Name: REGEX_ACCEPT
Comment: Accept state in regex DFA.  Peer affirms that it offers the matching service.
Package: GNUnet
Subsystem: GNUnet-REGEX

Number: 20
Name: CONVERSATION_RING
Comment: Signature of a conversation ring.
Package: GNUnet
Subsystem: GNUnet-CONVERSATION

Number: 21
Name: SECRETSHARING_DKG1
Comment: Signature for the first round of distributed key generation.
Package: GNUnet
Subsystem: GNUnet-SECRETSHARING

Number: 22
Name: SECRETSHARING_DKG2
Comment: Signature for the second round of distributed key generation.
Package: GNUnet
Subsystem: GNUnet-SECRETSHARING

Number: 23
Name: SECRETSHARING_DECRYPTION
Comment: Signature for the cooperative decryption.
Package: GNUnet
Subsystem: GNUnet-SECRETSHARING

Number: 27
Name: RECLAIM_CODE_SIGN
Comment: Signature for a GNUid Ticket
Package: GNUnet
Subsystem: Reclaim

Number: 28
Name: DELEGATE
Comment: Signature for a GNUnet credential
Package: GNUnet
Subsystem: Reclaim

Number: 29
Name: TRANSPORT_ADDRESS
Comment: Signature by a peer affirming that this is one of its addresses for the given time period.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT

Number: 30
Name: TRANSPORT_EPHEMERAL
Comment: Signature by a peer affirming that the given ephemeral key is currently in use by that peer's transport service.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT

Number: 31
Name: COMMUNICATOR_TCP_HANDSHAKE
Comment: Signature used by TCP communicator handshake.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT-TCP

Number: 32
Name: COMMUNICATOR_TCP_REKEY
Comment: Signature used by TCP communicator rekey.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT-TCP

Number: 33
Name: COMMUNICATOR_UDP_HANDSHAKE
Comment: Signature used by UDP communicator handshake.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT-UDP

Number: 34
Name: COMMUNICATOR_UDP_BROADCAST
Comment: Signature used by UDP broadcasts.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT-UDP

Number: 35
Name: TRANSPORT_CHALLENGE
Comment: 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).
Package: GNUnet
Subsystem: GNUnet-TRANSPORT

Number: 36
Name: TRANSPORT_DV_HOP
Comment: Signature by a peer affirming that it is on a DV path.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT

Number: 37
Name: TRANSPORT_DV_INITIATOR
Comment: Signature by a peer affirming that it originated the DV path.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT

Number: 38
Name: CADET_CONNECTION_INITIATOR
Comment: Signature by a peer that like to create a connection.
Package: GNUnet
Subsystem: GNUnet-CADET

Number: 39
Name: COMMUNICATOR_TCP_HANDSHAKE_ACK
Comment: Signature by a peer sending back the nonce received at initial handshake.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT-TCP

#-----------------------------------------------------------------------------
# GNU Taler, >= 1000

#
# Exchange offline signatures (with master key)
#
Number: 1018
Name: MASTER_DRAIN_PROFIT
Comment: Affirm wiring of exchange profits to operator account.
Package: GNU Taler

Number: 1019
Name: MASTER_PARTNER_DETAILS
Comment: Signature affirming a partner configuration for wads.
Package: GNU Taler

Number: 1020
Name: MASTER_SIGNING_KEY_REVOKED
Comment: The given revocation key was revoked and must no longer be used.
Package: GNU Taler

Number: 1021
Name: MASTER_ADD_WIRE
Comment: Add payto URI to the list of our wire methods.
Package: GNU Taler

Number: 1022
Name: MASTER_GLOBAL_FEES
Comment: Signature over global set of fees charged by the exchange.
Package: GNU Taler

Number: 1023
Name: MASTER_DEL_WIRE
Comment: Remove payto URI from the list of our wire methods.
Package: GNU Taler

Number: 1024
Name: MASTER_SIGNING_KEY_VALIDITY
Comment: Purpose for signing public keys signed by the exchange master key.
Package: GNU Taler

Number: 1025
Name: MASTER_DENOMINATION_KEY_VALIDITY
Comment: Purpose for denomination keys signed by the exchange master key.
Package: GNU Taler

Number: 1026
Name: MASTER_ADD_AUDITOR
Comment: Add an auditor to the list of our auditors.
Package: GNU Taler

Number: 1027
Name: MASTER_DEL_AUDITOR
Comment: Remove an auditor from the list of our auditors.
Package: GNU Taler

Number: 1028
Name: MASTER_WIRE_FEES
Comment: Fees charged per (aggregate) wire transfer to the merchant.
Package: GNU Taler

Number: 1029
Name: MASTER_DENOMINATION_KEY_REVOKED
Comment: The given revocation key was revoked and must no longer be used.
Package: GNU Taler

Number: 1030
Name: MASTER_WIRE_DETAILS
Comment: Signature where the Exchange confirms its IBAN details in the /wire response.
Package: GNU Taler

Number: 1031
Name: MASTER_EXTENSION
Comment: Set the configuration of an extension (age-restriction or peer2peer)
Package: GNU Taler


#
# Exchange online signatures (with signing key)
#

Number: 1032
Name: EXCHANGE_RESERVE_STATUS
Comment: Purpose for the state of a reserve, signed by the exchange's signing key.
Package: GNU Taler

Number: 1033
Name: EXCHANGE_CONFIRM_DEPOSIT
Comment: Signature where the Exchange confirms a deposit request.
Package: GNU Taler

Number: 1034
Name: EXCHANGE_CONFIRM_MELT
Comment: Signature where the exchange (current signing key) confirms the no-reveal index for cut-and-choose and the validity of the melted coins.
Package: GNU Taler

Number: 1035
Name: EXCHANGE_KEY_SET
Comment: Signature where the Exchange confirms the full /keys response set.
Package: GNU Taler

Number: 1036
Name: EXCHANGE_CONFIRM_WIRE
Comment: Signature where the Exchange confirms the /track/transaction response.
Package: GNU Taler

Number: 1037
Name: EXCHANGE_CONFIRM_WIRE_DEPOSIT
Comment: Signature where the Exchange confirms the /wire/deposit response.
Package: GNU Taler

Number: 1038
Name: EXCHANGE_CONFIRM_REFUND
Comment: Signature where the Exchange confirms a refund request.
Package: GNU Taler

Number: 1039
Name: EXCHANGE_CONFIRM_RECOUP
Comment: Signature where the Exchange confirms a recoup.
Package: GNU Taler

Number: 1040
Name: EXCHANGE_RESERVE_CLOSED
Comment: Signature where the Exchange confirms it closed a reserve.
Package: GNU Taler

Number: 1041
Name: EXCHANGE_CONFIRM_RECOUP_REFRESH
Comment: Signature where the Exchange confirms a recoup-refresh operation.
Package: GNU Taler

Number: 1042
Name: EXCHANGE_AFFIRM_DENOM_UNKNOWN
Comment: Signature where the Exchange confirms that it does not know a denomination (hash).
Package: GNU Taler

Number: 1043
Name: EXCHANGE_AFFIRM_DENOM_EXPIRED
Comment: Signature where the Exchange confirms that it does not consider a denomination valid for the given operation at this time.
Package: GNU Taler

Number: 1044
Name: EXCHANGE_ACCOUNT_SETUP_SUCCESS
Comment: Signature by which an exchange affirms that an account successfully passed the KYC checks.
Package: GNU Taler

Number: 1045
Name: EXCHANGE_CONFIRM_PURSE_CREATION
Comment: Signature by which the exchange affirms that a purse was created with a certain amount deposited into it.
Package: GNU Taler

Number: 1046
Name: EXCHANGE_CONFIRM_PURSE_MERGED
Comment: Signature by which the exchange affirms that a purse was merged into a reserve with a certain amount in it.
Package: GNU Taler

Number: 1047
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
#

Number: 1064
Name: AUDITOR_EXCHANGE_KEYS
Comment: Signature where the auditor confirms that he is aware of certain denomination keys from the exchange.
Package: GNU Taler

#
# Merchant signatures
#

Number: 1101
Name: MERCHANT_CONTRACT
Comment: Signature where the merchant confirms a contract (to the customer).
Package: GNU Taler

Number: 1102
Name: MERCHANT_REFUND
Comment: Signature where the merchant confirms a refund (of a coin).
Package: GNU Taler

Number: 1103
Name: MERCHANT_TRACK_TRANSACTION
Comment: Signature where the merchant confirms that he needs the wire transfer identifier for a deposit operation.
Package: GNU Taler

Number: 1104
Name: MERCHANT_PAYMENT_OK
Comment: Signature where the merchant confirms that the payment was successful
Package: GNU Taler

Number: 1107
Name: MERCHANT_WIRE_DETAILS
Comment: Signature where the merchant confirms its own (salted) wire details (not yet really used).
Package: GNU Taler

#
# Wallet signatures
#

Number: 1200
Name: WALLET_RESERVE_WITHDRAW
Comment: Signature where the reserve key confirms a withdraw request. Signed with the reserve private key.
Package: GNU Taler

Number: 1201
Name: WALLET_COIN_DEPOSIT
Comment: Signature made by the wallet of a user to confirm a deposit of a coin.
Package: GNU Taler

Number: 1202
Name: WALLET_COIN_MELT
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. 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. Signed with the old coin's private key.
Package: GNU Taler

Number: 1205
Name: WALLET_ACCOUNT_SETUP
Comment: Signature using a reserve key by which a wallet requests a payment target UUID for itself. Signs over just a purpose (no body), as the signature only serves to demonstrate that the request comes from the wallet controlling the private key, and not some third party.
Package: GNU Taler

Number: 1206
Name: WALLET_COIN_RECOUP_REFRESH
Comment: Signature using a coin key requesting recoup-refresh. Signed with the coin private key.
Package: GNU Taler

Number: 1207
Name: WALLET_AGE_ATTESTATION
Comment: Signature using a age restriction key for attestation of a particular age/age-group.
Package: GNU Taler

Number: 1208
Name: WALLET_RESERVE_HISTORY
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). Signed with the reserve private key.
Package: GNU Taler

Number: 1210
Name: WALLET_PURSE_CREATE
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. Signed with the coin private key.
Package: GNU Taler

Number: 1212
Name: WALLET_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. Signed with the purse private key.
Package: GNU Taler

Number: 1214
Name: WALLET_ACCOUNT_MERGE
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. Signed with the reserve private key.
Package: GNU Taler

Number: 1216
Name: WALLET_PURSE_ECONTRACT
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

#
# Security module signatures
#

Number: 1250
Name: SM_RSA_DENOMINATION_KEY
Comment: Signature on a denomination key announcement.
Package: GNU Taler

Number: 1251
Name: SM_SIGNING_KEY
Comment: Signature on an exchange message signing key announcement.
Package: GNU Taler

Number: 1252
Name: SM_CS_DENOMINATION_KEY
Comment: Signature on a denomination key announcement.
Package: GNU Taler

#
# Test signatures
#

Number: 1302
Name: CLIENT_TEST_EDDSA
Comment: EdDSA test signature.
Package: GNU Taler

Number: 1303
Name: EXCHANGE_TEST_EDDSA
Comment: EdDSA test signature.
Package: GNU Taler

#
# GNU Anastasis signatures, >= 1400
#

Number: 1400
Name: ANASTASIS_POLICY_UPLOAD
Comment: EdDSA signature for a policy upload.
Package: GNU Taler

#
# Sync signatures, >= 1450
#

Number: 1450
Name: SYNC_BACKUP_UPLOAD
Comment: EdDSA signature for a backup upload.
Package: GNU Taler