summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-08-01 09:27:16 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-08-01 09:27:16 +0200
commit4c2d9e410a6719adb8531a715862885e52183c04 (patch)
treec864df10f3afb49672142e2d7d3926faab3d389a
parent2124404d5749bf30e89f7ebec7cec2355107b8cb (diff)
downloadlsd0004-4c2d9e410a6719adb8531a715862885e52183c04.tar.gz
lsd0004-4c2d9e410a6719adb8531a715862885e52183c04.zip
fix
-rw-r--r--draft-schanzen-r5n.xml27
1 files changed, 16 insertions, 11 deletions
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml
index c662e87..2b246dd 100644
--- a/draft-schanzen-r5n.xml
+++ b/draft-schanzen-r5n.xml
@@ -1093,30 +1093,35 @@ BEGIN
1093 </dl> 1093 </dl>
1094 </section> 1094 </section>
1095 <section anchor="p2p_pathelement"> 1095 <section anchor="p2p_pathelement">
1096 <!-- TODO-GROTHOFF: Discuss this change again. The text is currently not correct
1097 it is very difficult to understand. Is it worth 32 byte -->
1096 <name>Path Element</name> 1098 <name>Path Element</name>
1097 <t> 1099 <t>
1098 A Path Element represents a hop in the path a message has taken 1100 A Path Element represents a hop in the path a message has taken
1099 through the network. 1101 through the network.
1100 An ordered list of Path Elements may be appended to any routed 1102 An ordered list of Path Elements may be appended to any routed
1101 <tt>PutMessage</tt>s or <tt>ResultMessage</tt>s. 1103 <tt>PutMessage</tt>s or <tt>ResultMessage</tt>s.
1102 A Path Element identifies a peer on the path. 1104 The signature of a Path Element is created by the current hop
1103 The Path Element is signed by the next peer on the path after 1105 after it made its routing decision identifiying the successor peer.
1104 the next peer made its routing decision.
1105 This signature is also part of the Path Element along with the
1106 Peer ID of the previous peer.
1107 </t> 1106 </t>
1108 <t> 1107 <t>
1109 The public key of the peer which created the signature is in the 1108 A path may be truncated in which case the signature of the truncated
1110 next path element, or is the sender of the message if this was the 1109 Path Element is omitted leaving only the Peer ID required for the
1111 last path element. 1110 verification of the subsequent Path Element signature.
1111 Such a truncated path is indicated with the respective flag.
1112 The Peer ID of the last Path Element is omitted as it must be that of
1113 the sender of the PutMesssage or ResultMessage.
1112 The wire format of a Path Element is illustrated in 1114 The wire format of a Path Element is illustrated in
1113 <xref target="figure_pathelement"/>. 1115 <xref target="figure_pathelement"/>.
1114 </t> 1116 </t>
1117 <!-- TODO-GROTHOFF: We could swap the fields in order to facilitate easier processging
1118 => Yes, swap.
1119 -->
1115 <figure anchor="figure_pathelement" title="The Wire Format of a Path Element."> 1120 <figure anchor="figure_pathelement" title="The Wire Format of a Path Element.">
1116 <artwork name="" type="" align="left" alt=""><![CDATA[ 1121 <artwork name="" type="" align="left" alt=""><![CDATA[
11170 8 16 24 32 40 48 56 11220 8 16 24 32 40 48 56
1118+-----+-----+-----+-----+-----+-----+-----+-----+ 1123+-----+-----+-----+-----+-----+-----+-----+-----+
1119| PEER PREDECESSOR | 1124| PEER ID |
1120| (32 byte) | 1125| (32 byte) |
1121| | 1126| |
1122| | 1127| |
@@ -1134,9 +1139,9 @@ BEGIN
1134 </figure> 1139 </figure>
1135 <t>where:</t> 1140 <t>where:</t>
1136 <dl> 1141 <dl>
1137 <dt>PEER PREDECESSOR</dt> 1142 <dt>PEER ID</dt>
1138 <dd> 1143 <dd>
1139 is the Peer ID of the previous hop. 1144 is the EdDSA public key of the peer on the path.
1140 </dd> 1145 </dd>
1141 <dt>SIGNATURE</dt> 1146 <dt>SIGNATURE</dt>
1142 <dd> 1147 <dd>