From 00d15cb04088ebee26ffd5a9cf0f315619cb1d85 Mon Sep 17 00:00:00 2001 From: acetone <63557806+acetoneRu@users.noreply.github.com> Date: Fri, 30 Apr 2021 15:43:12 -0400 Subject: [PATCH] Full LeaseSet description --- docs/user-guide/tunnels.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/user-guide/tunnels.md b/docs/user-guide/tunnels.md index a6a0521..cf45926 100644 --- a/docs/user-guide/tunnels.md +++ b/docs/user-guide/tunnels.md @@ -49,12 +49,21 @@ GOSTR3410_CRYPTO_PRO_A_GOSTR3411_256 | 9 | Not compatible with Java router GOSTR3410_TC26_A_512_GOSTR3411_512 | 10 | Not compatible with Java router REDDSA_SHA512_ED25519 | 11 | For keys blinding -Encryption types +LeaseSet ------------ -Parameter `i2cp.leaseSetEncType = ` in a tunnel config. +Available LeaseSet types (parameter `i2cp.leaseSetType = ` in a tunnel config): -Available encryption types: +Type | Code | Comment +----------- | ---- | ----------- +OLD | 1 | **Default** for server tunnels because encryption type for server is `0` +STANDARD | 3 | **Default** for client tunnels because encryption type can be `0` or `4` +ENCRYPTED | 5 | For keys blinding. Hiding information from floodfill. +META | 7 | Not implemented + +*0, 2, 4, 6 types are reserved for routers (RouterInfo types).* + +Available LeaseSet encryption types (parameter `i2cp.leaseSetEncType = ` in a tunnel config): Type | Code | Comment ------------------------------------ | ---- | ----------- @@ -63,7 +72,7 @@ ECIES_P256_SHA256_AES256CBC | 1 | Not compatible with Java router *ECIES_P384_SHA384_AES256CBC* | 2 | Not implemented *ECIES_P521_SHA512_AES256CBC* | 3 | Not implemented ECIES_X25519_AEAD | 4 | **Default** for routers - + Client tunnels --------------