Migrate prop. 144 to spec section,

update references throughout
This commit is contained in:
zzz
2020-05-07 14:21:09 +00:00
parent 9f3601804a
commit da07dc2ff4
9 changed files with 3169 additions and 37 deletions

View File

@@ -1,6 +1,6 @@
{% extends "global/layout.html" %}
{% block title %}{% trans %}Streaming Library{% endtrans %}{% endblock %}
{% block lastupdated %}2020-04{% endblock %}
{% block lastupdated %}2020-05{% endblock %}
{% block accuratefor %}0.9.46{% endblock %}
{% block content %}
<h2>{% trans %}Overview{% endtrans %}</h2>

View File

@@ -1,7 +1,7 @@
{% extends "global/layout.html" %}
{% block title %}{% trans %}Index to Technical Documentation{% endtrans %}{% endblock %}
{% block lastupdated %}{% trans %}July 2019{% endtrans %}{% endblock %}
{% block accuratefor %}0.9.41{% endblock %}
{% block lastupdated %}2020-05{% endblock %}
{% block accuratefor %}0.9.46{% endblock %}
{% block content %}
<p>{% trans -%}
Following is an index to the technical documentation for I2P.
@@ -116,6 +116,7 @@ Traditionally used only by Java applications and higher-level APIs.
<h3>{% trans %}End-to-End Encryption{% endtrans %}</h3>
{% trans %}How client messages are end-to-end encrypted by the router.{% endtrans %}
<ul>
<li><a href="{{ spec_url('ecies') }}">{{ _('ECIES-X25519-AEAD-Ratchet encryption') }}</a></li>
<li><a href="{{ site_url('docs/how/elgamal-aes') }}">{{ _('ElGamal/AES+SessionTag encryption') }}</a></li>
<li><a href="{{ site_url('docs/how/cryptography') }}">{{ _('ElGamal and AES cryptography details') }}</a></li>
</ul>

View File

@@ -558,7 +558,7 @@ References
https://github.com/i2p/i2p.i2p/tree/master/core/java/src/net/i2p/crypto/DSAEngine.java
.. [ECIES]
{{ proposal_url('145') }}
{{ specl_url('ecies') }}
.. [ELG-AES]
{{ site_url('docs/how/elgamal-aes', True) }}

3146
i2p2www/spec/ecies.rst Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1510,7 +1510,7 @@ References
{{ ctags_url('Date') }}
.. [ECIES]
{{ proposal_url('144') }}
{{ spec_url('ecies') }}
.. [ElG-AES]
{{ site_url('docs/how/elgamal-aes', True) }}

View File

@@ -9,13 +9,6 @@ NTCP 2
.. contents::
Note
====
Network deployment and testing in progress.
Subject to minor revisions.
See [Prop111]_ for the original proposal, including background discussion and additional information.
Overview
========
@@ -31,6 +24,7 @@ for point-to-point (router-to-router) transport of I2NP messages.
It is not a general-purpose data pipe.
NTCP2 is supported as of version 0.9.36.
See [Prop111]_ for the original proposal, including background discussion and additional information.

View File

@@ -5,7 +5,7 @@ ECIES-X25519-AEAD-Ratchet
:author: zzz, chisana, orignal
:created: 2018-11-22
:thread: http://zzz.i2p/topics/2639
:lastupdated: 2020-05-03
:lastupdated: 2020-05-07
:status: Open
:target: 0.9.46
:implementedin: 0.9.46
@@ -17,15 +17,15 @@ Overview
========
This is a proposal for the first new end-to-end encryption type
since the beginning of I2P, to replace ElGamal/AES+SessionTags.
since the beginning of I2P, to replace ElGamal/AES+SessionTags [Elg-AES]_.
It relies on previous work as follows:
- Common structures spec [Common]_
- [I2NP]_ spec including LS2
- ElGamal/AES+Session Tags spec http://i2p-projekt.i2p/en/docs/how/elgamal-aes
- ElGamal/AES+Session Tags [Elg-AES]_
- http://zzz.i2p/topics/1768 new asymmetric crypto overview
- Low-level crypto overview https://geti2p.net/spec/cryptography
- Low-level crypto overview [CRYPTO-ELG]_
- ECIES http://zzz.i2p/topics/2418
- [NTCP2]_ [Prop111]_
- 123 New netDB Entries
@@ -609,11 +609,6 @@ MixKey(d)
k = output[32:63]
Issues
------
- Use Blake2b instead of SHA256?
1) Message format
-----------------
@@ -1685,16 +1680,6 @@ Justification
Used in [NTCP2]_.
Notes
`````
We do not use random nonces. If we do need random nonces,
we may need a different AEAD with a larger nonce that's resistant to nonce reuse,
so we can use random nonces. (SIV?)
4) Ratchets
-----------
@@ -3637,6 +3622,12 @@ References
.. [Common]
{{ spec_url('common-structures') }}
.. [CRYPTO-ELG]
{{ site_url('docs/how/cryptography', True) }}#elgamal
.. [ElG-AES]
{{ site_url('docs/how/elgamal-aes', True) }}
.. [Elligator2]
https://elligator.cr.yp.to/elligator-20130828.pdf
https://www.imperialviolet.org/2013/12/25/elligator.html

View File

@@ -5,7 +5,7 @@ Database Lookups from ECIES Destinations
:author: zzz
:created: 2020-03-23
:thread: http://zzz.i2p/topics/2856
:lastupdated: 2020-04-22
:lastupdated: 2020-05-07
:status: Closed
:target: 0.9.46
:implementedin: 0.9.46
@@ -423,7 +423,7 @@ References
==========
.. [ECIES]
{{ proposal_url('144') }}
{{ spec_url('ecies') }}
.. [I2NP]
{{ spec_url('i2np') }}

View File

@@ -5,7 +5,7 @@ Streaming MTU for ECIES Destinations
:author: zzz
:created: 2020-05-06
:thread: http://zzz.i2p/topics/2886
:lastupdated: 2020-05-06
:lastupdated: 2020-05-07
:status: Open
:target: 0.9.47
@@ -128,12 +128,12 @@ will negotiate downward, as usual.
References
==========
.. [ECIES]
{{ proposal_url('144') }}#overhead
.. [CALCULATION]
https://github.com/i2p/i2p.i2p/blob/master/apps/streaming/java/src/net/i2p/client/streaming/impl/ConnectionOptions.java#L220
.. [ECIES]
{{ spec_url('ecies') }}#overhead
.. [STREAMING-OPTIONS]
{{ site_url('docs/api/streaming', True) }}