commit db601c3a701acb99daded402ba0f3df55b097728 Author: Damian Johnson atagar@torproject.org Date: Wed Mar 29 21:20:09 2017 -0700
Note ed25519 certificate support on our site --- docs/api.rst | 1 + docs/api/descriptor/certificate.rst | 5 +++++ docs/change_log.rst | 1 + docs/contents.rst | 1 + 4 files changed, 8 insertions(+)
diff --git a/docs/api.rst b/docs/api.rst index 208450b..0644d0b 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -37,6 +37,7 @@ remotely like Tor does. * `stem.descriptor.router_status_entry <api/descriptor/router_status_entry.html>`_ - Relay entries within a network status document. * `stem.descriptor.hidden_service_descriptor <api/descriptor/hidden_service_descriptor.html>`_ - Descriptors generated for hidden services. * `stem.descriptor.tordnsel <api/descriptor/tordnsel.html>`_ - `TorDNSEL https://www.torproject.org/projects/tordnsel.html.en`_ exit lists. + * `stem.descriptor.tordnsel <api/descriptor/certificate.html>`_ - `Ed25519 certificates https://gitweb.torproject.org/torspec.git/tree/cert-spec.txt`_.
* `stem.descriptor.reader <api/descriptor/reader.html>`_ - Reads and parses descriptor files from disk. * `stem.descriptor.remote <api/descriptor/remote.html>`_ - Downloads descriptors from directory mirrors and authorities. diff --git a/docs/api/descriptor/certificate.rst b/docs/api/descriptor/certificate.rst new file mode 100644 index 0000000..f4c2aa3 --- /dev/null +++ b/docs/api/descriptor/certificate.rst @@ -0,0 +1,5 @@ +Certificate +=========== + +.. automodule:: stem.descriptor.certificate + diff --git a/docs/change_log.rst b/docs/change_log.rst index e7993d1..bad162b 100644 --- a/docs/change_log.rst +++ b/docs/change_log.rst @@ -51,6 +51,7 @@ The following are only available within Stem's `git repository
* **Descriptors**
+ * Support and validation for `ed25519 certificates <api/descriptor/certificate.html>`_ (`spec https://gitweb.torproject.org/torspec.git/tree/cert-spec.txt`_, :trac:`21558`) * Moved from the deprecated `pycrypto https://www.dlitz.net/software/pycrypto/`_ module to `cryptography https://pypi.python.org/pypi/cryptography`_ for validating signatures (:trac:`21086`) * Sped descriptor reading by ~25% by deferring defaulting when validating * Support for protocol descriptor fields (:spec:`eb4fb3c`) diff --git a/docs/contents.rst b/docs/contents.rst index 930d4cf..5cbd5bf 100644 --- a/docs/contents.rst +++ b/docs/contents.rst @@ -37,6 +37,7 @@ Contents api/manual api/version
+ api/descriptor/certificate api/descriptor/descriptor api/descriptor/server_descriptor api/descriptor/extrainfo_descriptor