I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit fbe88e7d authored by zzz's avatar zzz
Browse files

More updates for prop. 157

parent fb085e6c
No related branches found
No related tags found
No related merge requests found
...@@ -5,13 +5,21 @@ Smaller Tunnel Build Messages ...@@ -5,13 +5,21 @@ Smaller Tunnel Build Messages
:author: zzz, orignal :author: zzz, orignal
:created: 2020-10-09 :created: 2020-10-09
:thread: http://zzz.i2p/topics/2957 :thread: http://zzz.i2p/topics/2957
:lastupdated: 2021-07-28 :lastupdated: 2021-07-31
:status: Open :status: Open
:target: 0.9.51 :target: 0.9.51
.. contents:: .. contents::
Note
====
Implemented as of API version 0.9.51.
Network deployment and testing in progress.
Subject to minor revision.
See [I2NP]_ and [Tunnel-Creation-ECIES]_ for the final specification.
Overview Overview
======== ========
......
...@@ -837,6 +837,8 @@ uses AES. ...@@ -837,6 +837,8 @@ uses AES.
.. raw:: html .. raw:: html
{% highlight lang='dataspec' %}
// Parameters // Parameters
k = replyKey from KDF above k = replyKey from KDF above
n = record number 0-7 n = record number 0-7
...@@ -849,6 +851,26 @@ uses AES. ...@@ -849,6 +851,26 @@ uses AES.
{% endhighlight %} {% endhighlight %}
Garlic Encryption
```````````````````````
Garlic wrapping of the messages hides them from the OBEP (for an inbound build)
or the IBGW (for an outbound build). This is recommended but not required.
If the OBEP and IBGW are the same router, it is not necessary.
Garlic encryption of an inbound Short Tunnel Build Message,
by the creator, encrypted to the ECIES IBGW, uses Noise 'N' encryption,
as defined in [ECIES-ROUTERS]_.
Garlic encryption of an Outbound Tunnel Build Reply Message,
by the OBEP, encrypted to the creator, uses
They are encrypted as Existing Session messages with
the 32-byte garlic reply key and 8-byte garlic reply tag from the KDF above.
The format is as specified for replies to Database Lookups in [I2NP]_,
[ECIES-ROUTERS]_, and [ECIES-X25519]_.
Implementation Notes Implementation Notes
===================== =====================
...@@ -868,6 +890,9 @@ References ...@@ -868,6 +890,9 @@ References
.. [Cryptography] .. [Cryptography]
{{ spec_url('cryptography') }} {{ spec_url('cryptography') }}
.. [ECIES-ROUTERS]
{{ spec_url('ecies-routers') }}
.. [ECIES-X25519] .. [ECIES-X25519]
{{ spec_url('ecies') }} {{ spec_url('ecies') }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment