Add number of privkeys field to CreateLeaseSet2 message

This commit is contained in:
zzz
2019-03-02 19:54:15 +00:00
parent d0589eb0be
commit a572826170
2 changed files with 5 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ I2CP Specification
================== ==================
.. meta:: .. meta::
:category: Protocols :category: Protocols
:lastupdated: February 2019 :lastupdated: March 2019
:accuratefor: 0.9.39 :accuratefor: 0.9.39
.. contents:: .. contents::
@@ -543,7 +543,8 @@ Contents
Type 5 is a [EncryptedLeaseSet]_ Type 5 is a [EncryptedLeaseSet]_
Type 7 is a [MetaLeaseSet]_ Type 7 is a [MetaLeaseSet]_
3. [LeaseSet]_ or [LeaseSet2]_ or [EncryptedLeaseSet]_ or [MetaLeaseSet]_ 3. [LeaseSet]_ or [LeaseSet2]_ or [EncryptedLeaseSet]_ or [MetaLeaseSet]_
4. [PrivateKey]_ list. 4. One byte number of private keys to follow.
5. [PrivateKey]_ list.
One for each public key in the lease set, in the same order. One for each public key in the lease set, in the same order.
(Not present for Meta LS2) (Not present for Meta LS2)
- Encryption type (2 byte [Integer]_) - Encryption type (2 byte [Integer]_)

View File

@@ -5,7 +5,7 @@ New netDB Entries
:author: zzz, str4d, orignal :author: zzz, str4d, orignal
:created: 2016-01-16 :created: 2016-01-16
:thread: http://zzz.i2p/topics/2051 :thread: http://zzz.i2p/topics/2051
:lastupdated: 2019-02-27 :lastupdated: 2019-03-02
:status: Open :status: Open
:supercedes: 110, 120, 121, 122 :supercedes: 110, 120, 121, 122
@@ -1682,6 +1682,7 @@ Format
Type 5 is a encrypted LS2 Type 5 is a encrypted LS2
Type 7 is a meta LS2 Type 7 is a meta LS2
LeaseSet: type specified above LeaseSet: type specified above
Number of private keys to follow (1 byte)
Encryption Private Keys: For each public key in the lease set, Encryption Private Keys: For each public key in the lease set,
in the same order in the same order
(Not present for Meta LS2) (Not present for Meta LS2)