1. 17 Dec, 2015 1 commit
    • Karsten Loesing's avatar
      Parse Ed25519 and SHA-256 elements in descriptors. · 39a9c496
      Karsten Loesing authored
      More precisely,
       - support Ed25519 certificates and Ed25519 master keys as well as
         SHA-256 digests and Ed25519 signatures thereof in server
         descriptors and extra-info descriptors,
       - parse RSA-1024 signatures of SHA-1 digests of extra-info
         descriptors,
       - parse Ed25519 master keys in votes, and
       - parse Ed25519 and RSA-1024 identity digests in microdescriptors.
      
      This patch is based on metrics-db's bridge descriptor sanitizer.
      39a9c496
  2. 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
      parsing.
      
      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.
      957d57be
    • iwakeh's avatar
      Introduce a new ExitList.Entry type. · b50e961a
      iwakeh authored
      Patch for #17821
      b50e961a
  3. 12 Dec, 2015 1 commit
  4. 10 Dec, 2015 1 commit
  5. 05 Dec, 2015 2 commits
  6. 04 Dec, 2015 1 commit
  7. 02 Dec, 2015 2 commits
  8. 27 Nov, 2015 4 commits
  9. 09 Nov, 2015 5 commits
  10. 23 Oct, 2015 1 commit
  11. 22 Oct, 2015 1 commit
  12. 17 Oct, 2015 1 commit
  13. 14 Sep, 2015 1 commit
  14. 20 Aug, 2015 1 commit
  15. 13 Aug, 2015 1 commit
  16. 05 Aug, 2015 1 commit
  17. 12 Jul, 2015 1 commit
  18. 11 Jul, 2015 1 commit
  19. 29 May, 2015 3 commits
  20. 28 May, 2015 1 commit
  21. 16 May, 2015 1 commit
  22. 19 Jan, 2015 1 commit
  23. 22 Dec, 2014 1 commit
  24. 03 Sep, 2014 1 commit
    • Karsten Loesing's avatar
      Remove circular dependencies between packages. · 99d289f9
      Karsten Loesing authored
       - Use properties to build impl classes in DescriptorSourceFactory.
       - Move DescriptorParseException out of impl package.  For extra backward
         compatibility, keep a copy of that class in impl, but deprecate it.
       - Tidy up the build file.
      
      Patch by iwakeh.  Implements #12868.
      99d289f9
  25. 22 Jul, 2014 1 commit
  26. 18 Jun, 2014 3 commits