commit a511990a9b1379f1e0d9e073be2bedc74253dfb0
parent 9618881f27d5b8343dc2901fa9a8c4aed9e4913c
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Fri, 27 Nov 2026 13:20:13 +0100
fix sed and record types
Diffstat:
4 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/gnunet-dht-block-types/registry.rec b/gnunet-dht-block-types/registry.rec
@@ -101,7 +101,7 @@ Name: SETU_TEST
Comment: Block for testing set union. If first byte of the block is non-zero, the block is considered invalid.
References: None
-Number: 13
+Number: 28
Name: DHT_HELLO_V2
Comment: Type of a block that contains a DHT-NG HELLO for a peer.
References: LSD-0004
diff --git a/gnunet-hello-record-types/README b/gnunet-hello-record-types/README
@@ -1,13 +1,13 @@
-R5N DHT Block Types
--------------------
+HELLO record types
+------------------
-This registry is for GNUnet DHT Block Types.
-
-DHT Block Types types uniquely identify the different kinds
-of blocks that can be found in the GNUnet DHT.
+This registry is for GNUnet HELLO record Types.
This registry is used to ensure that the names and numeric values
-used to identify block types are uniquely defined and to
-allow DHT implementors to find out details about the
+used to HELLO record types are uniquely defined and to
+allow implementors to find out details about the
respective semantics and human-readable syntax.
+Record types prefixed with ID_ are identity record types. Those
+are critical and there can only be one identity record per HELLO.
+
diff --git a/gnunet-hello-record-types/registry.rec b/gnunet-hello-record-types/registry.rec
@@ -16,22 +16,22 @@
%allowed: References
%sort: Number Name Contact References
-Number: 0
+Number: 1
Name: ADDRESS
Comment: Addresses where a peer is reachable.
References: LSD0018
-Number: 1
+Number: 2
Name: HPKE_X25519
Comment: HPKE X25519 key material.
References: LSD0018
-Number: 2
+Number: 3
Name: HPKE_XWING
Comment: HPKE X-Wing (ML-KEM+X25519) key material.
References: LSD0018
-Number: 3
+Number: 4
Name: ID_ED25519
Comment: Peer identity (signing) key. Ed25519 key material.
References: LSD0018
diff --git a/gnunet-signatures/Makefile b/gnunet-signatures/Makefile
@@ -1,3 +1,4 @@
+SED?=sed
FILES=gnunet_signatures.h gnunet_signatures.rst taler_signatures.go taler_signatures.ts
all: check $(FILES)
check:
@@ -26,7 +27,7 @@ taler_signatures.go.tmp: registry.rec go-taler.template
taler_signatures.go: go.header taler_signatures.go.tmp go.footer
cat $^ > taler_signatures.go.oct.tmp
- gsed -E 's/= 00*([0-9])/= \1/g;s/([A-Z])([A-Z]*)/\1\L\2/g;s/_//g' taler_signatures.go.oct.tmp > $@
+ ${SED} -E 's/= 00*([0-9])/= \1/g;s/([A-Z])([A-Z]*)/\1\L\2/g;s/_//g' taler_signatures.go.oct.tmp > $@
taler_signatures.ts.tmp: registry.rec ts-taler.template
../format.sh ts-taler.template 'Package = "GNU Taler"' < registry.rec > $@ $@