Difference between revisions of "Running Bisq on Tails"
Jump to navigation
Jump to search
Plebeian9000 (talk | contribs) m (Plebeian9000 moved page Bisq on tails to Running Bisq on Tails: capitalize and turn into gerundized action) |
Plebeian9000 (talk | contribs) (polish formatting) |
||
| Line 1: | Line 1: | ||
| − | + | To '''run Bisq on the Tails OS''', a few manual steps are required. | |
| + | |||
| + | __TOC__ | ||
== Preparations == | == Preparations == | ||
| − | * | + | * Configure a [https://tails.boum.org/doc/first_steps/welcome_screen/administration_password/ administration password] when installing Bisq |
| − | * | + | * Configure [https://tails.boum.org/install/inc/steps/create_persistence.inline/index.en.html persistent storage] |
== Install == | == Install == | ||
| Line 10: | Line 12: | ||
Go to https://github.com/bisq-network/bisq/releases using your Tor Browser and download the <code>Bisq-64bit-[version].deb</code> and <code>.asc</code> files. | Go to https://github.com/bisq-network/bisq/releases using your Tor Browser and download the <code>Bisq-64bit-[version].deb</code> and <code>.asc</code> files. | ||
| − | You may have to use <code>wget</code>, because <code>curl</code> may not use Tor and | + | You may have to use <code>wget</code>, because <code>curl</code> may not use Tor and could be blocked from using the internet. |
=== Verify your download === | === Verify your download === | ||
* <code>wget https://bisq.network/pubkey/[keyid].asc</code> should result in a file <code>[keyid].asc</code> in your working directory | * <code>wget https://bisq.network/pubkey/[keyid].asc</code> should result in a file <code>[keyid].asc</code> in your working directory | ||
| − | * | + | * Import the key to gpg by <code>gpg --import [keyid].asc</code> |
| − | * | + | * Check the signature with <code>gpg --digest-algo SHA256 --verify [yourbinaryhere]{.asc*,}</code> which should give you something like this |
| − | < | + | <pre> |
[snip] | [snip] | ||
gpg: Good signature from "Christoph Atteneder... | gpg: Good signature from "Christoph Atteneder... | ||
[snip] | [snip] | ||
| − | </ | + | </pre> |
=== Install Bisq === | === Install Bisq === | ||
| − | + | Do a simple <code>sudo dpkg -i [yourbinaryhere]</code>. | |
== Configure == | == Configure == | ||
| − | * | + | * Make authcookie readable: |
<pre>sudo chmod o+r /var/run/tor/control.authcookie</pre> | <pre>sudo chmod o+r /var/run/tor/control.authcookie</pre> | ||
| − | * | + | * Configure <code>onion-grater</code>. |
| + | |||
Create a file <code>/etc/onion-grater.d/bisq.yml</code> with contents: | Create a file <code>/etc/onion-grater.d/bisq.yml</code> with contents: | ||
| + | |||
<pre> | <pre> | ||
--- | --- | ||
| Line 89: | Line 93: | ||
suppress: true | suppress: true | ||
</pre> | </pre> | ||
| − | |||
| − | |||
| − | * In <code>/usr/share/applications/Bisq.desktop</code> replace | + | Then restart the <code>onion-grater</code> service with <code>service onion-grater restart</code>. |
| + | |||
| + | * In <code>/usr/share/applications/Bisq.desktop</code>, replace: | ||
| + | |||
<pre>Exec=/opt/Bisq/Bisq</pre> | <pre>Exec=/opt/Bisq/Bisq</pre> | ||
| − | with | + | |
| + | with: | ||
| + | |||
<pre>Exec=/opt/Bisq/Bisq --torControlPort 9051 --torControlCookieFile=/var/run/tor/control.authcookie --torControlUseSafeCookieAuth</pre> | <pre>Exec=/opt/Bisq/Bisq --torControlPort 9051 --torControlCookieFile=/var/run/tor/control.authcookie --torControlUseSafeCookieAuth</pre> | ||
== Run Bisq == | == Run Bisq == | ||
| − | + | Click <code>Applications</code> > <code>Other</code> > <code>Bisq</code>. | |
| − | + | ||
| + | Or via terminal: | ||
| + | |||
| + | <pre> | ||
| + | /opt/Bisq/Bisq --torControlPort 9051 --torControlCookieFile=/var/run/tor/control.authcookie --torControlUseSafeCookieAuth | ||
| + | </pre> | ||
[[Category:Guides]] | [[Category:Guides]] | ||
Revision as of 21:18, 5 June 2020
To run Bisq on the Tails OS, a few manual steps are required.
Preparations
- Configure a administration password when installing Bisq
- Configure persistent storage
Install
Go to https://github.com/bisq-network/bisq/releases using your Tor Browser and download the Bisq-64bit-[version].deb and .asc files.
You may have to use wget, because curl may not use Tor and could be blocked from using the internet.
Verify your download
wget https://bisq.network/pubkey/[keyid].ascshould result in a file[keyid].ascin your working directory- Import the key to gpg by
gpg --import [keyid].asc - Check the signature with
gpg --digest-algo SHA256 --verify [yourbinaryhere]{.asc*,}which should give you something like this
[snip] gpg: Good signature from "Christoph Atteneder... [snip]
Install Bisq
Do a simple sudo dpkg -i [yourbinaryhere].
Configure
- Make authcookie readable:
sudo chmod o+r /var/run/tor/control.authcookie
- Configure
onion-grater.
Create a file /etc/onion-grater.d/bisq.yml with contents:
---
- apparmor-profiles:
- '/opt/Bisq/Bisq'
users:
- 'amnesia'
commands:
AUTHCHALLENGE:
- 'SAFECOOKIE .*'
SETEVENTS:
- 'CIRC WARN ERR'
- 'CIRC ORCONN INFO NOTICE WARN ERR HS_DESC HS_DESC_CONTENT'
GETINFO:
- 'net/listeners/socks'
ADD_ONION:
- pattern: 'NEW:(\S+) Port=9999,(\S+)'
replacement: 'NEW:{} Port=9999,{client-address}:{}'
- pattern: '(\S+):(\S+) Port=9999,(\S+)'
replacement: '{}:{} Port=9999,{client-address}:{}'
DEL_ONION:
- '.+'
HSFETCH:
- '.+'
events:
CIRC:
suppress: true
ORCONN:
suppress: true
INFO:
suppress: true
NOTICE:
suppress: true
WARN:
suppress: true
ERR:
suppress: true
HS_DESC:
response:
- pattern: '650 HS_DESC CREATED (\S+) (\S+) (\S+) \S+ (.+)'
replacement: '650 HS_DESC CREATED {} {} {} redacted {}'
- pattern: '650 HS_DESC UPLOAD (\S+) (\S+) .*'
replacement: '650 HS_DESC UPLOAD {} {} redacted redacted'
- pattern: '650 HS_DESC UPLOADED (\S+) (\S+) .+'
replacement: '650 HS_DESC UPLOADED {} {} redacted'
- pattern: '650 HS_DESC REQUESTED (\S+) NO_AUTH'
replacement: '650 HS_DESC REQUESTED {} NO_AUTH'
- pattern: '650 HS_DESC REQUESTED (\S+) NO_AUTH \S+ \S+'
replacement: '650 HS_DESC REQUESTED {} NO_AUTH redacted redacted'
- pattern: '650 HS_DESC RECEIVED (\S+) NO_AUTH \S+ \S+'
replacement: '650 HS_DESC RECEIVED {} NO_AUTH redacted redacted'
- pattern: '.*'
replacement: ''
HS_DESC_CONTENT:
suppress: true
Then restart the onion-grater service with service onion-grater restart.
- In
/usr/share/applications/Bisq.desktop, replace:
Exec=/opt/Bisq/Bisq
with:
Exec=/opt/Bisq/Bisq --torControlPort 9051 --torControlCookieFile=/var/run/tor/control.authcookie --torControlUseSafeCookieAuth
Run Bisq
Click Applications > Other > Bisq.
Or via terminal:
/opt/Bisq/Bisq --torControlPort 9051 --torControlCookieFile=/var/run/tor/control.authcookie --torControlUseSafeCookieAuth