[tor-bugs] #19972 [Core Tor/Tor]: prop224: Proposal fixes from implementation of HSDir support

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 25 09:16:42 UTC 2016


#19972: prop224: Proposal fixes from implementation of HSDir support
------------------------------+------------------------------------
 Reporter:  dgoulet           |          Owner:
     Type:  defect            |         Status:  needs_review
 Priority:  Medium            |      Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor      |        Version:
 Severity:  Normal            |     Resolution:
 Keywords:  proposal, tor-hs  |  Actual Points:  0.1
Parent ID:  #17238            |         Points:  0.5
 Reviewer:                    |        Sponsor:  SponsorR-must
------------------------------+------------------------------------

Comment (by asn):

 We should also mention the prefixed descriptor signature here. Here is
 what I currently do:

 {{{
 /* Prefix required to compute/verify HS desc signatures */
 #define hs_desc_signature_prefix "Tor onion service descriptor sig v3"
 ...
     if (ed25519_sign_prefixed(&sig,
                               (const uint8_t *) encoded_str, encoded_len,
                               hs_desc_signature_prefix,
                               &desc->plaintext_data.signing_kp) < 0) {
 }}}

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


More information about the tor-bugs mailing list