[tor-commits] [Git][tpo/applications/tor-browser] Pushed new branch tor-browser-102.12.0esr-13.0-1

2023-06-01 Thread Pier Angelo Vendrame (@pierov) via tor-commits


Pier Angelo Vendrame pushed new branch tor-browser-102.12.0esr-13.0-1 at The 
Tor Project / Applications / Tor Browser

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/tor-browser-102.12.0esr-13.0-1
You're receiving this email because of your account on gitlab.torproject.org.


___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 02/02: Add test case for multiple v3 client auth keys with ADD_ONION

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch master
in repository stem.

commit 24d7c5b896800b6138c2b3fa1b3a7e7a8d066960
Author: nicolaas 
AuthorDate: Tue May 30 21:22:11 2023 -0700

Add test case for multiple v3 client auth keys with ADD_ONION
---
 test/integ/control/controller.py | 23 +++
 1 file changed, 23 insertions(+)

diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py
index 1c9fd366..b149c341 100644
--- a/test/integ/control/controller.py
+++ b/test/integ/control/controller.py
@@ -738,6 +738,29 @@ class TestController(unittest.TestCase):
   self.assertEqual(True, await 
controller.remove_ephemeral_hidden_service(response.service_id))
   self.assertEqual([], await controller.list_ephemeral_hidden_services())
 
+  @test.require.controller
+  @test.require.version(stem.version.Requirement.ONION_SERVICE_AUTH_ADD)
+  @async_test
+  async def 
test_with_ephemeral_hidden_services_v3_client_auth_multiple_keys(self):
+"""
+Exercises creating v3 ephemeral hidden services with ClientAuthV3.
+"""
+
+runner = test.runner.get_runner()
+
+async with await runner.get_tor_controller() as controller:
+  client_auth_v3_keys = 
['FGTORMIDKR7T2PR632HSHLWA4G6HF5TCWSGMHDUU4LWBEFTAVYQQ', 
'IIFY5QJBTQDEU5IUBZRQVZV3DBWRKZLDYXSRUP7WYYDKSBPCQVVQ']
+  response = await controller.create_ephemeral_hidden_service(4567, 
key_content = 'ED25519-V3', client_auth_v3=client_auth_v3_keys)
+  self.assertEqual([response.service_id], await 
controller.list_ephemeral_hidden_services())
+  self.assertTrue(response.private_key is not None)
+  self.assertEqual('ED25519-V3', response.private_key_type)
+  self.assertEqual({}, response.client_auth)
+
+  # drop the service
+
+  self.assertEqual(True, await 
controller.remove_ephemeral_hidden_service(response.service_id))
+  self.assertEqual([], await controller.list_ephemeral_hidden_services())
+
   @test.require.controller
   @test.require.version(stem.version.Requirement.ONION_SERVICE_AUTH_ADD)
   @async_test

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 01/02: Allow multiple v3 client auth keys with ADD_ONION

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch master
in repository stem.

commit f7c6a4f5f8918d579e9abaa441c89e802f061a1f
Author: nicolaas 
AuthorDate: Tue May 30 21:19:59 2023 -0700

Allow multiple v3 client auth keys with ADD_ONION
---
 stem/control.py | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/stem/control.py b/stem/control.py
index b9e0db24..05d59678 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -2891,7 +2891,7 @@ class Controller(BaseController):
 
 return [r for r in result if r]  # drop any empty responses (GETINFO is 
blank if unset)
 
-  async def create_ephemeral_hidden_service(self, ports: Union[int, 
Sequence[int], Mapping[int, str]], key_type: str = 'NEW', key_content: str = 
'BEST', discard_key: bool = False, detached: bool = False, await_publication: 
bool = False, timeout: Optional[float] = None, basic_auth: 
Optional[Mapping[str, str]] = None, max_streams: Optional[int] = None, 
client_auth_v3: Optional[str] = None) -> 
stem.response.add_onion.AddOnionResponse:
+  async def create_ephemeral_hidden_service(self, ports: Union[int, 
Sequence[int], Mapping[int, str]], key_type: str = 'NEW', key_content: str = 
'BEST', discard_key: bool = False, detached: bool = False, await_publication: 
bool = False, timeout: Optional[float] = None, basic_auth: 
Optional[Mapping[str, str]] = None, max_streams: Optional[int] = None, 
client_auth_v3: Optional[Union[str, Sequence[str]]] = None) -> 
stem.response.add_onion.AddOnionResponse:
 """
 Creates a new hidden service. Unlike
 :func:`~stem.control.Controller.create_hidden_service` this style of
@@ -2994,7 +2994,7 @@ class Controller(BaseController):
 :param basic_auth: required user credentials to access a v2 service
 :param max_streams: maximum number of streams the hidden service will
   accept, unlimited if zero or not set
-:param str client_auth_v3: base32-encoded public key for **version 3**
+:param str client_auth_v3: base32-encoded public key(s) for **version 3**
   onion services that require client authentication
 
 :returns: :class:`~stem.response.add_onion.AddOnionResponse` with the 
response
@@ -3063,8 +3063,13 @@ class Controller(BaseController):
 else:
   request += ' ClientAuth=%s' % client_name
 
-if client_auth_v3 is not None:
+if isinstance(client_auth_v3, str):
   request += ' ClientAuthV3=%s' % client_auth_v3
+elif isinstance(client_auth_v3, list):
+  for v3key in client_auth_v3:
+request += ' ClientAuthV3=%s' % v3key
+else:
+  raise ValueError("The 'client_auth_v3' argument of 
create_ephemeral_hidden_service() needs to be a str or list")
 
 response = 
stem.response._convert_to_add_onion(stem.response._convert_to_add_onion(await 
self.msg(request)))
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] branch master updated (89b0a288 -> 24d7c5b8)

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a change to branch master
in repository stem.

from 89b0a288 Python 3.11 compatibility fix for deprecated coroutine 
decorator
 new f7c6a4f5 Allow multiple v3 client auth keys with ADD_ONION
 new 24d7c5b8 Add test case for multiple v3 client auth keys with ADD_ONION

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 stem/control.py  | 11 ---
 test/integ/control/controller.py | 23 +++
 2 files changed, 31 insertions(+), 3 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 20/20: Stem release 1.8.2

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 9caac653612d01719de8f29897e1d8051b309279
Author: juga 
AuthorDate: Mon May 22 15:24:30 2023 +

Stem release 1.8.2
---
 stem/__init__.py | 2 +-
 stem/control.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stem/__init__.py b/stem/__init__.py
index 0c68df7b..00eafc5c 100644
--- a/stem/__init__.py
+++ b/stem/__init__.py
@@ -507,7 +507,7 @@ import traceback
 import stem.util
 import stem.util.enum
 
-__version__ = '1.8.1-maint'
+__version__ = '1.8.2'
 __author__ = 'Damian Johnson'
 __contact__ = 'ata...@torproject.org'
 __url__ = 'https://stem.torproject.org/'
diff --git a/stem/control.py b/stem/control.py
index e6fab6cf..d2494ca9 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -3025,7 +3025,7 @@ class Controller(BaseController):
 .. versionchanged:: 1.7.0
Added the timeout and max_streams arguments.
 
-.. versionchanged:: 1.8.1
+.. versionchanged:: 1.8.2
Added the client_auth_v3 argument.
 
 :param int,list,dict ports: hidden service port(s) or mapping of hidden

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 19/20: Add search to navbar and body

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 118c0369d22db3a438e7a1ec66fec24927dd88ea
Author: juga 
AuthorDate: Tue May 30 13:54:58 2023 +

Add search to navbar and body

as well as contents and modindex to body too.
search! \o/
---
 docs/_templates/layout.html | 1 +
 docs/contents.rst   | 2 ++
 docs/index.rst  | 4 
 3 files changed, 7 insertions(+)

diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index fd13286b..79bf7f9f 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -63,6 +63,7 @@
   https://www.atagar.com/contact/;>Author
 
   
+  Search
 
 
 {%- block haikurel2 %}
diff --git a/docs/contents.rst b/docs/contents.rst
index 87e75220..f5f4f8cc 100644
--- a/docs/contents.rst
+++ b/docs/contents.rst
@@ -1,3 +1,5 @@
+.. _contents:
+
 Contents
 
 
diff --git a/docs/index.rst b/docs/index.rst
index d8639cf2..16ed31ac 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -11,6 +11,10 @@ Welcome to Stem!
 
 Stem is a Python controller library for `Tor `_. 
With it you can use Tor's `control protocol 
`_ to script 
against the Tor process, or build things such as `Nyx 
`_. Stem's latest version is **1.8.1** (released 
September, 2022).
 
+* :ref:`contents`
+* :ref:`modindex`
+* :ref:`search`
+
 .. Main Stem Logo
Source: http://www.wpclipart.com/plants/assorted/P/plant_stem.png.html
Author: Jakub Jankiewicz

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 16/20: Remove python unsupported versions

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 2b15e4abb17c51fa2e4596796f8df81e91566ab7
Author: juga 
AuthorDate: Mon May 22 15:26:25 2023 +

Remove python unsupported versions

and add python 3.11
---
 .gitlab-ci.yml | 9 -
 tox.ini| 3 +--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index feec5d44..8f1489bc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,7 @@
 # ~~0.4.6 EOL on or after June 15, 2022~~
 # ~~0.4.5 (LTS) EOL Feb 15, 2023~~
 # Python stable releases: https://www.python.org/downloads/
+# 3.11 EOL 2027-10, PEP 664
 # 3.10 EOL 2026-10, PEP 619
 # 3.9 EOL 2025-10, PEP 596
 # 3.8 EOL 2024-10, PEP 569
@@ -87,6 +88,12 @@ python310:
   script:
 - tox -e py310
 
+python311:
+  variables:
+BASE_IMAGE: python:3.11
+  script:
+- tox -e py311
+
 release_job:
   before_script:
 - echo "Nothing"
@@ -102,7 +109,7 @@ release_job:
 tag_name: "$CI_COMMIT_TAG"
 ref: "$CI_COMMIT_TAG"
 milestones:
-  - "stem: 1.8.1"
+  - "stem: 1.8.2"
 
 pages:
   before_script:
diff --git a/tox.ini b/tox.ini
index 8ddd1896..5916ea6a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 skip_missing_interpreters = True
-envlist = py26,py27,py32,py33,py34,py35,py36,py37,jython,pypy
+envlist = py37,py38,py39,py310,py311,jython,pypy
 skipsdist = True
 
 [testenv]
@@ -11,4 +11,3 @@ commands =
  rm -rf stem.egg-info
 deps =
  -rrequirements.txt
-

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 17/20: Fix logo and favicon locations

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit d3867faece77a7f46d1c9d82efef9016c8521d4b
Author: juga 
AuthorDate: Tue May 30 13:58:50 2023 +

Fix logo and favicon locations
---
 docs/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 6535135b..ae33baa4 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -123,13 +123,13 @@ html_short_title = 'Stem Docs'
 # The name of an image file (relative to this directory) to place at the top
 # of the sidebar.
 
-html_logo = 'logo.png'
+html_logo = '_static/logo.png'
 
 # The name of an image file (within the static path) to use as favicon of the
 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
 # pixels large.
 
-html_favicon = 'favicon.png'
+html_favicon = '_static/favicon.png'
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 18/20: Add new line before reference

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 762a52a266051ac82661c4f0d0d1303ad07a0e5b
Author: juga 
AuthorDate: Tue May 30 13:59:24 2023 +

Add new line before reference
---
 docs/tutorials/east_of_the_sun.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/tutorials/east_of_the_sun.rst 
b/docs/tutorials/east_of_the_sun.rst
index 4303170f..5b386e0e 100644
--- a/docs/tutorials/east_of_the_sun.rst
+++ b/docs/tutorials/east_of_the_sun.rst
@@ -62,6 +62,7 @@ that <../api/util/system.html#stem.util.system.DaemonTask>`_.
 
   % python fibonacci_multiprocessing.py
   took 6.2 seconds
+
 .. _connection-resolution:
 
 Connection Resolution

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 15/20: Remove tests for deprecated tor version

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 61311d54fc55413de03d530d5d6e16062ad87afb
Author: juga 
AuthorDate: Wed May 31 11:22:35 2023 +

Remove tests for deprecated tor version
---
 .gitlab-ci.yml | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d9d3a8bf..feec5d44 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@
 # 0.4.8
 # 0.4.7 stable by March 15, 2022
 # ~~0.4.6 EOL on or after June 15, 2022~~
-# 0.4.5 (LTS) EOL Feb 15, 2023
+# ~~0.4.5 (LTS) EOL Feb 15, 2023~~
 # Python stable releases: https://www.python.org/downloads/
 # 3.10 EOL 2026-10, PEP 619
 # 3.9 EOL 2025-10, PEP 596
@@ -52,13 +52,6 @@ python38:
   script:
 - tox -e py38
 
-python39tor045:
-  variables:
-RELEASE: tor-nightly-0.4.5.x-bullseye
-TOR: tor/tor-nightly-0.4.5.x-bullseye
-  script:
-- tox -e py39
-
 python39tormaster:
   # This will overwrite the default before_script, so need to repeat the
   # commands

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 13/20: Remove system test with no raised exception

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit edcb030bf96d101de0666f6d722dd08910a6be46
Author: juga 
AuthorDate: Wed May 31 09:57:31 2023 +

Remove system test with no raised exception
---
 test/unit/util/system.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/unit/util/system.py b/test/unit/util/system.py
index b4fb81ea..1831876f 100644
--- a/test/unit/util/system.py
+++ b/test/unit/util/system.py
@@ -411,7 +411,8 @@ class TestSystem(unittest.TestCase):
 
 fd, temp_path = tempfile.mkstemp()
 os.chmod(temp_path, 0o077)  # remove read permissions
-self.assertRaises(IOError, list, system.tail(temp_path))
+# AssertionError: OSError not raised by list
+# self.assertRaises(IOError, list, system.tail(temp_path))
 os.close(fd)
 os.remove(temp_path)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 14/20: Fix tox missing external command `rm`

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 942f0844277918acf550eb43beaf54bc482401cf
Author: juga 
AuthorDate: Wed May 31 11:13:11 2023 +

Fix tox missing external command `rm`
---
 tox.ini | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tox.ini b/tox.ini
index daaf4130..8ddd1896 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,6 +4,7 @@ envlist = py26,py27,py32,py33,py34,py35,py36,py37,jython,pypy
 skipsdist = True
 
 [testenv]
+allowlist_externals = rm
 commands =
  pip install -e .
  python run_tests.py {posargs:-a}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 11/20: Disable installation test which fails

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 54bb1014937418c4260a8909619d4ab93b854420
Author: juga 
AuthorDate: Wed May 31 08:57:58 2023 +

Disable installation test which fails
---
 test/integ/installation.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/integ/installation.py b/test/integ/installation.py
index 2ac655aa..36afcb79 100644
--- a/test/integ/installation.py
+++ b/test/integ/installation.py
@@ -63,6 +63,7 @@ class TestInstallation(unittest.TestCase):
 test_install.run()
 
stem.util.test_tools.ASYNC_TESTS['test.integ.installation.test_sdist'].run(test_install.pid())
 
+  @unittest.skip('Installation is correct but coded the methods used to check 
it fail and `setup.py` is deprecated anyway.')
   @asynchronous
   def test_install():
 """
@@ -96,6 +97,7 @@ class TestInstallation(unittest.TestCase):
   if os.path.exists(BASE_INSTALL_PATH):
 shutil.rmtree(BASE_INSTALL_PATH)
 
+  @unittest.skip('Installation is correct but the coded methods used to check 
it fail and `setup.py` is deprecated anyway.')
   @asynchronous
   def test_sdist(dependency_pid):
 """

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 10/20: Fix controller test `OperationFalied`

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit a12142b93afef6287a520ec881adc8ae6561c451
Author: juga 
AuthorDate: Wed May 31 08:06:10 2023 +

Fix controller test `OperationFalied`
---
 test/integ/control/controller.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py
index c664e168..a3a35072 100644
--- a/test/integ/control/controller.py
+++ b/test/integ/control/controller.py
@@ -276,7 +276,8 @@ class TestController(unittest.TestCase):
 
   self.assertEqual(nickname, server_desc.nickname)
   self.assertEqual(nickname, extrainfo_desc.nickname)
-  self.assertEqual(controller.get_info('address'), server_desc.address)
+  # stem.OperationFailed: Address unknown
+  # self.assertEqual(controller.get_info('address'), server_desc.address)
   self.assertEqual(test.runner.ORPORT, server_desc.or_port)
 
   @test.require.controller

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 08/20: Fix static check E741

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 12050440049f0f73a71d2f561114b622029de4b2
Author: juga 
AuthorDate: Wed May 31 07:30:40 2023 +

Fix static check E741
---
 stem/descriptor/hidden_service.py | 2 +-
 stem/interpreter/commands.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stem/descriptor/hidden_service.py 
b/stem/descriptor/hidden_service.py
index 01f8b96f..c65fd5f3 100644
--- a/stem/descriptor/hidden_service.py
+++ b/stem/descriptor/hidden_service.py
@@ -286,7 +286,7 @@ class 
IntroductionPointV3(collections.namedtuple('IntroductionPointV3', ['link_s
 lines = []
 
 link_count = stem.client.datatype.Size.CHAR.pack(len(self.link_specifiers))
-link_specifiers = link_count + b''.join([l.pack() for l in 
self.link_specifiers])
+link_specifiers = link_count + b''.join([link.pack() for link in 
self.link_specifiers])
 lines.append('introduction-point %s' % 
stem.util.str_tools._to_unicode(base64.b64encode(link_specifiers)))
 lines.append('onion-key ntor %s' % self.onion_key_raw)
 lines.append('auth-key\n' + self.auth_key_cert.to_base64(pem = True))
diff --git a/stem/interpreter/commands.py b/stem/interpreter/commands.py
index fe0e1341..95c6dcfb 100644
--- a/stem/interpreter/commands.py
+++ b/stem/interpreter/commands.py
@@ -271,7 +271,7 @@ class ControlInterpreter(code.InteractiveConsole):
 for label, desc in descriptor_section:
   if desc:
 lines += ['', div, format(label, *BOLD_OUTPUT), div, '']
-lines += [format(l, *STANDARD_OUTPUT) for l in str(desc).splitlines()]
+lines += [format(line, *STANDARD_OUTPUT) for line in 
str(desc).splitlines()]
 
 return '\n'.join(lines)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 12/20: Replace cryptography's X25519PublicKey module

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 0b79441858f7a9e06da386c24ce6a8d8b397a18c
Author: juga 
AuthorDate: Wed May 31 09:52:07 2023 +

Replace cryptography's X25519PublicKey module

with it's new module's path
---
 test/unit/descriptor/hidden_service_v3.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/descriptor/hidden_service_v3.py 
b/test/unit/descriptor/hidden_service_v3.py
index 33507314..5a02a70b 100644
--- a/test/unit/descriptor/hidden_service_v3.py
+++ b/test/unit/descriptor/hidden_service_v3.py
@@ -269,7 +269,7 @@ class TestHiddenServiceDescriptorV3(unittest.TestCase):
   pubkey_b64 = base64.b64encode(pubkey)
   return stem.util.str_tools._to_unicode(pubkey_b64)
 
-from cryptography.hazmat.backends.openssl.x25519 import X25519PublicKey
+from cryptography.hazmat.primitives.asymmetric.x25519 import 
X25519PublicKey
 
 intro_point = InnerLayer(INNER_LAYER_STR).introduction_points[0]
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 07/20: Fix undefined name 'xrange'

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 2003eba9a545a31d528b05174be9489c0489fe33
Author: juga 
AuthorDate: Wed May 31 07:25:28 2023 +

Fix undefined name 'xrange'

by removing support for Python versions < 3.
---
 stem/util/ed25519.py | 23 +++
 1 file changed, 3 insertions(+), 20 deletions(-)

diff --git a/stem/util/ed25519.py b/stem/util/ed25519.py
index 67b2db3c..a05e1701 100644
--- a/stem/util/ed25519.py
+++ b/stem/util/ed25519.py
@@ -41,29 +41,12 @@ arithmetic, so we cannot handle secrets without risking 
their disclosure.
 
 import hashlib
 import operator
-import sys
-
 
 __version__ = "1.0.dev0"
 
-
-# Useful for very coarse version differentiation.
-PY3 = sys.version_info[0] == 3
-
-if PY3:
-indexbytes = operator.getitem
-intlist2bytes = bytes
-int2byte = operator.methodcaller("to_bytes", 1, "big")
-else:
-int2byte = chr
-range = xrange
-
-def indexbytes(buf, i):
-return ord(buf[i])
-
-def intlist2bytes(l):
-return b"".join(chr(c) for c in l)
-
+indexbytes = operator.getitem
+intlist2bytes = bytes
+int2byte = operator.methodcaller("to_bytes", 1, "big")
 
 b = 256
 q = 2 ** 255 - 19

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 09/20: Fix controller tests returning tuples

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 9c507727f8017dc73d9f6895700db71f2cf683bc
Author: juga 
AuthorDate: Wed May 31 07:46:52 2023 +

Fix controller tests returning tuples

for addresses and ports
---
 test/integ/control/controller.py | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py
index ff36c9af..c664e168 100644
--- a/test/integ/control/controller.py
+++ b/test/integ/control/controller.py
@@ -962,7 +962,11 @@ class TestController(unittest.TestCase):
 runner = test.runner.get_runner()
 
 with runner.get_tor_controller() as controller:
-  self.assertEqual([test.runner.ORPORT], controller.get_ports(Listener.OR))
+  # `controller.get_ports(Listener.OR))` returns `[1113, 1113]`
+  self.assertEqual(
+[test.runner.ORPORT, test.runner.ORPORT],
+controller.get_ports(Listener.OR)
+  )
   self.assertEqual([], controller.get_ports(Listener.DIR))
   self.assertEqual([test.runner.SOCKS_PORT], 
controller.get_ports(Listener.SOCKS))
   self.assertEqual([], controller.get_ports(Listener.TRANS))
@@ -983,7 +987,11 @@ class TestController(unittest.TestCase):
 runner = test.runner.get_runner()
 
 with runner.get_tor_controller() as controller:
-  self.assertEqual([('0.0.0.0', test.runner.ORPORT)], 
controller.get_listeners(Listener.OR))
+  # `controller.get_listeners(Listener.OR)` returns `[('0.0.0.0', 1113), 
('::', 1113)]`
+  self.assertEqual(
+[('0.0.0.0', test.runner.ORPORT), ("::", test.runner.ORPORT)],
+controller.get_listeners(Listener.OR)
+  )
   self.assertEqual([], controller.get_listeners(Listener.DIR))
   self.assertEqual([('127.0.0.1', test.runner.SOCKS_PORT)], 
controller.get_listeners(Listener.SOCKS))
   self.assertEqual([], controller.get_listeners(Listener.TRANS))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 06/20: Fix getting version of `unittest.mock`

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit f4d7028fed20181a3a4d93f9b78ba40e8d4e19fd
Author: juga 
AuthorDate: Wed May 31 07:12:02 2023 +

Fix getting version of `unittest.mock`
---
 test/task.py | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/test/task.py b/test/task.py
index 272c4ddf..118ba8e1 100644
--- a/test/task.py
+++ b/test/task.py
@@ -306,7 +306,14 @@ class ModuleVersion(Task):
   if prereq_check is None or prereq_check():
 for module in modules:
   if HAS_IMPORTLIB and stem.util.test_tools._module_exists(module):
-return importlib.import_module(module).__version__
+# unittest.mock has no attribute `__version__`: just use empty
+# string for native modules' version.
+try:
+  version = importlib.import_module(module).__version__
+except Exception:
+  version = ''
+finally:
+  return version
 
   return 'missing'
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 04/20: Fix test failure with python3.11

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 0bf9aee7151e65594c532826bb04636e1d80fb6f
Author: juga 
AuthorDate: Tue May 30 08:50:36 2023 +

Fix test failure with python3.11

Applied patch from 
https://salsa.debian.org/debian/python-stem/-/commit/4b02051b35418a45b045379f69c59cd8904eade4
Author: Bas Couwenberg   2023-01-19 09:03:34

Path b8063b3b23af95e02b27848f6ab5c82edd644609 isn't applicable as it is 
this maint branch.

Closes #130
---
 stem/control.py   | 2 +-
 stem/prereq.py| 2 +-
 stem/util/conf.py | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/stem/control.py b/stem/control.py
index e192e295..e6fab6cf 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -474,7 +474,7 @@ def with_default(yields = False):
 
   def decorator(func):
 def get_default(func, args, kwargs):
-  arg_names = inspect.getargspec(func).args[1:]  # drop 'self'
+  arg_names = inspect.getfullargspec(func).args[1:]  # drop 'self'
   default_position = arg_names.index('default') if 'default' in arg_names 
else None
 
   if default_position is not None and default_position < len(args):
diff --git a/stem/prereq.py b/stem/prereq.py
index d0963c3f..e7ab4a74 100644
--- a/stem/prereq.py
+++ b/stem/prereq.py
@@ -241,7 +241,7 @@ def is_mock_available():
 
 # check for mock's new_callable argument for patch() which was introduced 
in version 0.8.0
 
-if 'new_callable' not in inspect.getargspec(mock.patch).args:
+if 'new_callable' not in inspect.getfullargspec(mock.patch).args:
   raise ImportError()
 
 return True
diff --git a/stem/util/conf.py b/stem/util/conf.py
index 80399810..15c4db8b 100644
--- a/stem/util/conf.py
+++ b/stem/util/conf.py
@@ -285,7 +285,7 @@ def uses_settings(handle, path, lazy_load = True):
 config.load(path)
 config._settings_loaded = True
 
-  if 'config' in inspect.getargspec(func).args:
+  if 'config' in inspect.getfullargspec(func).args:
 return func(*args, config = config, **kwargs)
   else:
 return func(*args, **kwargs)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 05/20: Add Arch Linux missing link to docs

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 72180d831effe43818cea69a743a9e71654f8ec4
Author: juga 
AuthorDate: Tue May 30 09:49:08 2023 +

Add Arch Linux missing link to docs

Seems to close #129
---
 docs/download.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/download.rst b/docs/download.rst
index 2b80916e..71719a1e 100644
--- a/docs/download.rst
+++ b/docs/download.rst
@@ -162,7 +162,8 @@ Download
  - .. image:: /_static/label/archlinux.png
   :target: 
https://www.archlinux.org/packages/community/any/python-stem/
 
-   Package by Sjon for `Arch Linux...
+   Package by Sjon for `Arch Linux
+   `_.
 
::
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] branch maint updated (bf502783 -> 9caac653)

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a change to branch maint
in repository stem.

from bf502783 Fix last release tarball sha256 and add signature
 new f46e7b22 Update OpenBSD package name
 new 9844b4f1 Removal of int_from_bytes
 new 8086dadf Add reproducible build patch
 new 0bf9aee7 Fix test failure with python3.11
 new 72180d83 Add Arch Linux missing link to docs
 new f4d7028f Fix getting version of `unittest.mock`
 new 2003eba9 Fix undefined name 'xrange'
 new 12050440 Fix static check E741
 new 9c507727 Fix controller tests returning tuples
 new a12142b9 Fix controller test `OperationFalied`
 new 54bb1014 Disable installation test which fails
 new 0b794418 Replace cryptography's X25519PublicKey module
 new edcb030b Remove system test with no raised exception
 new 942f0844 Fix tox missing external command `rm`
 new 61311d54 Remove tests for deprecated tor version
 new 2b15e4ab Remove python unsupported versions
 new d3867fae Fix logo and favicon locations
 new 762a52a2 Add new line before reference
 new 118c0369 Add search to navbar and body
 new 9caac653 Stem release 1.8.2

The 20 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitlab-ci.yml| 18 +-
 docs/_templates/layout.html   |  1 +
 docs/conf.py  |  4 ++--
 docs/contents.rst |  2 ++
 docs/download.rst |  5 +++--
 docs/index.rst|  4 
 docs/tutorials/east_of_the_sun.rst|  1 +
 stem/__init__.py  |  2 +-
 stem/control.py   |  4 ++--
 stem/descriptor/__init__.py   |  4 ++--
 stem/descriptor/hidden_service.py |  2 +-
 stem/directory.py |  4 +++-
 stem/interpreter/commands.py  |  2 +-
 stem/prereq.py|  4 ++--
 stem/util/conf.py |  2 +-
 stem/util/ed25519.py  | 23 +++
 test/integ/control/controller.py  | 15 ---
 test/integ/installation.py|  2 ++
 test/settings.cfg |  1 -
 test/task.py  |  9 -
 test/unit/descriptor/hidden_service_v3.py |  2 +-
 test/unit/util/system.py  |  3 ++-
 tox.ini   |  4 ++--
 23 files changed, 65 insertions(+), 53 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 03/20: Add reproducible build patch

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 8086dadf9a2388cde08f19849076956e47d30514
Author: juga 
AuthorDate: Tue May 30 08:41:28 2023 +

Add reproducible build patch

Apply patch from 
https://salsa.debian.org/debian/python-stem/-/commit/46e214c62b08493086729d780e1e7840b8392bb8.

Description: Make the build reproducible
Author: Chris Lamb 
Last-Update: 2020-06-23
---
 stem/directory.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/stem/directory.py b/stem/directory.py
index 8139a935..3a3644dc 100644
--- a/stem/directory.py
+++ b/stem/directory.py
@@ -372,7 +372,9 @@ class Fallback(Directory):
 self.header = OrderedDict(header) if header else OrderedDict()
 
   @staticmethod
-  def from_cache(path = FALLBACK_CACHE_PATH):
+  def from_cache(path = None):
+if path is None:
+path = FALLBACK_CACHE_PATH
 conf = stem.util.conf.Config()
 conf.load(path)
 headers = OrderedDict([(k.split('.', 1)[1], conf.get(k)) for k in 
conf.keys() if k.startswith('header.')])

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 02/20: Removal of int_from_bytes

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 9844b4f103b37f3f6b62c9d2c1f0abb643ed1814
Author: juga 
AuthorDate: Tue May 30 08:44:42 2023 +

Removal of int_from_bytes

Apply patch 
https://salsa.debian.org/debian/python-stem/-/commit/dd1b86f174e948b04821d7d897cdd15bbb79b6f4
Author: Federico Ceratto   2023-01-14 11:49:58

Patch 56f3daa4c124dae3e050b76d531480f8e233cc59 isn't applicable as it is in 
maint branch.

Closes #105
---
 stem/descriptor/__init__.py | 4 ++--
 stem/prereq.py  | 2 +-
 test/settings.cfg   | 1 -
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/stem/descriptor/__init__.py b/stem/descriptor/__init__.py
index 49a4d4b5..070b8684 100644
--- a/stem/descriptor/__init__.py
+++ b/stem/descriptor/__init__.py
@@ -1052,14 +1052,14 @@ class Descriptor(object):
 
 from cryptography.hazmat.backends import default_backend
 from cryptography.hazmat.primitives.serialization import 
load_der_public_key
-from cryptography.utils import int_to_bytes, int_from_bytes
+from cryptography.utils import int_to_bytes
 
 key = load_der_public_key(_bytes_for_block(signing_key), default_backend())
 modulus = key.public_numbers().n
 public_exponent = key.public_numbers().e
 
 sig_as_bytes = _bytes_for_block(signature)
-sig_as_long = int_from_bytes(sig_as_bytes, byteorder='big')  # convert 
signature to an int
+sig_as_long = int.from_bytes(sig_as_bytes, byteorder='big')  # convert 
signature to an int
 blocksize = len(sig_as_bytes)  # 256B for NetworkStatusDocuments, 128B for 
others
 
 # use the public exponent[e] & the modulus[n] to decrypt the int
diff --git a/stem/prereq.py b/stem/prereq.py
index 4af6c093..d0963c3f 100644
--- a/stem/prereq.py
+++ b/stem/prereq.py
@@ -139,7 +139,7 @@ def is_crypto_available(ed25519 = False):
   from stem.util import log
 
   try:
-from cryptography.utils import int_from_bytes, int_to_bytes
+from cryptography.utils import int_to_bytes
 from cryptography.hazmat.backends import default_backend
 from cryptography.hazmat.backends.openssl.backend import backend
 from cryptography.hazmat.primitives.asymmetric import rsa
diff --git a/test/settings.cfg b/test/settings.cfg
index 2c18110f..684fd6a2 100644
--- a/test/settings.cfg
+++ b/test/settings.cfg
@@ -190,7 +190,6 @@ pyflakes.ignore run_tests.py => 'unittest' imported but 
unused
 pyflakes.ignore stem/control.py => undefined name 'controller'
 pyflakes.ignore stem/manual.py => undefined name 'unichr'
 pyflakes.ignore stem/prereq.py => 'int_to_bytes' imported but unused
-pyflakes.ignore stem/prereq.py => 'int_from_bytes' imported but unused
 pyflakes.ignore stem/prereq.py => 'default_backend' imported but unused
 pyflakes.ignore stem/prereq.py => 'load_der_public_key' imported but unused
 pyflakes.ignore stem/prereq.py => 'modes' imported but unused

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [stem] 01/20: Update OpenBSD package name

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit f46e7b22c0341aa49506bdeafbbbc63bfca4369f
Author: Damian Johnson 
AuthorDate: Fri Dec 31 14:51:13 2021 -0800

Update OpenBSD package name

Fix from nyxnor...

  https://github.com/torproject/stem/pull/113
---
 docs/download.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/download.rst b/docs/download.rst
index b26650bd..2b80916e 100644
--- a/docs/download.rst
+++ b/docs/download.rst
@@ -200,7 +200,7 @@ Download
 
::
 
-   % pkg_add py-stem
+   % pkg_add py3-stem
 
* - .. image:: /_static/section/download/netbsd.png
   :target: http://pkgsrc.se/net/py-stem

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [Git][tpo/applications/tor-browser] Pushed new branch base-browser-102.12.0esr-12.5-1

2023-06-01 Thread richard (@richard) via tor-commits


richard pushed new branch base-browser-102.12.0esr-12.5-1 at The Tor Project / 
Applications / Tor Browser

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/base-browser-102.12.0esr-12.5-1
You're receiving this email because of your account on gitlab.torproject.org.


___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [Git][tpo/applications/tor-browser] Pushed new tag base-browser-102.12.0esr-12.5-1-build1

2023-06-01 Thread richard (@richard) via tor-commits


richard pushed new tag base-browser-102.12.0esr-12.5-1-build1 at The Tor 
Project / Applications / Tor Browser

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/base-browser-102.12.0esr-12.5-1-build1
You're receiving this email because of your account on gitlab.torproject.org.


___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [Git][tpo/applications/tor-browser] Pushed new tag tor-browser-102.12.0esr-12.5-1-build1

2023-06-01 Thread richard (@richard) via tor-commits


richard pushed new tag tor-browser-102.12.0esr-12.5-1-build1 at The Tor Project 
/ Applications / Tor Browser

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/tor-browser-102.12.0esr-12.5-1-build1
You're receiving this email because of your account on gitlab.torproject.org.


___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [Git][tpo/applications/tor-browser-build] Pushed new tag mb-12.0.7-build1

2023-06-01 Thread richard (@richard) via tor-commits


richard pushed new tag mb-12.0.7-build1 at The Tor Project / Applications / 
tor-browser-build

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/tree/mb-12.0.7-build1
You're receiving this email because of your account on gitlab.torproject.org.


___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [Git][tpo/applications/tor-browser-build][maint-12.0-mullvad] Bug 40862: Prepare Mullvad Browser Release 12.0.7

2023-06-01 Thread richard (@richard) via tor-commits


richard pushed to branch maint-12.0-mullvad at The Tor Project / Applications / 
tor-browser-build


Commits:
3b86eb93 by Richard Pospesel at 2023-06-01T18:27:26+00:00
Bug 40862: Prepare Mullvad Browser Release 12.0.7

- - - - -


3 changed files:

- projects/browser/config
- projects/firefox/config
- rbm.conf


Changes:

=
projects/browser/config
=
@@ -103,9 +103,9 @@ input_files:
 enable: '[% ! c("var/android") %]'
   - filename: Bundle-Data
 enable: '[% ! c("var/android") %]'
-  - URL: 
https://addons.mozilla.org/firefox/downloads/file/4090970/noscript-11.4.21.xpi
+  - URL: 
https://addons.mozilla.org/firefox/downloads/file/4111078/noscript-11.4.22.xpi
 name: noscript
-sha256sum: 0fd3b66a2780d03a5b3cd460216105f3df2b27c6d3a552c1769c5de48c9e2338
+sha256sum: 46a84c85df4c6be11905388ad2b66aeb5a010ed615484112c8c1710ad13bc36e
   - URL: 
https://addons.mozilla.org/firefox/downloads/file/4103048/ublock_origin-1.49.2.xpi
 name: ublock-origin
 sha256sum: 39266486f720cd31d291d2fdad78625b079782a05517e1936eec7e780bc2a84d


=
projects/firefox/config
=
@@ -11,7 +11,7 @@ container:
   use_container: 1
 
 var:
-  firefox_platform_version: 102.11.0
+  firefox_platform_version: 102.12.0
   firefox_version: '[% c("var/firefox_platform_version") %]esr'
   browser_series: '12.0'
   browser_branch: '[% c("var/browser_series") %]-1'


=
rbm.conf
=
@@ -71,13 +71,14 @@ buildconf:
   git_signtag_opt: '-s'
 
 var:
-  torbrowser_version: '12.0.6'
+  torbrowser_version: '12.0.7'
   torbrowser_build: 'build1'
   torbrowser_incremental_from:
 # Build incrementals also from 12.0.4 until we have a new certificate for
 # Windows installers.
 - 12.0.4
 - 12.0.5
+- 12.0.6
   updater_enabled: 1
   build_mar: 1
   mar_channel_id: '[% c("var/projectname") %]-torproject-[% c("var/channel") 
%]'



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/3b86eb93f99bb3c12751bb06d14781cef7e7ec58

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/3b86eb93f99bb3c12751bb06d14781cef7e7ec58
You're receiving this email because of your account on gitlab.torproject.org.


___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [torspec] branch main updated: tor-spec: inform about RELAY_EARLY in EXTEND(2)

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

ahf pushed a commit to branch main
in repository torspec.

The following commit(s) were added to refs/heads/main by this push:
 new b67dc46  tor-spec: inform about RELAY_EARLY in EXTEND(2)
 new cf44439  Merge branch 'relay_early' into 'main'
b67dc46 is described below

commit b67dc469b02853e8147d920f080b2e36a8af8924
Author: Emil Engler 
AuthorDate: Tue May 23 19:26:20 2023 +0200

tor-spec: inform about RELAY_EARLY in EXTEND(2)

EXTEND/EXTEND2 cells MUST only be send through RELAY_EARLY cells, as
demanded by section 5.6.

This commit informs about this in the section of the EXTEND/EXTEND2
cells, as the current formulation contradicts the one in 5.6 to some
degree.
---
 tor-spec.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tor-spec.txt b/tor-spec.txt
index b03d3f5..ac78ae7 100644
--- a/tor-spec.txt
+++ b/tor-spec.txt
@@ -1101,7 +1101,7 @@ see tor-design.pdf.
 5.1.2. EXTEND and EXTENDED cells
 
To extend an existing circuit, the client sends an EXTEND or EXTEND2
-   relay cell to the last node in the circuit.
+   RELAY_EARLY cell to the last node in the circuit.
 
An EXTEND2 cell's relay payload contains:
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor] annotated tag tor-0.4.8.1-alpha created (now 3999a58217)

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

dgoulet pushed a change to annotated tag tor-0.4.8.1-alpha
in repository tor.

  at 3999a58217 (tag)
 tagging e30fdc14b2accb7a83ae19d948a2c37cb7cee8ac (commit)
 replaces tor-0.4.7.10
  by David Goulet
  on Thu Jun 1 12:15:08 2023 -0400

- Log -
Tor 0.4.8.1-alpha
-BEGIN PGP SIGNATURE-

iQEzBAABCAAdFiEEt0QX7d8irJ+ekPSRQuhqKhH0jTYFAmR4xBMACgkQQuhqKhH0
jTbdPAgAmP6ZNNcfY8UMFmoYwMk8EujPQRt8NoXo62DRgZU9neRRTFFM87fCbxGr
XUOCJEoqOD4sh+37pK0jeuFW2fQAWRDqRtkKIPtunjLrmCZHkpNH7Gs2EWqaXWdl
OCZfcvK4Hl4e7agErXi7M2iNCwkg6pgb6IGlTSfo8jtrfKlwhj4R5SRaKVFQBiJZ
WG1RJUcVJX4LFV0KPcGRmq93pYie+ABn/5U+s0PhXwpIhuZOWSBpSjbBBjnyplX7
wgTO5d6FYKd1kHvq7nEHXq6dFz+cm83gD8ZKdBC4bZpqOkSb/V0FwwbVM0J90CDI
gWlzatUOHDWGVd4RhywST09QuT/zxw==
=ac+f
-END PGP SIGNATURE-
---

No new revisions were added by this update.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor] branch main updated: version: Bump version to 0.4.8.1-alpha-dev

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

The following commit(s) were added to refs/heads/main by this push:
 new d4f4fb6088 version: Bump version to 0.4.8.1-alpha-dev
d4f4fb6088 is described below

commit d4f4fb6088cee8e577e28b52f0bd07b87d379ddc
Author: Tor CI Release 
AuthorDate: Thu Jun 1 14:33:12 2023 +

version: Bump version to 0.4.8.1-alpha-dev
---
 configure.ac| 4 ++--
 contrib/win32build/tor-mingw.nsi.in | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 88e11a2a0c..b5ca20faaa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl Copyright (c) 2007-2019, The Tor Project, Inc.
 dnl See LICENSE for licensing information
 
 AC_PREREQ([2.63])
-AC_INIT([tor],[0.4.8.1-alpha])
+AC_INIT([tor],[0.4.8.1-alpha-dev])
 AC_CONFIG_SRCDIR([src/app/main/tor_main.c])
 AC_CONFIG_MACRO_DIR([m4])
 
@@ -18,7 +18,7 @@ AC_DEFINE_UNQUOTED([CONFIG_FLAGS], ["$configure_flags"], 
[Flags passed to config
 # version number changes.  Tor uses it to make sure that it
 # only shuts down for missing "required protocols" when those protocols
 # are listed as required by a consensus after this date.
-AC_DEFINE(APPROX_RELEASE_DATE, ["2023-06-01"], # for 0.4.8.1-alpha
+AC_DEFINE(APPROX_RELEASE_DATE, ["2023-06-01"], # for 0.4.8.1-alpha-dev
   [Approximate date when this software was released. (Updated when the 
version changes.)])
 
 # "foreign" means we don't follow GNU package layout standards
diff --git a/contrib/win32build/tor-mingw.nsi.in 
b/contrib/win32build/tor-mingw.nsi.in
index 869e9540eb..8c9db3c88f 100644
--- a/contrib/win32build/tor-mingw.nsi.in
+++ b/contrib/win32build/tor-mingw.nsi.in
@@ -8,7 +8,7 @@
 !include "LogicLib.nsh"
 !include "FileFunc.nsh"
 !insertmacro GetParameters
-!define VERSION "0.4.8.1-alpha"
+!define VERSION "0.4.8.1-alpha-dev"
 !define INSTALLER "tor-${VERSION}-win32.exe"
 !define WEBSITE "https://www.torproject.org/;
 !define LICENSE "LICENSE"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [Git][tpo/applications/tor-browser-build][maint-12.0-mullvad] Bug 40870: Remove URL without browser name from...

2023-06-01 Thread boklm (@boklm) via tor-commits


boklm pushed to branch maint-12.0-mullvad at The Tor Project / Applications / 
tor-browser-build


Commits:
c44f6462 by Nicolas Vigier at 2023-06-01T17:58:37+02:00
Bug 40870: Remove URL without browser name from 
signing/download-unsigned-sha256sums-gpg-signatures-from-people-tpo

- - - - -


1 changed file:

- tools/signing/download-unsigned-sha256sums-gpg-signatures-from-people-tpo


Changes:

=
tools/signing/download-unsigned-sha256sums-gpg-signatures-from-people-tpo
=
@@ -10,7 +10,6 @@ do
 tmpfile=$(mktemp)
 chmod 644 "$tmpfile"
 for url in \
-  
"https://people.torproject.org/~$builder/builds/$tbb_version-build$tbb_version_build/$file;
 \
   
"https://people.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version-build$tbb_version_build/$file;
 \
   
"https://tb-build-04.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file;
 \
   
"https://tb-build-05.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file;



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/c44f6462ffd712c85d8ea9cbe8f9dd8a98f04f85

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/c44f6462ffd712c85d8ea9cbe8f9dd8a98f04f85
You're receiving this email because of your account on gitlab.torproject.org.


___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 40869: Temporarily set obfs4 to a fixed commit

2023-06-01 Thread richard (@richard) via tor-commits


richard pushed to branch main at The Tor Project / Applications / 
tor-browser-build


Commits:
40298e79 by Nicolas Vigier at 2023-06-01T15:56:56+00:00
Bug 40869: Temporarily set obfs4 to a fixed commit

To avoid broken nightly builds, we set obfs4 nightly to a fixed commit,
until the changes required by the renaming from obfs4 to lyrebird are
done.

- - - - -


1 changed file:

- projects/obfs4/config


Changes:

=
projects/obfs4/config
=
@@ -13,7 +13,8 @@ var:
 
 targets:
   nightly:
-git_hash: main
+# Set fixed commit until tor-browser-build#40869 is done
+git_hash: a34b4cad6d3c20f4abdec357e01101751a583f88
 version: '[% c("abbrev") %]'
 tag_gpg_id: 0
 var:



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/40298e792e7cd498e8534d65cb1220ff4e43e325

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/40298e792e7cd498e8534d65cb1220ff4e43e325
You're receiving this email because of your account on gitlab.torproject.org.


___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 40870: Remove URL without browser name from...

2023-06-01 Thread boklm (@boklm) via tor-commits


boklm pushed to branch main at The Tor Project / Applications / 
tor-browser-build


Commits:
96b1718f by Nicolas Vigier at 2023-05-31T12:58:55+02:00
Bug 40870: Remove URL without browser name from 
signing/download-unsigned-sha256sums-gpg-signatures-from-people-tpo

- - - - -


1 changed file:

- tools/signing/download-unsigned-sha256sums-gpg-signatures-from-people-tpo


Changes:

=
tools/signing/download-unsigned-sha256sums-gpg-signatures-from-people-tpo
=
@@ -10,7 +10,6 @@ do
 tmpfile=$(mktemp)
 chmod 644 "$tmpfile"
 for url in \
-  
"https://people.torproject.org/~$builder/builds/$tbb_version-build$tbb_version_build/$file;
 \
   
"https://people.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version-build$tbb_version_build/$file;
 \
   
"https://tb-build-04.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file;
 \
   
"https://tb-build-05.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file;



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/96b1718f837b3b6bffe7af1b9d790e9a88d8d393

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/96b1718f837b3b6bffe7af1b9d790e9a88d8d393
You're receiving this email because of your account on gitlab.torproject.org.


___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [Git][tpo/applications/tor-browser-build] Pushed new tag tbb-12.0.7-build1

2023-06-01 Thread richard (@richard) via tor-commits


richard pushed new tag tbb-12.0.7-build1 at The Tor Project / Applications / 
tor-browser-build

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/tree/tbb-12.0.7-build1
You're receiving this email because of your account on gitlab.torproject.org.


___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor] 04/04: version: Bump version to 0.4.8.1-alpha

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

commit e30fdc14b2accb7a83ae19d948a2c37cb7cee8ac
Author: Tor CI Release 
AuthorDate: Thu Jun 1 13:36:17 2023 +

version: Bump version to 0.4.8.1-alpha
---
 configure.ac| 4 ++--
 contrib/win32build/tor-mingw.nsi.in | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7f01e5b076..88e11a2a0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl Copyright (c) 2007-2019, The Tor Project, Inc.
 dnl See LICENSE for licensing information
 
 AC_PREREQ([2.63])
-AC_INIT([tor],[0.4.8.0-alpha-dev])
+AC_INIT([tor],[0.4.8.1-alpha])
 AC_CONFIG_SRCDIR([src/app/main/tor_main.c])
 AC_CONFIG_MACRO_DIR([m4])
 
@@ -18,7 +18,7 @@ AC_DEFINE_UNQUOTED([CONFIG_FLAGS], ["$configure_flags"], 
[Flags passed to config
 # version number changes.  Tor uses it to make sure that it
 # only shuts down for missing "required protocols" when those protocols
 # are listed as required by a consensus after this date.
-AC_DEFINE(APPROX_RELEASE_DATE, ["2022-04-27"], # for 0.4.8.0-alpha-dev
+AC_DEFINE(APPROX_RELEASE_DATE, ["2023-06-01"], # for 0.4.8.1-alpha
   [Approximate date when this software was released. (Updated when the 
version changes.)])
 
 # "foreign" means we don't follow GNU package layout standards
diff --git a/contrib/win32build/tor-mingw.nsi.in 
b/contrib/win32build/tor-mingw.nsi.in
index 9b172331fd..869e9540eb 100644
--- a/contrib/win32build/tor-mingw.nsi.in
+++ b/contrib/win32build/tor-mingw.nsi.in
@@ -8,7 +8,7 @@
 !include "LogicLib.nsh"
 !include "FileFunc.nsh"
 !insertmacro GetParameters
-!define VERSION "0.4.8.0-alpha-dev"
+!define VERSION "0.4.8.1-alpha"
 !define INSTALLER "tor-${VERSION}-win32.exe"
 !define WEBSITE "https://www.torproject.org/;
 !define LICENSE "LICENSE"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor] 03/04: release: ChangeLog for 0.4.8.1-alpha

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

commit 8b46d1c6ca20b8c99b979569c7432a97d8fc20a1
Author: Tor CI Release 
AuthorDate: Thu Jun 1 13:36:17 2023 +

release: ChangeLog for 0.4.8.1-alpha
---
 ChangeLog   | 171 
 changes/aarch64_sandbox |   5 --
 changes/bsd_libc|   3 -
 changes/bug40431|   4 -
 changes/bug40523|   4 -
 changes/bug40563|   8 --
 changes/bug40603|   5 --
 changes/bug40612|   5 --
 changes/bug40619|   3 -
 changes/bug40620|   3 -
 changes/bug40626|   6 --
 changes/bug40639|   5 --
 changes/bug40642|   9 ---
 changes/bug40644|   8 --
 changes/bug40645|   5 --
 changes/bug40673|   7 --
 changes/bug40684|   6 --
 changes/bug40698|  11 ---
 changes/bug40732|   7 --
 changes/bug40751|   3 -
 changes/fallbackdirs-2022-08-11 |   2 -
 changes/fallbackdirs-2022-11-10 |   2 -
 changes/fallbackdirs-2022-12-06 |   2 -
 changes/fallbackdirs-2023-01-12 |   2 -
 changes/fallbackdirs-2023-06-01 |   2 -
 changes/faster_tests|   3 -
 changes/geoip-2022-08-11|   3 -
 changes/geoip-2022-08-12|   5 --
 changes/geoip-2022-11-10|   3 -
 changes/geoip-2022-12-06|   3 -
 changes/geoip-2023-01-12|   3 -
 changes/geoip-2023-06-01|   3 -
 changes/ip_bind_address_no_port |   5 --
 changes/issue40597  |   4 -
 changes/issue40613  |   3 -
 changes/issue40630  |   3 -
 changes/log-quotes  |   3 -
 changes/prop275 |  12 ---
 changes/ticket33669 |   3 -
 changes/ticket40194 |   9 ---
 changes/ticket40437 |   4 -
 changes/ticket40546 |   3 -
 changes/ticket40593 |  16 
 changes/ticket40596 |   4 -
 changes/ticket40601 |   4 -
 changes/ticket40604 |   5 --
 changes/ticket40623 |   4 -
 changes/ticket40634 |   3 -
 changes/ticket40647 |   4 -
 changes/ticket40648 |   3 -
 changes/ticket40649 |   4 -
 changes/ticket40652 |  10 ---
 changes/ticket40663 |   3 -
 changes/ticket40664 |   3 -
 changes/ticket40674 |   3 -
 changes/ticket40680 |   6 --
 changes/ticket40683 |   6 --
 changes/ticket40687 |   2 -
 changes/ticket40688 |   3 -
 changes/ticket40691 |   3 -
 changes/ticket40692 |   3 -
 changes/ticket40694 |   5 --
 changes/ticket40696 |   3 -
 changes/ticket40703 |   4 -
 changes/ticket40704 |   6 --
 changes/ticket40705 |   7 --
 changes/ticket40708 |   3 -
 changes/ticket40713 |   4 -
 changes/ticket40719 |   3 -
 changes/ticket40722 |   5 --
 changes/ticket40724 |   3 -
 changes/ticket40727 |   3 -
 changes/ticket40729 |   3 -
 changes/ticket40730 |   5 --
 changes/ticket40741 |   2 -
 changes/ticket40745 |   3 -
 changes/ticket40753 |   5 --
 changes/ticket40755 |   3 -
 changes/ticket40757 |   8 --
 changes/ticket40758 |   3 -
 changes/ticket40760 |   3 -
 changes/ticket40785 |   4 -
 changes/ticket40797 |   4 -
 changes/ticket40799 |   6 --
 84 files changed, 171 insertions(+), 373 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 840ff931de..43ea76f548 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,174 @@
+Changes in version 0.4.8.1-alpha - 2023-06-01
+  This is the first alpha of the 0.4.8.x series. Two major features in this
+  version which are Conflux and onion service Proof-of-Work (PoW). There are
+  also many small features in particular, worth noting, the MetricsPort is now
+  exporting more relay and onion service metrics. Finally, there are
+  also numerous minor bugfixes included in this version.
+
+  o Major features (onion service, proof-of-work):
+- Implement proposal 327 (Proof-Of-Work). This is aimed at thwarting
+  introduction flooding DoS attacks by introducing a dynamic Proof-Of-Work
+  protocol that occurs over introduction circuits. This introduces several
+  torrc options prefixed with "HiddenServicePoW" in order to control this
+  feature. By default, this is disabled. Closes ticket 40634.
+
+  o Major features (conflux):
+- Implement Proposal 329 (conflux traffic splitting). Conflux splits
+  traffic across two circuits to Exits that support the 

[tor-commits] [tor] branch main updated (2697723cf1 -> e30fdc14b2)

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

dgoulet pushed a change to branch main
in repository tor.

from 2697723cf1 scripts: Use latest geoip database instead of using location
 new c2c6c7a5e6 Update geoip files to match ipfire location db, 2023/06/01.
 new 5e2f6d5433 fallbackdir: Update list generated on June 01, 2023
 new 8b46d1c6ca release: ChangeLog for 0.4.8.1-alpha
 new e30fdc14b2 version: Bump version to 0.4.8.1-alpha

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ChangeLog   |   171 +
 changes/aarch64_sandbox | 5 -
 changes/bsd_libc| 3 -
 changes/bug40431| 4 -
 changes/bug40523| 4 -
 changes/bug40563| 8 -
 changes/bug40603| 5 -
 changes/bug40612| 5 -
 changes/bug40619| 3 -
 changes/bug40620| 3 -
 changes/bug40626| 6 -
 changes/bug40639| 5 -
 changes/bug40642| 9 -
 changes/bug40644| 8 -
 changes/bug40645| 5 -
 changes/bug40673| 7 -
 changes/bug40684| 6 -
 changes/bug40698|11 -
 changes/bug40732| 7 -
 changes/bug40751| 3 -
 changes/fallbackdirs-2022-08-11 | 2 -
 changes/fallbackdirs-2022-11-10 | 2 -
 changes/fallbackdirs-2022-12-06 | 2 -
 changes/fallbackdirs-2023-01-12 | 2 -
 changes/faster_tests| 3 -
 changes/geoip-2022-08-11| 3 -
 changes/geoip-2022-08-12| 5 -
 changes/geoip-2022-11-10| 3 -
 changes/geoip-2022-12-06| 3 -
 changes/geoip-2023-01-12| 3 -
 changes/ip_bind_address_no_port | 5 -
 changes/issue40597  | 4 -
 changes/issue40613  | 3 -
 changes/issue40630  | 3 -
 changes/log-quotes  | 3 -
 changes/prop275 |12 -
 changes/ticket33669 | 3 -
 changes/ticket40194 | 9 -
 changes/ticket40437 | 4 -
 changes/ticket40546 | 3 -
 changes/ticket40593 |16 -
 changes/ticket40596 | 4 -
 changes/ticket40601 | 4 -
 changes/ticket40604 | 5 -
 changes/ticket40623 | 4 -
 changes/ticket40634 | 3 -
 changes/ticket40647 | 4 -
 changes/ticket40648 | 3 -
 changes/ticket40649 | 4 -
 changes/ticket40652 |10 -
 changes/ticket40663 | 3 -
 changes/ticket40664 | 3 -
 changes/ticket40674 | 3 -
 changes/ticket40680 | 6 -
 changes/ticket40683 | 6 -
 changes/ticket40687 | 2 -
 changes/ticket40688 | 3 -
 changes/ticket40691 | 3 -
 changes/ticket40692 | 3 -
 changes/ticket40694 | 5 -
 changes/ticket40696 | 3 -
 changes/ticket40703 | 4 -
 changes/ticket40704 | 6 -
 changes/ticket40705 | 7 -
 changes/ticket40708 | 3 -
 changes/ticket40713 | 4 -
 changes/ticket40719 | 3 -
 changes/ticket40722 | 5 -
 changes/ticket40724 | 3 -
 changes/ticket40727 | 3 -
 changes/ticket40729 | 3 -
 changes/ticket40730 | 5 -
 changes/ticket40741 | 2 -
 changes/ticket40745 | 3 -
 changes/ticket40753 | 5 -
 changes/ticket40755 | 3 -
 changes/ticket40757 | 8 -
 changes/ticket40758 | 3 -
 changes/ticket40760 | 3 -
 changes/ticket40785 | 4 -
 changes/ticket40797 | 4 -
 changes/ticket40799 | 6 -
 configure.ac| 4 +-
 contrib/win32build/tor-mingw.nsi.in | 2 +-
 src/app/config/fallback_dirs.inc|   991 +-
 src/config/geoip| 22267 +-
 src/config/geoip6   | 24581 --
 87 files changed, 30762 insertions(+), 17622 deletions(-)
 delete mode 100644 changes/aarch64_sandbox
 delete mode 

[tor-commits] [tor] 02/04: fallbackdir: Update list generated on June 01, 2023

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

commit 5e2f6d543354cede26e302ceaebeed0ea39eb9c6
Author: Tor CI Release 
AuthorDate: Thu Jun 1 13:35:34 2023 +

fallbackdir: Update list generated on June 01, 2023
---
 changes/fallbackdirs-2023-06-01  |   2 +
 src/app/config/fallback_dirs.inc | 991 ---
 2 files changed, 498 insertions(+), 495 deletions(-)

diff --git a/changes/fallbackdirs-2023-06-01 b/changes/fallbackdirs-2023-06-01
new file mode 100644
index 00..2d40e047b4
--- /dev/null
+++ b/changes/fallbackdirs-2023-06-01
@@ -0,0 +1,2 @@
+  o Minor features (fallbackdir):
+- Regenerate fallback directories generated on June 01, 2023.
diff --git a/src/app/config/fallback_dirs.inc b/src/app/config/fallback_dirs.inc
index 1302099eba..c532f566d4 100644
--- a/src/app/config/fallback_dirs.inc
+++ b/src/app/config/fallback_dirs.inc
@@ -3,1100 +3,1101 @@
 /* timestamp=2021041200 */
 /* source=offer-list */
 //
-// Generated on: Thu, 12 Jan 2023 16:00:16 +
+// Generated on: Thu, 01 Jun 2023 13:35:33 +
 
-"142.132.165.154 orport=443 id=6D9E22C1F4F0E99867F98F2546A9B76D5F08B4CF"
-" ipv6=[2a01:4f8:1c1c:43c::1]:443"
-/* nickname=libreapp01 */
+"185.220.101.65 orport=9100 id=DA45B31898EDEBC5F6DB39F5BC0DB5FC693FCEFE"
+/* nickname=CCCStuttgartBer */
 /* extrainfo=0 */
 /* = */
 ,
-"18.18.82.18 orport=9001 id=BF54EE3193751481579BA7CC7D8E1DF0A01AFB30"
-/* nickname=gesdm */
+"104.244.73.136 orport=9001 id=322967A70161145738F6CEB4F5165FDADF9EB27C"
+" ipv6=[2605:6400:30:edc3::34]:9001"
+/* nickname=4715 */
 /* extrainfo=0 */
 /* = */
 ,
-"72.92.146.128 orport=9001 id=C5E420FAF05680EE590542AE7216C77602FE68DC"
-/* nickname=TreeFiddy */
+"185.244.194.156 orport=4711 id=B13BF9FB86663B2D587611B5F3369873919AC54F"
+" ipv6=[2a03:4000:27:71a:1853:7aff:feaf:449b]:4711"
+/* nickname=makeitfoss */
 /* extrainfo=0 */
 /* = */
 ,
-"116.203.17.238 orport=9001 id=28090710ABE433A47021F22208B3EC245A912900"
-/* nickname=dismail */
+"89.147.111.106 orport=443 id=E2E1AAFB65DB0B82F868071FF173DDA28407FDDB"
+/* nickname=sanitizer */
 /* extrainfo=0 */
 /* = */
 ,
-"116.203.50.182 orport=8080 id=00E1649E69FF91D7F01E74A5E62EF14F7D9915E4"
-" ipv6=[2a01:4f8:1c1c:b16b::1]:8080"
-/* nickname=dragonhoard */
+"185.220.101.64 orport=9100 id=9785BD5AC04E6112071EA9172591275465FD758D"
+/* nickname=CCCStuttgartBer */
 /* extrainfo=0 */
 /* = */
 ,
-"144.76.154.13 orport=9001 id=10A5EFCCD2FB9C1A4AC20FB779A5DB11B58957A7"
-" ipv6=[2a01:4f8:200:2211::2]:9001"
-/* nickname=eridanus */
+"63.250.54.86 orport=9001 id=D1E11FD9CBFA6E45F19854ED07727DDCB6F9DBC2"
+" ipv6=[2602:ff16:9:0:1:fa:0:1]:9001"
+/* nickname=EtherA */
 /* extrainfo=0 */
 /* = */
 ,
-"94.46.171.245 orport=9001 id=904F36E7AFE6346F5D1D66971F920FFCC47DF120"
-/* nickname=sunandfun03 */
+"38.242.195.135 orport=443 id=CEED17A185DD69A792F7EA5F396A731A621C8429"
+/* nickname=barleysaturnbagel */
 /* extrainfo=0 */
 /* = */
 ,
-"176.9.38.121 orport=9100 id=8284C8A45D22F2981C4B6287C7FB4367116E7CCE"
-" ipv6=[2a01:4f8:161:353a::2]:9100"
-/* nickname=Turik */
+"51.15.49.143 orport=443 id=9E2A4B1AE7771002DB0CC9A0E7A067AC22E5A121"
+/* nickname=WomTor */
 /* extrainfo=0 */
 /* = */
 ,
-"78.31.67.22 orport=9001 id=6982D789D3875C21433D6EE10838AC5FDC6BA82C"
-/* nickname=tor2lhvmct */
+"185.154.110.143 orport=9001 id=735E820217F3D46EE66E9A95B993E8318C3B4BA8"
+/* nickname=ferrarizRaikkonen */
 /* extrainfo=0 */
 /* = */
 ,
-"185.220.101.206 orport=443 id=EB9DD80E64DD829A5F7C7ACA5D5FEADFEBFDD847"
-" ipv6=[2a0b:f4c2:2:1::206]:443"
-/* nickname=ForPrivacyNET */
+"62.210.231.115 orport=9001 id=3AF8390D3F4B8103DA297CFD514B35740781B87D"
+/* nickname=Horacienne */
 /* extrainfo=0 */
 /* = */
 ,
-"185.175.158.198 orport=9090 id=A489D37070A5081D814C1F112139EEF0DDC03A48"
-/* nickname=Trurangers2 */
+"185.220.101.67 orport=9100 id=55A60CB5D30FCDF1B6AD477C9DE48BB393E5DDE6"
+/* nickname=CCCStuttgartBer */
 /* extrainfo=0 */
 /* = */
 ,
-"87.62.96.246 orport=9032 id=E384748293FC4429E2B427360DB4F9D4C3D619D1"
-/* nickname=PXArelay02 */
+"45.11.231.105 orport=443 id=323F66BDC56589A61AF52F62A3307830C381CDCD"
+" ipv6=[2001:67c:1250:260::9]:443"
+/* nickname=AS49697 */
 /* extrainfo=0 */
 /* = */
 ,
-"94.130.246.106 orport=9001 id=1C0736CF3744A3B87C2D2269B8BD3388C7E60552"
-" ipv6=[2a01:4f8:10b:3344:106::106]:9001"
-/* nickname=FreedomFries2 */
+"109.98.208.42 orport=9001 id=C25EC484DA1C6BB47E20AC63DCBA91F51F20F1B9"
+/* nickname=skorupion */
 /* extrainfo=0 */
 /* = */
 ,
-"95.214.54.80 orport=443 id=5A79BD5CC6C128D7D8DFB4969B0246794F117FC6"
-" ipv6=[2a03:cfc0:8000:7::5fd6:3647]:443"
-/* nickname=bauruine */
+"98.96.164.74 orport=9001 id=4BED68DF9EAF6C111D8778E19CC9AC7AFEC4FC02"
+" ipv6=[2a04:203:0:3600:426f:c74d:1f4f:1b4]:9001"
+/* nickname=georgector */
 /* extrainfo=0 */
 /* = */
 ,
-"185.220.101.72 orport=9100 

[tor-commits] [tor] branch main updated: scripts: Use latest geoip database instead of using location

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

The following commit(s) were added to refs/heads/main by this push:
 new 2697723cf1 scripts: Use latest geoip database instead of using location
2697723cf1 is described below

commit 2697723cf1485a070776a90d210f872770496ae9
Author: David Goulet 
AuthorDate: Thu Jun 1 09:32:11 2023 -0400

scripts: Use latest geoip database instead of using location

Signed-off-by: David Goulet 
---
 scripts/maint/geoip/update_geoip.sh | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/scripts/maint/geoip/update_geoip.sh 
b/scripts/maint/geoip/update_geoip.sh
index 743683ab62..3e6b016519 100755
--- a/scripts/maint/geoip/update_geoip.sh
+++ b/scripts/maint/geoip/update_geoip.sh
@@ -5,7 +5,15 @@ set -e
 DIR=$(cd "$(dirname "$0")" && pwd)
 TMP=$(mktemp -d)
 
-location --quiet update
+DB_PATH="/var/lib/location/database.db"
+
+# In case it exists as a dead symlink.
+if [ -e "$DB_PATH" ]; then
+unlink "$DB_PATH"
+fi
+
+curl -o "$DB_PATH.xz" "https://location.ipfire.org/databases/1/location.db.xz;
+xz -d "$DB_PATH.xz"
 location dump "$TMP/geoip-dump.txt"
 
 OLDDIR=$(pwd)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor] branch main updated: test: Really fix the mem leak from prior commit

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

The following commit(s) were added to refs/heads/main by this push:
 new 7f5355826b test: Really fix the mem leak from prior commit
7f5355826b is described below

commit 7f5355826b91083c5e12fe7fc4013580f27b7771
Author: David Goulet 
AuthorDate: Thu Jun 1 09:07:43 2023 -0400

test: Really fix the mem leak from prior commit

Signed-off-by: David Goulet 
---
 src/test/test_crypto_slow.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/test/test_crypto_slow.c b/src/test/test_crypto_slow.c
index 3c44b8ded8..52091f190c 100644
--- a/src/test/test_crypto_slow.c
+++ b/src/test/test_crypto_slow.c
@@ -710,7 +710,6 @@ test_crypto_equix(void *arg)
 tt_int_op(expected, OP_EQ, result);
   }
 
-  equix_free(solve_ctx);
   equix_free(verify_ctx);
 }
   }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor] branch main updated: test: Fix a mem leak reported by Coverity

2023-06-01 Thread gitolite role via tor-commits
This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

The following commit(s) were added to refs/heads/main by this push:
 new faff592c3b test: Fix a mem leak reported by Coverity
faff592c3b is described below

commit faff592c3bc4c3bdebd8ac3c24bd23c50dc4c833
Author: David Goulet 
AuthorDate: Thu Jun 1 08:35:08 2023 -0400

test: Fix a mem leak reported by Coverity

Here is the report:

  *** CID 1531835:  Resource leaks  (RESOURCE_LEAK)
  /src/test/test_crypto_slow.c: 683 in test_crypto_equix()
  677
  678   /* Solve phase: Make sure the test vector matches */
  679   memset(, 0xa5, sizeof output);
  680   equix_result result;
  681   result = equix_solve(solve_ctx, challenge_literal,
  682challenge_len, );
  >>> CID 1531835:  Resource leaks  (RESOURCE_LEAK)
  >>> Variable "solve_ctx" going out of scope leaks the storage it 
points to.

Signed-off-by: David Goulet 
---
 src/test/test_crypto_slow.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_crypto_slow.c b/src/test/test_crypto_slow.c
index 23bc7a852f..3c44b8ded8 100644
--- a/src/test/test_crypto_slow.c
+++ b/src/test/test_crypto_slow.c
@@ -680,6 +680,7 @@ test_crypto_equix(void *arg)
   equix_result result;
   result = equix_solve(solve_ctx, challenge_literal,
challenge_len, );
+  equix_free(solve_ctx);
   tt_int_op(result, OP_EQ, EQUIX_OK);
   tt_int_op(output.count, OP_EQ, num_sols);
   tt_int_op(output.flags, OP_EQ, sol_flags);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits