You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tor Connection does not work on TailsOS for the AppImage native settings.
Expected Behavior
For the UI to set the Tor socks port to use 9050 and for it show green connected to Tor status on Tor only configured OS.
Reproduce Steps
I created a test wallet of two different stacks (Monero & Firo)
First though I enabled the Tor settings "Connect to Tor" however it was stuck at a yellow onion saying connecting.
Blockchain status: unable to synchronize
Launching with torsocks torsocks ./sw-v2.1.9.AppImage is able to get price and shows succeeded in Onion Circuits package and shows in green blockchain status for Monero in stack wallet GUI.
However Firo is unable to synchronize the blockchain when launching the AppImage with torsocks cli wrapper.
Also regardless of being launched with torsocks it still locks up on yellow status for Tor Connection status (never connects).
Rewrite/patch the Tor Connection UI feature to detect if the operating system is Tails by reading the /etc/os-release file and then configuring a Tor connection to use 127.0.0.1 and port 9050 and state in the UI you are using Tails on 127.0.0.1:9050 or something of the likes.
import'dart:io';
Future<void> main() async {
// Check if the OS is Tailsbool isTails =awaitisTailsOS();
if (isTails) {
print('Detected Tails OS. Configuring Tor connection...');
// Use 127.0.0.1 and port 9050 for Tor connectionString torHost ='127.0.0.1';
int torPort =9050;
// Here you would set up your Tor connection using the specified host and port// For example, if using the http package:// var client = HttpClient();// client.findProxy = (uri) {// return "PROXY $torHost:$torPort";// };// Continue with your application logic...
} else {
print('Not running on Tails OS. Using default Tor settings...');
// Use the default Tor settings
}
}
Future<bool> isTailsOS() async {
try {
// Read the /etc/os-release filefinal osRelease =awaitFile('/etc/os-release').readAsString();
// Check if the content contains "Tails"return osRelease.contains('Tails');
} catch (e) {
print('Error reading /etc/os-release: $e');
returnfalse;
}
}
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
Tor Connection does not work on TailsOS for the AppImage native settings.
Expected Behavior
For the UI to set the Tor socks port to use 9050 and for it show green connected to Tor status on Tor only configured OS.
Reproduce Steps
I created a test wallet of two different stacks (Monero & Firo)
First though I enabled the Tor settings "Connect to Tor" however it was stuck at a yellow onion saying connecting.
Blockchain status: unable to synchronize
Launching with torsocks
torsocks ./sw-v2.1.9.AppImage
is able to get price and shows succeeded in Onion Circuits package and shows in green blockchain status for Monero in stack wallet GUI.However Firo is unable to synchronize the blockchain when launching the AppImage with torsocks cli wrapper.
Also regardless of being launched with
torsocks
it still locks up on yellow status for Tor Connection status (never connects).Environment
Logs
(dont want create a Gist for this see bellow)
Further Information
When launched with
./sw-v2.1.9.AppImage
:Proposed Fix:
Rewrite/patch the Tor Connection UI feature to detect if the operating system is Tails by reading the
/etc/os-release
file and then configuring a Tor connection to use 127.0.0.1 and port 9050 and state in the UI you are using Tails on 127.0.0.1:9050 or something of the likes.The text was updated successfully, but these errors were encountered: