1. 30 Apr, 2021 1 commit
  2. 29 Apr, 2021 1 commit
    • Armin Huremagic's avatar
      Fix for issue #27984 · 6bbc11b2
      Armin Huremagic authored
      Changed the hostname check by using verify_certificate_hostname from the service identity package for complete hostname verification.
      Added wildcard certificates for testing and two additional test cases (test_verifyHostname_matching_wildcard & test_verifyHostname_matching_wildcard_multidns)
      6bbc11b2
  3. 26 Feb, 2021 2 commits
  4. 19 Feb, 2021 1 commit
    • Cecylia Bocovich's avatar
      Bug 40006: Parse remaining descs on validate error · d0144118
      Cecylia Bocovich authored
      If there was a faulty descriptor in the extrainfo document, Stem will
      throw an exception and we loose the rest of the extrainfo descriptors
      in the document. This passes extrainfo file objects to Stem so that if
      an exception is raised on a single descriptor, the rest of the file can
      be parsed starting at the file seek position.
      d0144118
  5. 13 Feb, 2021 1 commit
  6. 12 Feb, 2021 2 commits
  7. 15 Jul, 2020 2 commits
  8. 14 Jul, 2020 3 commits
  9. 09 Jul, 2020 2 commits
  10. 08 Jul, 2020 6 commits
  11. 07 Jul, 2020 3 commits
  12. 02 Jul, 2020 1 commit
  13. 23 Jun, 2020 1 commit
  14. 18 Jun, 2020 1 commit
  15. 04 Jun, 2020 1 commit
  16. 28 May, 2020 1 commit
  17. 27 May, 2020 3 commits
  18. 22 May, 2020 5 commits
    • Philipp Winter's avatar
      a6eb0d1c
    • Philipp Winter's avatar
      Update translations. · 1a42375f
      Philipp Winter authored
      1a42375f
    • Philipp Winter's avatar
      Merge branch 'defect/33945' into develop · 5c0b04ed
      Philipp Winter authored
      5c0b04ed
    • Philipp Winter's avatar
      Use contextlib's context manager. · 2abd54a1
      Philipp Winter authored
      So far, the email autoresponder fails after a while, raising the
      following exception:
      
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
          why = selectable.doRead()
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/twisted/internet/tcp.py", line 243, in doRead
          return self._dataReceived(data)
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/twisted/internet/tcp.py", line 249, in _dataReceived
          rval = self.protocol.dataReceived(data)
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/twisted/protocols/basic.py", line 454, in dataReceived
          self.lineReceived(line)
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/twisted/mail/smtp.py", line 445, in lineReceived
          return getattr(self, 'state_' + self.mode)(line)
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/twisted/mail/smtp.py", line 705, in dataLineReceived
          m.eomReceived() for m in self.__messages
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/twisted/mail/smtp.py", line 705, in <listcomp>
          m.eomReceived() for m in self.__messages
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/bridgedb-0.10.0+11.g4cdd6a61.dirty-py3.7.egg/bridgedb/distributors/email/server.py", line 230, in eomReceived
          self.responder.reply()
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/bridgedb-0.10.0+11.g4cdd6a61.dirty-py3.7.egg/bridgedb/distributors/email/autoresponder.py", line 574, in reply
          response = self.getMailData()
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/bridgedb-0.10.0+11.g4cdd6a61.dirty-py3.7.egg/bridgedb/distributors/email/autoresponder.py", line 392, in getMailData
          client, lang)
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/bridgedb-0.10.0+11.g4cdd6a61.dirty-py3.7.egg/bridgedb/distributors/email/autoresponder.py", line 101, in createResponseBody
          bridges = context.distributor.getBridges(bridgeRequest, interval)
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/bridgedb-0.10.0+11.g4cdd6a61.dirty-py3.7.egg/bridgedb/distributors/email/distributor.py", line 145, in getBridges
          with bridgedb.Storage.getDB() as db:
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/bridgedb-0.10.0+11.g4cdd6a61.dirty-py3.7.egg/bridgedb/Storage.py", line 352, in __enter__
          return next(self.gen)
        File "/home/bridgedb/virtualenvs/bridgedb/lib/python3.7/site-packages/bridgedb-0.10.0+11.g4cdd6a61.dirty-py3.7.egg/bridgedb/Storage.py", line 472, in getDB
          assert _REFCOUNT == 0
      builtins.AssertionError:
      
      It's not clear what caused this regression but it may have been
      introduced in commit c1a48d1b, as part of our conversion to Python 3.
      
      This fixes <https://bugs.torproject.org/33945>.
      2abd54a1
    • Philipp Winter's avatar
      19ba2da7
  19. 20 May, 2020 1 commit
  20. 14 May, 2020 2 commits