install-whonix.sh does not work #761

Closed
opened 2023-10-29 04:26:13 +00:00 by metalworker · 2 comments

Hello, thank you for your work on cwtch. Metadata surveillance-resistant messaging is such an important project.

I tried installing cwtch on Whonix. I assumed that using the install-whonix.sh file would be the best way to do this. Here's what happened when I ran that file in my Whonix workstation:

user@host:~/Downloads/cwtch$ ./install-whonix.sh
Installing Cwtch to INSTALL_PREFIX: /home/user/.local with DESKTOP_PREFIX: /home/user/.local
Opening Cwtch firewall for incoming traffic on ports 15000 to 15378
[sudo] password for user:         
2023-xx-xx xx:xx:xx - /usr/bin/whonix-workstation-firewall - OK: Loading Whonix firewall...
2023-xx-xx xx:xx:xx - /usr/bin/whonix-workstation-firewall - OK: Skipping firewall mode detection since already set to 'full'.
2023-xx-xx xx:xx:xx - /usr/bin/whonix-workstation-firewall - OK: (Full torified network access allowed.)
2023-xx-xx xx:xx:xx - /usr/bin/whonix-workstation-firewall - OK: Whonix firewall loaded.
Complete installation in the Whonix-Gateway with the following command:
  $ sudo onion-grater-add 40_cwtch
Launch Cwtch in the Whonix-Workstation with:
  $ /home/user/.local/bin/cwtch

So I opened Whonix-Gateway and ran sudo onion-grater-add 40_cwtch in the terminal as requested. Got this error message:

ERROR: profile_file_source '' does not exist!

I tried to start cwtch to see what would happen by running /home/user/.local/bin/cwtch. cwtch was unable to connect to Tor and reach any contacts. So cwtch seems to be unusable on Whonix.

On the handbook there is this message:

Known Issues. Specific changes to Cwtch are required for support.

and this links to this issue that was closed with the message:

I believe with all the new Cwtch Flags this is now fixed / not relevant any more. Feel free to reopen with additional details if this is not the case.

Given the error I experienced there must still be some issue. I hope it can be fixed. Maybe even Whonix can get "first class" support in cwtch, or vice versa. These projects seem to have similar goals and it would be great if the software worked well together.

Hello, thank you for your work on cwtch. Metadata surveillance-resistant messaging is such an important project. I tried installing cwtch on Whonix. I assumed that using the `install-whonix.sh` file would be the best way to do this. Here's what happened when I ran that file in my Whonix workstation: ``` user@host:~/Downloads/cwtch$ ./install-whonix.sh Installing Cwtch to INSTALL_PREFIX: /home/user/.local with DESKTOP_PREFIX: /home/user/.local Opening Cwtch firewall for incoming traffic on ports 15000 to 15378 [sudo] password for user: 2023-xx-xx xx:xx:xx - /usr/bin/whonix-workstation-firewall - OK: Loading Whonix firewall... 2023-xx-xx xx:xx:xx - /usr/bin/whonix-workstation-firewall - OK: Skipping firewall mode detection since already set to 'full'. 2023-xx-xx xx:xx:xx - /usr/bin/whonix-workstation-firewall - OK: (Full torified network access allowed.) 2023-xx-xx xx:xx:xx - /usr/bin/whonix-workstation-firewall - OK: Whonix firewall loaded. Complete installation in the Whonix-Gateway with the following command: $ sudo onion-grater-add 40_cwtch Launch Cwtch in the Whonix-Workstation with: $ /home/user/.local/bin/cwtch ``` So I opened Whonix-Gateway and ran `sudo onion-grater-add 40_cwtch` in the terminal as requested. Got this error message: `ERROR: profile_file_source '' does not exist!` I tried to start cwtch to see what would happen by running `/home/user/.local/bin/cwtch`. cwtch was unable to connect to Tor and reach any contacts. So cwtch seems to be unusable on Whonix. On the handbook there is [this message](https://docs.cwtch.im/docs/getting-started/supported_platforms/): > Known Issues. Specific changes to Cwtch are required for support. and this links to [this issue](https://git.openprivacy.ca/cwtch.im/cwtch-ui/issues/550) that was closed with the message: > I believe with all the new Cwtch Flags this is now fixed / not relevant any more. Feel free to reopen with additional details if this is not the case. Given the error I experienced there must still be some issue. I hope it can be fixed. Maybe even Whonix can get "first class" support in cwtch, or vice versa. These projects seem to have similar goals and it would be great if the software worked well together.
Owner

Hi!

The 40_cwtch config referenced in the sudo onion-grater-add 40_cwtch command can be found here: https://github.com/Whonix/onion-grater/blob/master/usr/share/doc/onion-grater-merger/examples/40_cwtch.yml

This file needs to be placed in /usr/share/doc/onion-grater-merger/examples/40_cwtch.yml where other onion grater configs are.While this file is part of the Whonix onion-grater repository it is a very new addition and I'm not sure it has made it into a general release yet. As such it might be the case that you do not have his file on your device.

Thanks,

Sarah

Hi! The `40_cwtch` config referenced in the `sudo onion-grater-add 40_cwtch` command can be found here: https://github.com/Whonix/onion-grater/blob/master/usr/share/doc/onion-grater-merger/examples/40_cwtch.yml This file needs to be placed in `/usr/share/doc/onion-grater-merger/examples/40_cwtch.yml` where other onion grater configs are.While this file is part of the Whonix onion-grater repository it is a very new addition and I'm not sure it has made it into a general release yet. As such it might be the case that you do not have his file on your device. Thanks, Sarah
Contributor

Hello @metalworker,

The profile is still not yet available on stable repository and I don't know when it is gonna be. Last info I saw it was on testers.

Follow @sarah advice of copying the file from github to the Whonix Gateway.

Hello @metalworker, The profile is still not yet available on stable repository and I don't know when it is gonna be. Last info I saw it was on [testers](https://forums.whonix.org/t/cwtch-messaging/5353/43). Follow @sarah advice of copying the file from github to the Whonix Gateway.
sarah closed this issue 2024-02-12 02:46:04 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#761
No description provided.