From 8f7b45dc12b70d3696988b9fbb91059aee6dbc9f Mon Sep 17 00:00:00 2001 From: John Date: Mon, 19 Jan 2026 18:34:20 +0100 Subject: [PATCH] update: applied tom patches --- 284a5149-4efa-48a9-b3a4-38b7a334367f.patch | 25 ++++++++++++++++++++++ fef745b3-646e-4e77-a4a2-43777c7d1536.patch | 22 +++++++++++++++++++ gui/__main__.py | 7 ++++++ pyproject.toml | 4 ++-- 4 files changed, 56 insertions(+), 2 deletions(-) create mode 100755 284a5149-4efa-48a9-b3a4-38b7a334367f.patch create mode 100755 fef745b3-646e-4e77-a4a2-43777c7d1536.patch diff --git a/284a5149-4efa-48a9-b3a4-38b7a334367f.patch b/284a5149-4efa-48a9-b3a4-38b7a334367f.patch new file mode 100755 index 0000000..dfe3d26 --- /dev/null +++ b/284a5149-4efa-48a9-b3a4-38b7a334367f.patch @@ -0,0 +1,25 @@ +Subject: [PATCH] Update GUI and Core versions +--- +Index: pyproject.toml +<+>UTF-8 +=================================================================== +diff --git a/pyproject.toml b/pyproject.toml +--- a/pyproject.toml (revision 134e5e6970b158ad64adb8ad064af684bfc563af) ++++ b/pyproject.toml (date 1768752611072) +@@ -1,6 +1,6 @@ + [project] + name = "sp-hydra-veil-gui" +-version = "2.1.4" ++version = "2.2.0" + authors = [ + { name = "Simplified Privacy" }, + ] +@@ -12,7 +12,7 @@ + "Operating System :: POSIX :: Linux", + ] + dependencies = [ +- "sp-hydra-veil-core == 2.1.2", ++ "sp-hydra-veil-core == 2.2.0", + "pyperclip ~= 1.9.0", + "pyqt6 ~= 6.7.1", + "qrcode[pil] ~= 8.2" diff --git a/fef745b3-646e-4e77-a4a2-43777c7d1536.patch b/fef745b3-646e-4e77-a4a2-43777c7d1536.patch new file mode 100755 index 0000000..8b1ede9 --- /dev/null +++ b/fef745b3-646e-4e77-a4a2-43777c7d1536.patch @@ -0,0 +1,22 @@ +Subject: [PATCH] Add support for stateful Tor sessions +--- +Index: gui/__main__.py +<+>UTF-8 +=================================================================== +diff --git a/gui/__main__.py b/gui/__main__.py +--- a/gui/__main__.py (revision 134e5e6970b158ad64adb8ad064af684bfc563af) ++++ b/gui/__main__.py (date 1768622929340) +@@ -403,6 +403,13 @@ + connection_observer.subscribe('connecting', lambda event: self.update_status( + f'[{event.subject.get("attempt_count")}/{event.subject.get("maximum_number_of_attempts")}] Performing connection attempt...')) + ++ connection_observer.subscribe('tor_bootstrapping', lambda event: self.update_status('Establishing Tor connection...')) ++ ++ connection_observer.subscribe('tor_bootstrap_progressing', lambda event: self.update_status( ++ f'Bootstrapping Tor {event.meta.get('progress'):.2f}%')) ++ ++ connection_observer.subscribe('tor_bootstrapped', lambda event: self.update_status('Tor connection established.')) ++ + self.setFixedSize(800, 570) + self.central_widget = QWidget(self) + self.central_widget.setMaximumSize(800, 600) diff --git a/gui/__main__.py b/gui/__main__.py index 22e5d95..068bf41 100755 --- a/gui/__main__.py +++ b/gui/__main__.py @@ -403,6 +403,13 @@ class CustomWindow(QMainWindow): connection_observer.subscribe('connecting', lambda event: self.update_status( f'[{event.subject.get("attempt_count")}/{event.subject.get("maximum_number_of_attempts")}] Performing connection attempt...')) + connection_observer.subscribe('tor_bootstrapping', lambda event: self.update_status('Establishing Tor connection...')) + + connection_observer.subscribe('tor_bootstrap_progressing', lambda event: self.update_status( + f'Bootstrapping Tor {event.meta.get('progress'):.2f}%')) + + connection_observer.subscribe('tor_bootstrapped', lambda event: self.update_status('Tor connection established.')) + self.setFixedSize(800, 570) self.central_widget = QWidget(self) self.central_widget.setMaximumSize(800, 600) diff --git a/pyproject.toml b/pyproject.toml index d991397..b2bab04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sp-hydra-veil-gui" -version = "2.1.4" +version = "2.2.0" authors = [ { name = "Simplified Privacy" }, ] @@ -12,7 +12,7 @@ classifiers = [ "Operating System :: POSIX :: Linux", ] dependencies = [ - "sp-hydra-veil-core == 2.1.2", + "sp-hydra-veil-core == 2.2.0", "pyperclip ~= 1.9.0", "pyqt6 ~= 6.7.1", "qrcode[pil] ~= 8.2"