Opened 4 years ago

Closed 4 years ago

#7868 closed defect (fixed)

descriptor parser should be able to parse 'ntor-onion-key'

Reported by: sonu Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

According to ticket #7867 when ntor-onion-key descriptor is added in the dir-spec the same has to be updated in the stem(stem.descriptor.server_descriptor.parse_file()) so that it parses this descriptor and doesn't cause failure in test_cached_descriptor

FAIL: test_cached_descriptor
----------------------------------------------------------------------
Traceback:
  File "/home/sowmya/hackfest_tor/stem/test/integ/descriptor/server_descriptor.py", line 175, in test_cached_descriptor
    self.fail("Unrecognized descriptor content: %s" % unrecognized_lines)
AssertionError: Unrecognized descriptor content: ['ntor-onion-key Od2Sj3UXFyDjwESLXk6fhatqW9z/oBL/vAKJ+tbDqUU=']

Child Tickets

Change History (1)

comment:1 Changed 4 years ago by atagar

  • Resolution set to fixed
  • Status changed from new to closed

Hi sonu. Thanks for the catch! Pushed support for the line...

https://gitweb.torproject.org/stem.git/commitdiff/c78d9cda3ab5fc307264bce774187b6f4188f96d

Note: See TracTickets for help on using tickets.