[tor-bugs] #16235 [Tor]: identity-ed25519 is undocumented (was: Proposal 228 needs spec documentation)

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 22 16:48:10 UTC 2015


#16235: identity-ed25519 is undocumented
------------------------+-----------------
     Reporter:  atagar  |      Owner:
         Type:  defect  |     Status:  new
     Priority:  major   |  Milestone:
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+-----------------

Comment (by atagar):

 Tweaking the ticket description to be more precise about what I care
 about. I'm waiting for this before Stem will recognize the new descriptor
 fields. Presently there's 45 server descriptors with the new fields...

 {{{
 % ./tor-prompt
 >>> from stem.descriptor import remote
 >>> downloader = remote.DescriptorDownloader()
 >>> query = downloader.get_server_descriptors()
 >>> results = query.run()
 >>> for desc in results:
 ...   if desc.get_unrecognized_lines():
 ...     print desc.get_unrecognized_lines()
 [u'identity-ed25519 \n-----BEGIN ED25519
 CERT-----\nAQQABhpQARSbXrElkqVNjtI8JDPBdghiviwQmwoygc/rdTcnqCHiAQAgBACVQEQ/\nWeqTHXR+mXH/aCVJ9uZqUIpu3s0AuMwDm7Ki9jqXpHNbZfrPR3qaQhCM5I660RFM\nfCHYKQ1+DHJyJoh6s4nStl0JPkq+U5WEQfUlAHlU0bhSuimwNdxNM0oEQgU=\n
 -----END ED25519 CERT-----', u'master-key-ed25519
 lUBEP1nqkx10fplx/2glSfbmalCKbt7NALjMA5uyovY', u'onion-key-crosscert \n
 -----BEGIN
 CROSSCERT-----\nnqsunFCwziRKIvVomzJRKtGEloFavu7NLAAZqdZeJjJPiFAcCdSvh1KG2fg/hhWQ\nrIqlFyNLXWAa1Mnhw/Ovcn4tzQexUU9vHnixZUOfITId4DGoGfCd17ZB8FzTQ306\naTlRwNYQVfmyv8TvHf8M/vKSFC+NC3TIzh4xfZ+z/KM=\n
 -----END CROSSCERT-----', u'ntor-onion-key-crosscert 0\n-----BEGIN ED25519
 CERT-----\nAQoABhiFAZVARD9Z6pMddH6Zcf9oJUn25mpQim7ezQC4zAObsqL2AK34+b2/L0a9\nOyvXaT0Q8BJJjJ3VSm2E2+prUDOemahUxqdRXj1ICGLPVC3JYJ6hSLep/a2JPhpz\nIl6WsM9bkwE=\n
 -----END ED25519 CERT-----', u'router-sig-ed25519
 V9jQvck/gA1p3VWi7yDOy71H44eo3pNroNiukWaPrvqfWYYlR0/zfwXLk/liLKi8SIpjCUKp+nUDPWn85tihDg']
 [u'identity-ed25519 \n-----BEGIN ED25519
 CERT-----\nAQQABhpoAScsjb4GMSGjE6T7s+22l5ZR4gNdu3GOgIAEPj8KjyaOAQAgBACRjdda\n5NzyMPPGKOiU8sI0JGUiElfupqmHHDgPeijms7yAq1jUQYB3uCyuaG2DhH4gxsd4\n4j3Ty1QiaDiiPLCXX3KP9E2Nw9FUrDBGSePo3J3AWzrdXOtAbnOgCaD4xgQ=\n
 -----END ED25519 CERT-----', u'master-key-ed25519
 kY3XWuTc8jDzxijolPLCNCRlIhJX7qaphxw4D3oo5rM', u'onion-key-crosscert \n
 -----BEGIN
 CROSSCERT-----\nBQCW3hG5y/9wWDe9zwsXyeFKW62IoS7LNDCPletOmzlw2mo7wXnxugMBG0Y2VFH8\nGlenh0Wps7EpjGZ43caS0/mGaAaXWS4wPSPieikxYSlv5cIkCE6dneaHIO2PVVGU\noQSRbhKMzwdnXJXm+dCA/AKpCVFbpkbYNBTnWYPAeuE=\n
 -----END CROSSCERT-----', u'ntor-onion-key-crosscert 1\n-----BEGIN ED25519
 CERT-----\nAQoABhh8AZGN11rk3PIw88Yo6JTywjQkZSISV+6mqYccOA96KOazABwUZc+dbkBP\nBUzzLzit8cKl6LRiWXRoURVNmY5zdnTQtwgQQbsoWfVSeuWgIRFTIxvp2HRn1QS8\nPu0nBlsuZw0=\n
 -----END ED25519 CERT-----', u'router-sig-ed25519
 oWxFdlGijXjo5CdwoV1WEXUeDQwLyfjvLPTqtXvYUjhRAVf74PpfzkcN3CYhV684S+uh3PztadAYEMeszszODw']
 ...
 }}}

 Presently only spot this is mentioned is spec 220...

 {{{
 % torspec$ grep -R 'identity-ed25519' ./*
 ./proposals/220-ecc-id-keys.txt:      "identity-ed25519" NL "-----BEGIN
 ED25519 CERT-----" NL certificate
 ./proposals/220-ecc-id-keys.txt:   When an identity-ed25519 element is
 present, there must also be a
 ./proposals/220-ecc-id-keys.txt:      * If the identity-ed25519 line is
 present, it must be well-formed,
 ./proposals/220-ecc-id-keys.txt:   Extra-info documents now include
 "identity-ed25519" and
 }}}

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


More information about the tor-bugs mailing list