1. 05 Jul, 2016 2 commits
    • Karsten Loesing's avatar
    • Karsten Loesing's avatar
      Support other algorithms for directory signatures than sha1. · 90d61b70
      Karsten Loesing authored
       - Support more than one "directory-signature" line in a vote, which
         may become relevant when authorities start signing votes using more
         than one algorithm.
       - Provide directory signatures in consensuses and votes in a list
         rather than a map to support multiple signatures made using the
         same identity key digest but different algorithms.
       - Be more lenient about digest lengths in directory signatures which
         may be longer or shorter than 20 bytes.
      Implements #18875.
      While implementing this, make "sha1" constant and deprecate
      RelayNetworkStatusVote.getSigningKeyDigest(), because it's remissible
      and ambiguous.  Suggested or based on discussions with iwakeh.
  2. 14 Jun, 2016 1 commit
  3. 31 May, 2016 3 commits
  4. 20 May, 2016 5 commits
  5. 26 Apr, 2016 1 commit
  6. 15 Apr, 2016 4 commits
  7. 11 Apr, 2016 1 commit
  8. 28 Dec, 2015 1 commit
  9. 25 Dec, 2015 1 commit
  10. 17 Dec, 2015 3 commits
  11. 15 Dec, 2015 2 commits
    • Karsten Loesing's avatar
      Allow to distinguish between relay and bridge descriptors. · 957d57be
      Karsten Loesing authored
      So far, we did not distinguish between relay and bridge descriptors in
      the case of server descriptors and extra-info descriptors.  This works
      just fine, because we tried hard to re-use existing keywords in relay
      descriptors for sanitized contents in bridge descriptors to facilitate
      However, some applications process both relay and bridge descriptors
      and need to add workarounds for distinguishing between the two.  For
      example, they couldn't just read the contents of CollecTor's recent/
      directory, because they wouldn't be able to know whether a
      ServerDescriptor instance was published by a relay or bridge.  Or even
      worse, if an application expects a given directory to contain relay
      descriptors and that directory suddenly contains bridge descriptors,
      that application wouldn't notice.
      This change adds new interfaces to distinguish between relay and
      bridge descriptors.  It still supports the existing two interfaces
      that don't make this distinction.  Those two interfaces are not
      deprecated, because it's okay if an application does not care whether
      a descriptor was published by a relay or bridge.
      This change is in parts based on a discussion with atagar.  Thanks!
      Implements #17000.
    • iwakeh's avatar
      Introduce a new ExitList.Entry type. · b50e961a
      iwakeh authored
      Patch for #17821
  12. 12 Dec, 2015 1 commit
  13. 10 Dec, 2015 1 commit
  14. 05 Dec, 2015 1 commit
  15. 27 Nov, 2015 1 commit