[tor-bugs] #7059 [Tor]: TorControl: Unrecognized (node) key errors

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Oct 26 16:42:18 UTC 2012


#7059: TorControl: Unrecognized (node) key errors
-----------------------------------+----------------------------------------
 Reporter:  mr-4                   |          Owner:  aagbsn            
     Type:  defect                 |         Status:  new               
 Priority:  normal                 |      Milestone:  Tor: unspecified  
Component:  Tor                    |        Version:  Tor: 0.2.4.3-alpha
 Keywords:  tor-client controller  |         Parent:                    
   Points:                         |   Actualpoints:                    
-----------------------------------+----------------------------------------

Comment(by mr-4):

 Replying to [comment:5 nickm]:
 > getInfo is probably calling the GETINFO command of the controller API.
 (I haven't looked at this code in a few years, so I could be wrong.)  If
 that's right , you should be able to use the GETINFO targets starting with
 "md/" to get microdescriptor information.  See control-spec.txt for more
 information on that.
 >
 Even if I get microdescriptor's information (yes, I am able to, thanks
 Nick!), that is no good as most of the time when I execute GETINFO
 (md/id/node) I get this from the microdescriptors:

 onion-key
  -----BEGIN RSA PUBLIC KEY-----
 <RSA_public_key_encoded_in_64base>
  -----END RSA PUBLIC KEY-----

 That "information" isn't enough as it doesn't give me the IP address or
 the OR port used by that node. It is very rare that microdescriptor
 information contains the following lines, in addition to the RSA public
 key:
 a <ip>:<port>
 family <node_hash>*

 The above is not guaranteed, however (indeed, it is the exception, rather
 than the rule), so using md/id/node isn't good. Any other ideas?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7059#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list