[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Minor doc header adjustment



commit 02da8d9769fb5ed5b3cdf898c940951e3c5d4908
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sun Oct 6 12:56:20 2019 -0700

    Minor doc header adjustment
---
 stem/descriptor/certificate.py    | 2 +-
 stem/descriptor/hidden_service.py | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/stem/descriptor/certificate.py b/stem/descriptor/certificate.py
index e336bbda..6ba92ee7 100644
--- a/stem/descriptor/certificate.py
+++ b/stem/descriptor/certificate.py
@@ -200,7 +200,7 @@ class Ed25519CertificateV1(Ed25519Certificate):
     elif cert_type == 7:
       raise ValueError('Ed25519 certificate cannot have a type of 7. This is reserved for RSA identity cross-certification.')
     elif cert_type == 8:
-      # see rend-spec-v3.txt appendix E for these defintions
+      # see rend-spec-v3.txt appendix E for these definitions
       self.type = CertType.HS_V3_DESC_SIGNING
     elif cert_type == 9:
       self.type = CertType.HS_V3_INTRO_AUTH
diff --git a/stem/descriptor/hidden_service.py b/stem/descriptor/hidden_service.py
index 601348d9..3277e183 100644
--- a/stem/descriptor/hidden_service.py
+++ b/stem/descriptor/hidden_service.py
@@ -21,6 +21,10 @@ These are only available through the Controller's
   BaseHiddenServiceDescriptor - Common parent for hidden service descriptors
     |- HiddenServiceDescriptorV2 - Version 2 hidden service descriptor
     +- HiddenServiceDescriptorV3 - Version 3 hidden service descriptor
+         +- decrypt - decrypt and parse encrypted layers
+
+  OuterLayer - First encrypted layer of a hidden service v3 descriptor
+  InnerLayer - Second encrypted layer of a hidden service v3 descriptor
 
 .. versionadded:: 1.4.0
 """



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits