Detect Whonix to simplify launch #713

Closed
opened 2023-09-04 00:41:02 +00:00 by nyxnor · 3 comments
Contributor

Current Whonix dcumentation.

There are many variables that must be set. They are not optional, see PR.

This is how long the Cwtch lauch line is:

env LD_LIBRARY_PATH=~/.local/lib/cwtch/:~/.local/lib/cwtch/Tor CWTCH_TAILS=true CWTCH_RESTRICT_PORTS=true CWTCH_BIND_EXTERNAL_WHONIX=true ~/.local/lib/cwtch/cwtch

Can Cwtch either:

  • (preferred) detect Whonix and set it all (as they are necessary anyway)
  • implement CWTCH_WHONIX=true, which would set CWTCH_BIND_EXTERNAL_WHONIX=true, CWTCH_RESTRICT_PORTS=true, CWTCH_TAILS=true

The validation of CWTCH_BIND_EXTERNAL_WHONIX already checks if it is Whonix or not by the marker file, but for security reasons to block it instead of allowing it.

Current [Whonix dcumentation](https://git.openprivacy.ca/cwtch.im/docs.cwtch.im/src/branch/staging/docs/platforms/whonix.md). There are many variables that must be set. They are not optional, see [PR](https://git.openprivacy.ca/cwtch.im/docs.cwtch.im/pulls/10). This is how long the Cwtch lauch line is: ```shell env LD_LIBRARY_PATH=~/.local/lib/cwtch/:~/.local/lib/cwtch/Tor CWTCH_TAILS=true CWTCH_RESTRICT_PORTS=true CWTCH_BIND_EXTERNAL_WHONIX=true ~/.local/lib/cwtch/cwtch ``` Can Cwtch either: - (preferred) detect Whonix and set it all (as they are necessary anyway) - implement `CWTCH_WHONIX=true`, which would set `CWTCH_BIND_EXTERNAL_WHONIX=true`, `CWTCH_RESTRICT_PORTS=true`, `CWTCH_TAILS=true` The validation of CWTCH_BIND_EXTERNAL_WHONIX already checks if it is Whonix or not by the marker file, but for security reasons to block it instead of allowing it.
sarah added this to the Stable Blockers project 2023-09-05 17:02:19 +00:00
sarah added the
enhancement
whonix
labels 2023-09-05 17:02:40 +00:00
sarah self-assigned this 2023-09-05 17:08:22 +00:00
Owner

I looked into this and there is no nice way of doing this from Flutter. Given the new install scripts, and the separate nature of these flags, I'm considering this a wontfix without additional motivation.

I looked into this and there is no nice way of doing this from Flutter. Given the new install scripts, and the separate nature of these flags, I'm considering this a wontfix without additional motivation.
sarah added the
wontfix
label 2023-09-25 20:00:45 +00:00
sarah removed this from the Stable Blockers project 2023-09-25 20:00:50 +00:00
sarah closed this issue 2023-09-25 20:01:06 +00:00

This doesn't need to be done at the Flutter level (which I haven't developed with).

It seems there is already install-whonix.sh which takes care of this.

This doesn't need to be done at the Flutter level (which I haven't developed with). It seems there is already `install-whonix.sh` which takes care of this.

If a .deb is created, then this still doesn't need to be done at the Flutter level. A simple shell wrapper would suffice that handles Tails, Whonix, whatnot.

If a `.deb` is created, then this still doesn't need to be done at the Flutter level. A simple shell wrapper would suffice that handles Tails, Whonix, whatnot.
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#713
No description provided.