From f61f4911a2875e78eac7173a9ea7d6b0cf951a6f Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Sat, 2 Sep 2017 12:30:13 +0000 Subject: [PATCH] Add notes on certificates (ticket 2035) --- i2p2www/spec/common-structures.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/i2p2www/spec/common-structures.rst b/i2p2www/spec/common-structures.rst index e61eda049..7afd94bba 100644 --- a/i2p2www/spec/common-structures.rst +++ b/i2p2www/spec/common-structures.rst @@ -3,7 +3,7 @@ Common structures Specification =============================== .. meta:: :category: Design - :lastupdated: August 2017 + :lastupdated: September 2017 :accuratefor: 0.9.31 .. contents:: @@ -346,6 +346,9 @@ Notes * For `Destinations`_, the Certificate may be non-NULL. As of 0.9.12, a Key Certificate may be used to specify the signing public key type. See below. +* Implementers are cautioned to prohibit excess data in Certificates. + The appropriate length for each certificate type should be enforced. + .. _Router Identities: #struct_RouterIdentity .. _Garlic Cloves: {{ site_url('docs/spec/i2np') }}#struct_GarlicClove .. _Garlic Messages: {{ site_url('docs/spec/i2np') }}#msg_Garlic @@ -461,6 +464,14 @@ EdDSA_SHA512_Ed25519ph 96 0 JavaDoc: http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/Certificate.html +Notes +````` + +* Implementers are cautioned to prohibit excess data in Key Certificates. + The appropriate length for each certificate type should be enforced. + + + .. _type-Mapping: Mapping -- GitLab