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

Re: [tor-bugs] #15004 [Stem]: Hidden service descriptor parsing



#15004: Hidden service descriptor parsing
-----------------------------+--------------------
     Reporter:  atagar       |      Owner:  atagar
         Type:  enhancement  |     Status:  new
     Priority:  major        |  Milestone:
    Component:  Stem         |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------

Comment (by donncha):

 I've fetched a HS descriptor which is encrypted with basic authentication,
 and one which is using stealth authentication:

 {{{
 # Basic Authentication
 rendezvous-service-descriptor yfmvdrkdbyquyqk5vygyeylgj2qmrvrd
 version 2
 permanent-key
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBANHC3bZRrlFFlSu22u18wBG57JpvIhglJE+u0ctMwTnw6iyJJqqxgU6U
 R1gnXJlorQYDC5eHoM8nbBJu7LvUjYnqINz+En+FlpZhT+eqLk0v83IB4r0Fd6Bg
 ypYLygEXUfh0bwHwYfF4mkvl6YOB6I6G5jHC46I3LH15qrdHW40FAgMBAAE=
 -----END RSA PUBLIC KEY-----
 secret-id-part fluw7z3s5cghuuirq3imh5jjj5ljips6
 publication-time 2015-02-24 20:00:00
 protocol-versions 2,3
 introduction-points
 -----BEGIN MESSAGE-----
 AQEAi3xIJz0Qv97ug9kr4U0UNN2kQhkddPHuj4op3cw+fgMLqzPlFBPAJgaEKc+g
 8xBTRKUlvfkXxocfV75GyQGi2Vqu5iN1SbI5Uliu3n8IiUina5+WaOfUs9iuHJIK
 cErgfT0bUfXKDLvW6/ncsgPdb6kb+jjT8NVhR4ZrRUf9ASfcY/f2WFNTmLgOR3Oa
 f2tMLJcAck9VbCDjKfSC6e6HgtxRFe9dX513mDviZp15UAHkjJSKxKvqRRVkL+7W
 KxJGfLY56ypZa4+afBYT/yqLzY4C47/g5TTTx9fvsdp0uQ0AmjF4LeXdZ58yNjrp
 Da63SrgQQM7lZ3k4LGXzDS20FKW2/9rpWgD78QLJGeKdHngD3ER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zCWvXbkmvc6jJaoHGopV8lTM2JUn4xYCSz71Bt4wQBKZX4
 hFXDlDZaY1k/QRP/zTfQ8pjbcohDgUVW8eftJz3ND5Iy8D3nRF9/BQB3PWox4vyQ
 Fj94Eoe8NmEArIKWjUoSkn+EDgNcdHGBIaQ5is0N8r9n4E2cgMj57i4Fm37k8c6+
 hlilrggVJ8qTBGs57M0ldqRLwt1bM6SkU//oMGel7Ft3EDd98W/6RXRkmAbsLhRx
 7VMb4WCUBrIZLxo1/StwHa13RyTHAt0GKPu549l3oTZezsSad8vlurbnIbxtK9Cl
 hp6mYPd3Djoe5OaLe8Gnu23ko+S2+kfHIjOwkza9R5w6AzLjkjYS3C8oRwuxKOft
 lj/7xMZWDrfyw5H86L0QiaZnkmD+nig1+S+Rn39mmuEgl2iwZO/ihlncUJQTEULb
 7IHpmofr+5ya5xWeo/BFQhulTNr2fJN0bPkVGfp+
 -----END MESSAGE-----
 signature
 -----BEGIN SIGNATURE-----
 mhGQNtyvf5QqeFrn1SNzdp8wN5bhEH5gxZhST5t4pFxxNCv3//ZgaQ83kIzcwex9
 xzgGREFHpTrqVPXXs8nZZgMpmnhWuloAyT1c3HSCvjnbWXX9Y82wPbVV5OYx1CYb
 jLides7vbdQuS0UwEkcGMl62Ripwi0pkesgw9ZvJy+k=
 -----END SIGNATURE-----

 }}}
 {{{
 # Stealth Authentication
 rendezvous-service-descriptor ubf3xeibzlfil6s4larq6y5peup2z3oj
 version 2
 permanent-key
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBAL1f7GdEObH+xMhf4GsaTCtfVH7ZpanegC65jn0/Kz9wlkpF+SQdIvTu
 Ha2iZB34GDT2PvTy98chSxz+E3Kv2h45pQWbrwLN3Fj4qa+klclIXWcIa7GT4Pct
 YZzAvHIh9t9EAe6ejYu8I+h4yL6QNAA2bYOi1d66+qCNCAFBgAqpAgMBAAE=
 -----END RSA PUBLIC KEY-----
 secret-id-part jczvydhzetbpdiylj3d5nsnjvaigs7xm
 publ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DmjPSIcJgMcyY7jfH9yPlDt
 SKyyXpZnFOJplS2v28A/1csPSGy9kk/uGN0hfFULH4VvyAgNDYzmeOd8FvrbfHH2
 8BUTI/Tq2pckxwCYBWHcjSdXRAj5moCNSxCUMtK3kWFdxLFYzoiKuiZwq171qb5L
 yCHMwNDIWEMeC75XSMswHaBsK6ON0UUg5oedQkOK+II9L/DVyTs3UYJOsWDfM67E
 312O9/bmsoHvr+rofF7HEc74dtUAcaDGJNyNiB+O4UmWbtEpCfuLmq2vaZa9J7Y0
 hXlD2pcibC9CWpKR58cRL+dyYHZGJ4VKg6OHlJlF+JBPeLzObNDz/zQuEt9aL9Ae
 QByamqGDGcaVMVZ/A80fRoUUgHbh3bLoAmxLCvMbJ0YMtRujdtGm8ZD0WvLXQA/U
 dNmQ6tsP6pyVorWVa/Ma5CR7Em5q7M6639T8WPcu7ETTO19MnWud2lPJ5A==
 -----END MESSAGE-----
 signature
 -----BEGIN SIGNATURE-----
 c8HgXcZesCwAzgDlE3kRYsq059yCIE7MH7r2jBHqJVYPRrtm/HF/mTUykwFPzwsY
 ulcuoNlPfgGMKS8qBL4kFVZ9uR2Y6P4zLchoVS6wjL+cNYOQfeQs3sNZkiIrOjbb
 590tr1/yrt0qUtITGhUGhBZVs9gvkuqaThTIXleEseI=
 -----END SIGNATURE-----
 }}}
 Here are the keys for that hidden service:

 {{{
 # Basic Auth Hostname
 xpe5atmz5d26k26e.onion dCmx3qIvArbil8A0KM4KgQ # client: admin

 # Stealth Auth Hostname
 tosbmbgysyldansp.onion dCmx3qIvArbil8A0KM4KgR # client: admin

 # Stealth Auth Client Keys
 client-name admin
 descriptor-cookie dCmx3qIvArbil8A0KM4KgQ==
 client-key
 -----BEGIN RSA PRIVATE KEY-----
 MIICXAIBAAKBgQC9X+xnRDmx/sTIX+BrGkwrX1R+2aWp3oAuuY59Pys/cJZKRfkk
 HSL07h2tomQd+Bg09j708vfHIUsc/hNyr9oeOaUFm68CzdxY+KmvpJXJSF1nCGux
 k+D3LWGcwLxyIfbfRAHuno2LvCPoeMi+kDQANm2DotXeuvqgjQgBQYAKqQIDAQAB
 AoGAC7Mudt7XNbEI1VxfEB7qz88u+DtYKduOTdS3AfPyJxQ8pNAX6WxHaZyAhua+
 ir92N2dzUkzklA/xhRQJfY9xyUruu8aOrBW6UzZE76s2PQyClgU2jWUi3PVDjoag
 7CrKkBM3/IPq34b6IEIffp68iOFIhStjQHBUpnMlHuBzrAUCQQDyl2JtQAoOK17x
 ZePx8u/jSxnbT2b6vQQ9334KKrEagFmdfHx8uBktkjWgdM2nrX4/TUqgAke3Iz/v
 CIN82mQTAkEAx9eI7KaRyts3EQ4vNJIDxZOglVVIR09xMFhXWfqYRE2PdthqG82E
 JKAJMf9MYYd69XTqjdUud2lxMfkKeM4V0wJAUEAkH1//85AFaHX8Yh2rndVKSHKL
 7oZ40L8OQu68h7fN7Xsw81Ezgw/LDbmWDtIl4WsANM6MStkuXTTDypm0YQJBAJx9
 c4OdjF1F/IEmkmCgVsPJLt7Bwa/VzdUF2KFlUwdplQaDwdOzw97KU2kLekyFQwwj
 WelnHtPzheiUFFc1SnECQClXuBVw/mIoac6mbuw83uhLwSip3Aid8NpDgqQKNQAP
 pRDzVrFeiNNWcvTfiZyM4HvXAK2xD+XNSi8CtSu3zuQ=
 -----END RSA PRIVATE KEY-----
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15004#comment:4>
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