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

Re: [tor-bugs] #20852 [Core Tor/Tor]: prop224: Update HSDir prop224 code based on newest descriptor changes



#20852: prop224: Update HSDir prop224 code based on newest descriptor changes
-------------------------------------------------+-------------------------
 Reporter:  asn                                  |          Owner:  asn
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.0.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-hs, prop224, TorCoreTeam201612,  |  Actual Points:
  review-group-14                                |
Parent ID:                                       |         Points:  3
 Reviewer:  dgoulet                              |        Sponsor:
                                                 |  SponsorR-can
-------------------------------------------------+-------------------------

Comment (by asn):

 Here is how the outer layer of a descriptor looks like with this branch:
 {{{
 hs-descriptor 3
 descriptor-lifetime 180
 descriptor-signing-key-cert
 -----BEGIN ED25519 CERT-----
 AQgABko2AeTAAhW4h+yIOrjbBWVL25aJJ9vW4WDE12adqqEtNAarAQAgBAB9HiLr
 1Z3xzVDL/01+zT4aPoB2v3QDuR0S6RFQ89+4p9SRolCFM8E3ibI9sXWRggwi1xiR
 ctFFt0bzOJdPy+Vh0pOzMVGMVkZMK2XWnkpOi2cuZthpOakmxhPOqD6xxwQ=
 -----END ED25519 CERT-----
 revision-counter 42
 superencrypted
 -----BEGIN MESSAGE-----
 /Tw4+12EEedrh5Fke7YZRXX5+appjqQr/FtbVE7TPhaaohMOVPVwaN2Vzkz/N64/
 35owFBY+lSDg35YDsBJ8AzSkcBCQiqa8ocVqtQzG/0Io4GXJ+8N6imQry4r4CqLM
 ZVWmjIllxL9FzinYZvhA32vwHFvX/eDF1zu4aaLlMa/ujJOvwKnne4QhuyxFHjOi
 BArNSkmvtSD7Jpu9fcEXoEDpdxxEnhCoIN5X3NgKT//qicTCW8QJuaN5rbgDCl5g
 rQcT+xYgM7RT7x2E9FOx/lt9tU7xn32blfnpr8UkIFJ477zST5TbgszpdQmyugj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ILU1ckKzanMxo0II615/j7GV+84cHgT99NvPlVzDC2jy0Ws+Ler1bL9wKKcfT2B
 eu4wRdtoqxtDEyU9lvNccK0pV5CMFP5Yw77/kTUTv+PzidM63iRD7zYTc9pq03qT
 JOmJ7jJtfAvsXiqRW8dj+TLaVN0pet32zG59DNA/evl1HnYXRkjQFihsa4xTSLYH
 +KkhLNq0dK2uJiC1BWwTIA6rubUGew48GsPv9iL3KASeShgtnqXxgF/nyBKkC2Qz
 90robxnJvFJC/LsHRa+PTo9qnKQSUVc87EIRYYxLxZP0Fj3Z5GoG4TWZerU/e/l4
 PEDHV3wvmgicYTJ9wlk3JGhqOfimFKlj4bojnLw5KvgO0u+BoiZZ8yzhAYvCv2CE
 a7Q5RulHJI80L3cAxeUJcqtjhBclD1fUOIZwQnjxypWrlLegh1G23kKBFh+kI0aR
 9/WC47nYEbuAdLsyaGk23l8UfVgd0PcGKgaNqFvRRp+4rQhSNvGWA0AwmzekdQQM
 d2FKzFmiQeHfT9/6GM7qMJvhAPTRIIYagDJwBHJCPjS+Er9+qh39OFr7S3xJhFBK
 gGAhj1R/t2yjFzNf7/8py3ocy9hYqJFjlDSg+VkLagm1l4do8O8uewUYsxMWFoWD
 4KQaSj7T47FVevwOSpxQ0mU4O14n3kYahjh1bjVi3nT1CKv2cewwV0n00Pgnlfu+
 -----END MESSAGE-----
 signature
 zsSuYOLIPSuyS8szt+z+sZPlUYxCPyWrt28elmyPQ0c6mGENvOz40xdLhErwdaJuHIMrN8bGiaBNVQ5TXRt3BQ
 }}}

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