commit eff0664caed44c3858a3aeb6cf9bbfc64c764501 Author: Damian Johnson atagar@torproject.org Date: Tue Oct 8 14:31:15 2019 -0700
Fix create_ephemeral_hidden_service() test failure
Tor adjusted its 'BEST' algorithm from RSA1024 to ED25519-V3, the later of which doesn't accept ClientAuth.
https://trac.torproject.org/projects/tor/ticket/32000 --- test/integ/control/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py index bcfc4606..ba4037d8 100644 --- a/test/integ/control/controller.py +++ b/test/integ/control/controller.py @@ -637,7 +637,7 @@ class TestController(unittest.TestCase): runner = test.runner.get_runner()
with runner.get_tor_controller() as controller: - response = controller.create_ephemeral_hidden_service(4567, basic_auth = {'alice': 'nKwfvVPmTNr2k2pG0pzV4g', 'bob': None}) + response = controller.create_ephemeral_hidden_service(4567, key_content = 'RSA1024', basic_auth = {'alice': 'nKwfvVPmTNr2k2pG0pzV4g', 'bob': None}) self.assertEqual([response.service_id], controller.list_ephemeral_hidden_services()) self.assertTrue(response.private_key is not None) self.assertEqual(['bob'], list(response.client_auth.keys())) # newly created credentials were only created for bob
tor-commits@lists.torproject.org