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

Re: [tor-bugs] #33675 [Core Tor/Chutney]: Search microdescriptor files for relay ed25519 keys



#33675: Search microdescriptor files for relay ed25519 keys
-------------------------------------------+-------------------------------
 Reporter:  teor                           |          Owner:  anuradha1904
     Type:  enhancement                    |         Status:
                                           |  needs_revision
 Priority:  Medium                         |      Milestone:
Component:  Core Tor/Chutney               |        Version:
 Severity:  Normal                         |     Resolution:
 Keywords:  ipv6, prop311, outreachy-ipv6  |  Actual Points:  0.2
Parent ID:  #33428                         |         Points:  0.5
 Reviewer:  teor                           |        Sponsor:  Sponsor55-can
-------------------------------------------+-------------------------------

Comment (by teor):

 I see this error:
 {{{
   File "/Users/travis/build/torproject/chutney/lib/chutney/TorNet.py",
 line 843, in _setEd25519Id
     CURRENT_FILE_SIZE = os.stat(key_file).st_size
 OSError: [Errno 2] No such file or directory:
 '/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/tmp.lzZm6Ev0/nodes/005c/keys/ed25519_master_id_public_key'
 }}}
 https://travis-ci.org/github/torproject/chutney/jobs/675703309#L912

 What do you think this error means?

 Remember that we said that the code needs to work, even if the
 `ed25519_master_id_public_key` file does not exist?

 What do we need to do to fix this code?

 How do we catch errors in python?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33675#comment:32>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs