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

[tor-commits] [stem/master] Hidden service v3 descriptor decryption



commit f1e1902550155b04a4ce3b0c5edfb5420fc11c86
Merge: 6790035c 80def07e
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sat Oct 5 19:03:37 2019 -0700

    Hidden service v3 descriptor decryption
    
    Descriptor decrypt() method that decrypts and parses inner and outer layers. Many
    thanks to George for all the help with the crypto!
    
      https://trac.torproject.org/projects/tor/ticket/31369

 stem/client/datatype.py                            | 145 ++++++-
 stem/descriptor/certificate.py                     | 118 ++++--
 stem/descriptor/hidden_service.py                  | 385 +++++++++++++++++-
 stem/descriptor/server_descriptor.py               |   7 +-
 stem/prereq.py                                     |  47 ++-
 stem/util/connection.py                            |   3 +
 stem/util/tor_tools.py                             |  24 +-
 test/settings.cfg                                  |   3 +
 test/unit/client/link_specifier.py                 |  59 +++
 test/unit/descriptor/certificate.py                |   2 +-
 test/unit/descriptor/data/hidden_service_v3        | 430 ++++++++++-----------
 .../descriptor/data/hidden_service_v3_inner_layer  |  89 +++++
 .../descriptor/data/hidden_service_v3_outer_layer  | Bin 0 -> 10000 bytes
 test/unit/descriptor/hidden_service_v3.py          | 115 +++++-
 14 files changed, 1149 insertions(+), 278 deletions(-)

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