Commit 9476de91 authored by sajolida's avatar sajolida

Merge branch 'web/assistant' (#10530)

We're merging the current state of web/assistant in order to test some
parts of it live, especially the new download page.
parents db9c08f9 22d38f96
This diff is collapsed.
[[!meta robots="noindex"]]
[[!meta stylesheet="bootstrap" rel="stylesheet" title=""]]
[[!meta stylesheet="install/inc/stylesheets/assistant" rel="stylesheet" title=""]]
[[!meta stylesheet="install/inc/stylesheets/download" rel="stylesheet" title=""]]
[[!meta stylesheet="install/inc/stylesheets/dave" rel="stylesheet" title=""]]
[[!meta script="install/inc/js/dave"]]
[[!meta title="Download and verify"]]
<div id="download-and-verify">
<div id="extension-version">0.1.0</div>
<div id="undetected-browser">
<p>We failed to detect your browser vendor, maybe because JavaScript is disabled.</p>
<p>You can download and verify the ISO image via:</p>
<div class="row download-options">
<div class="col-md-6 extension">
<h2>Browser extension</h2>
<p>for Firefox <span class="minver-firefox">38.0.1</span>+ or
Tor Browser <span class="minver-tor">5</span>+</p>
<a href="?override=firefox" class="btn btn-lg btn-primary browser-override">I'm already in Firefox or Tor Browser</a>
<p>Or copy and paste this link in Firefox or Tor Browser:</p>
<code>https://tails.boum.org/download</code>
</div>
<div class="col-md-6 bittorrent">
<h2>BitTorrent</h2>
<a href='[[!inline pages="inc/stable_i386_torrent_url" raw="yes"]]' class="btn btn-lg btn-primary">Download Torrent file</a>
</div>
</div>
</div>
<div id="unsupported-browser">
<p>You can download and verify the ISO image via:</p>
<div class="row download-options">
<div class="col-md-6 extension">
<h2>Browser extension</h2>
<p>for Firefox <span class="minver-firefox">38.0.1</span>+ or
Tor Browser <span class="minver-tor">5</span>+</p>
<p id="unsupported-firefox">You are running Firefox <span class="current-firefox">1.0</span>.
Please update to Firefox <span class="minver-firefox">38.0.1</span>, Tor Browser <span class="minver-tor">5</span>, or newer and visit this link:</p>
<p id="unsupported-other">Copy and paste this link in Firefox or Tor Browser:</p>
<code>https://tails.boum.org/download</code>
</div>
<div class="col-md-6 bittorrent">
<h2>BitTorrent</h2>
<a href='[[!inline pages="inc/stable_i386_torrent_url" raw="yes"]]' class="btn btn-lg btn-primary">Download Torrent file</a>
</div>
</div>
</div>
<div id="supported-browser">
<div id="use">
<p>We detected that you are running Firefox or Tor Browser and already have our Firefox extension installed.</p>
<a id="use-button" href="" class="btn btn-lg btn-primary clearfix">
<span id="use-button-label" class="pull-left">Use Firefox extension</span>
<div id="use-button-state" class="pull-right">
<span class="label label-default state already">Already installed</span>
</div>
</a>
<div id="use-text" class="btn btn-lg disabled clearfix">
<span id="use-text-label" class="pull-left">Use Firefox extension</span>
<div id="use-text-state" class="pull-right">
<span class="label label-success state done">Done</span>
</div>
</div>
</div>
<div id="update">
<p>We detected that you are running Firefox of Tor Browser but have an outdated version of our Firefox extension.</p>
<a id="update-button" href="https://maone.net/dev/tails/dave.xpi" class="btn btn-lg btn-primary clearfix">
<span id="update-button-label" class="pull-left">Update Firefox extension</span>
<div id="update-state" class="pull-right">
<span class="label label-default state restartless">No restart</span>
</div>
</a>
<div id="update-text" class="btn btn-lg disabled clearfix">
<span id="update-button-label" class="pull-left">Update Firefox extension</span>
<div id="update-text-state" class="pull-right">
<span class="label label-success state done">Done</span>
</div>
</div>
</div>
<div id="install">
<p>We detected that you are running Firefox or Tor Browser.</p>
<p>You can download and verify the ISO image via our Firefox extension.</p>
<a id="install-button" href="https://maone.net/dev/tails/dave.xpi" class="btn btn-lg btn-primary clearfix">
<span id="install-button-label" class="pull-left">Install Firefox extension</span>
<div id="install-button-state" class="pull-right">
<span class="label label-default state restartless">No restart</span>
</div>
</a>
<div id="install-text" class="btn btn-lg disabled clearfix">
<span id="install-text-label" class="pull-left">Install Firefox extension</span>
<div id="install-text-state" class="pull-right">
<span class="label label-success state done">Done</span>
</div>
</div>
</div>
<p id="bittorrent-minor">or <a href='[[!inline pages="inc/stable_i386_torrent_url" raw="yes"]]'>Download via BitTorrent</a></p>
</div>
<a id="i_have_iso" href="" title="Select an ISO image to verify">I already have an ISO image.</a>
<div id="download">
<a id="download-button" href='[[!inline pages="inc/stable_i386_iso_url" raw="yes"]]' class="btn btn-lg btn-primary clearfix iso-url">
<span id="download-button-label" class="pull-left">Download Tails <span class="iso-version">[[!inline pages="inc/stable_i386_version" raw="yes"]]</span> ISO image
<small id="download-button-size" class="iso-url-text">(<span class="iso-size-MiB">$SIZE</span>)</small>
</span>
<div id="download-button-state" class="pull-right">
<span id="download-button-state-retry" class="label label-warning">Retry</span>
<span id="download-button-state-resume" class="label label-info">Resume</span>
</div>
</a>
<div id="download-text" class="btn btn-lg clearfix">
<div id="download-text-left" class="pull-left clearfix">
<div id="download-text-label" class="pull-left">Download Tails <span class="iso-version">[[!inline pages="inc/stable_i386_version" raw="yes"]]</span> ISO image
<small id="download-eta">
<span class="speed-KBs">$SPEED</span> KB/s &mdash; <span class="downloaded-MiB">$DOWNLOADED</span>/<span class="iso-size-MiB">$SIZE</span> MiB, <span class="eta-mins">$ETA</span> minutes left
</small>
</div>
<div id="download-progress" class="progress">
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="$PROGRESS" aria-valuemin="0" aria-valuemax="100" style="width: $PROGRESS">
<span class="sr-only"><span class="progress-label">$PROGRESS</span> complete</span>
<span class="progress-label">$PROGRESS</span>
</div>
</div>
<small id="download-path">Downloading to <span class="download-path">$PATH</span></small>
</div>
<div id="download-text-state" class="pull-right">
<span id='download-text-pause'>
Pause</span>
<span id ="download-text-done" class="label label-success state">Done</span>
<span id ="download-text-failed" class="label label-warning state">Failed</span>
</div>
</div>
<div id="download-message">
<div id="download-message-paused">
<p>The download as been paused. Click "resume" to go on.</p>
</div>
<div id="download-message-failed">
<p>The download of the ISO image failed! Please check your network connection and try to resume...</p>
</div>
</div>
</div>
<div id="verify">
<div id="verify-text" class="btn btn-lg clearfix">
<div class="pull-left">
<div id="verify-text-label">Verify ISO image</div>
<small id="verify-text-calculating">Computing SHA-256 checksum for <span class="verify-file-path"></span>...</small>
<div id="verify-text-computed-hash" class="iso-computed-hash"></div>
</div>
<div id="verify-text-state" class="pull-right">
<span id="verify-text-state-calculating" class="state calculating label label-info"><span class="verify-progress">$PROGRESS</span></span>
<span id="verify-text-state-done" class="state success label label-success">Done</span>
<span id="verify-text-state-failed" class="state failed label label-danger">Failed</span>
</div>
</div>
<div id="verify-text-success" class="bg-success">
<p>If you are knowledgeable about OpenPGP, you can do additional verification using the <a href='[[!inline pages="inc/stable_i386_iso_sig_url" raw="yes"]]'>OpenPGP signature</a>.
<a href="">Learn how to do that</a></p>
<a href="" class="btn btn-lg btn-primary">Next <span>Copy ISO image on first USB stick</span></a>
</div>
<div id="verify-text-failure" class="bg-warning">
<p>The verification of the ISO image failed! Please try to download again&hellip;</p>
</div>
<div id="verify-text-failure-again" class="bg-danger">
<p>The verification of the ISO image failed again! Please try to download again from a different place or a different computer&hellip;</p>
</div>
</div>
</div>
[[!meta stylesheet="bootstrap" rel="stylesheet" title=""]]
[[!meta stylesheet="inc/stylesheets/assistant" rel="stylesheet" title=""]]
Welcome to the Tails Installation Assistant
Thank you for your interest in Tails.
Installing Tails can be quite long but we hope you will still have good time :)
We will first ask you a few questions to choose your installation scenario and then guide you step by step.
[[Let's start the journey!|install/os]]
[[!meta robots="noindex"]]
[[!meta stylesheet="bootstrap" rel="stylesheet"]]
[[Back|install/os]]
Debian user
You can:
[[!inline pages="install/inc/router/clone" raw="yes"]]
[[Install from another Tails|install/debian/clone]]
Download and install
You need:
- 1 USB stick (at least 4 GB)
- 30&ndash;60 minutes to download Tails ([[!inline pages="inc/stable_i386_iso_size" raw="yes"]]).
- 25 minutes to install
[[Install from Debian|debian/usb]]
[[Install from Debian using the command line|expert/usb]]
You can also:
- [[Burn Tails on a DVD|debian/dvd]]
- [[Burn Tails on a DVD using the command line|expert/dvd]]
- [[Run Tails in a virtual machine|debian/vm]]
[[!meta robots="noindex"]]
[[!meta title="Install from another Tails"]]
[[!meta stylesheet="inc/stylesheets/steps" rel="stylesheet" title=""]]
[[!meta stylesheet="inc/stylesheets/debian-clone" rel="stylesheet" title=""]]
[[Back|install/debian]]
[[!inline pages="install/inc/steps/switch.inline" raw="yes"]]
[[!inline pages="install/inc/steps/restart_temporary.inline" raw="yes"]]
[[!inline pages="install/inc/steps/verify_up-to-date.inline" raw="yes"]]
[[!inline pages="install/inc/steps/install_final.inline" raw="yes"]]
[[!inline pages="install/inc/steps/restart_final.inline" raw="yes"]]
[[!inline pages="install/inc/steps/create_persistence.inline" raw="yes"]]
[[!meta robots="noindex"]]
[[!meta stylesheet="bootstrap" rel="stylesheet"]]
[[Back|install/debian]]
Debian to DVD
[[!meta robots="noindex"]]
[[!meta stylesheet="bootstrap" rel="stylesheet"]]
[[Back|install/debian]]
Debian to USB
[[!meta robots="noindex"]]
[[!meta stylesheet="bootstrap" rel="stylesheet"]]
[[Back|install/debian]]
[[!inline pages="install/inc/overview/vm" raw="yes"]]
[[!meta robots="noindex"]]
[[!meta stylesheet="bootstrap" rel="stylesheet"]]
[[Back|install/debian]]
Expert to DVD
[[!meta robots="noindex"]]
[[!meta stylesheet="bootstrap" rel="stylesheet"]]
[[Back|install/debian]]
Expert to USB
(function() {
var chromeSupported = !/\bchrome-unsupported\b/.test(document.documentElement.className);
var minVer = {
"firefox": 38,
"chrome": 44,
"tor": 5
};
function setBrowser(browser) {
document.documentElement.dataset.browser = browser ? "sb-" + browser : "unsupported";
}
var browser,
v = navigator.userAgent.match(/\b(Chrome|Firefox)\/(\d+)/);
v = v && parseInt(v[2]) || 0;
if ("InstallTrigger" in window) {
if (v >= minVer.firefox)
browser = "firefox";
} else if (chromeSupported && /\bChrom/.test(navigator.userAgent) && /\bGoogle Inc\./.test(navigator.vendor)) {
if (v >= minVer.chrome)
browser = "chrome";
}
setBrowser(browser);
var style = document.createElement("style");
style.innerHTML = "#download-and-verify { display: none }";
document.documentElement.firstChild.appendChild(style);
addEventListener("load", function(ev) {
style.parentNode.removeChild(style);
var ee, j;
for (var browser in minVer) {
ee = document.getElementsByClassName("minver-" + browser);
for (j = ee.length; j-- > 0;)
ee[j].innerHTML = minVer[browser];
}
}, true);
})();
[[!meta stylesheet="bootstrap" rel="stylesheet"]]
Virtualization
Install from another Tails
If you know someone of trust who uses Tails already, then you can
install your Tails by copying from it. Make sure that this
Tails is up-to-date.
You need:
- 1 other Tails (USB stick or DVD)
- 1 USB stick (at least 4 GB)
- 15 minutes to install
Create an encrypted persistent storage (optional)
=================================================
<div class="step-image">[[!img inc/infography/create-persistence.png link="no"]]</div>
You can optionally create an *encrypted persistent storage* in the
remaining free space on the <span class="usb">second</span><span class="clone">new</span> Tails USB stick to store any of the
following:
- Your personal files and working documents
- Some of your settings
- Your encryption keys
The data in the encrypted persistent storage:
- Remains available across separate working sessions.
- Is encrypted using a passphrase of your choice.
Once the encrypted persistent storage is created, you can choose whether
to activate it or not each time you start Tails.
<div class="tip">
<p>If you don't want to store any data in Tails you can stop following
these instructions and start enjoying Tails right now.</p>
</div>
<div class="caution">
<p>The encrypted persistent storage is not hidden. An attacker in possession of
the USB stick can know whether it has an encrypted persistent storage. Take into consideration
that you can be forced or tricked to give out its passphrase.</p>
</div>
<div class="caution">
<p>It is possible to
open the encrypted persistent storage from other operating systems, but it might break
your security.
Other operating systems should probably not be trusted to handle
sensitive information or leave no trace.</p>
</div>
1. Choose
<span class="menuchoice">
<span class="guimenu">Applications</span>&nbsp;▸
<span class="guisubmenu">Tails</span>&nbsp;▸
<span class="guimenuitem">Configure persistent volume</span></span> to
start the *Persistence Assistant*. The assistant proposes to create
an encrypted persistent volume on the USB stick.
1. Specify a passphrase of your choice in both the
<span class="guilabel">Passphrase</span> and <span class="guilabel">Verify
Passphrase</span> text boxes. Click on the <span class="guilabel">Create</span> button.
<div class="tip">
<p>We recommend choosing a long passphrase made of several random words
rather than a single password. For example "<em>bank violin thread duck knob
train</em>" is a very strong passphrase.</p>
<p>To learn how to choose a good passphrase, read
<a href="https://theintercept.com/2015/03/26/passphrases-can-memorize-attackers-cant-guess/">this
article from The Intercept</a>.</p>
</div>
3. Wait for the creation to finish.
<div class="bug">
<p>If the creation is interrupted before it finishes, you might not
be able to start Tails from this USB stick anymore. This can happen if you
close the window of the assistant or unplug the USB stick during the creation of
the encrypted persistent storage. Reinstall Tails from the
<span class="usb">temporary</span><span class="clone">other</span> Tails <span class="dvd">DVD</span> to fix this issue.</p>
</div>
4. The assistant shows a list of the possible persistence features. Each
feature corresponds to a set of files or settings to be saved in the encrypted
persistent storage.
For the time being, we recommend you to only activate the **Personal
Data** persistence feature. You can modify the configuration of the
encrypted persistent storage later on according to your needs.
<div class="caution">
<p>As a general rule, only activate the persistence features that you
need, as you might otherwise store more data than intended or weaken
your anonymity.</p>
</div>
Refer to our documentation on [[configuring the encrypted persistent
storage|doc/first_steps/persistence/configure]] to learn more about
the other persistence features.
5. Click **Save**.
<div class="step-image">[[!img inc/infography/restart-on-final-tails-with-persistence.png link="no"]]</div>
1. Shut down the computer and restart on the <span class="usb">final</span><span class="clone">new</span> Tails<span class="dvd"> USB stick</span>.
1. In *Tails Greeter*:
- Select your preferred language in the drop-down list on the bottom left of the screen.
- In the <span class="guilabel">Use persistence?</span> section, choose <span class="guilabel">Yes</span> to
enable the encrypted persistent storage for the current working session.
- Enter the passphrase of the persistent volume in the
<span class="guilabel">Passphrase</span> text box.</span>
- If you select the <span class="guilabel">Read-Only</span> check box, the
content of encrypted persistent storage is available and you can modify
it but the changes are not be saved.
- Click **Login**.
<div class="caution">
<p>Use the encrypted persistent storage only when necessary. You can
always start Tails without activating the encrypted persistent
storage.</p>
</div>
1. After 15&ndash;30 seconds, the Tails desktop appears.
1. You can now save your personal files and working documents in the
**Persistent** folder. To open the **Persistent** folder choose
<span class="menuchoice">
<span class="guimenu">Places</span>&nbsp;▸
<span class="guimenuitem">Persistent</span></span>.
<div class="state-image usb clone">[[!img inc/infography/final-tails-with-persistence.png link="no"]]</div>
<div class="state-image dvd">[[!img inc/infography/tails-usb-with-persistence.png link="no"]]</div>
<div class="trophy" id="recommendations">
<p>You now have a working Tails, congrats!</p>
<h3>Final recommendations</h3>
<p>It is very important to keep your Tails up-to-date, otherwise
it will become vulnerable to numerous security issues.</p>
<p>To be notified of new versions and important project news, follow our
[[news feed|news]] or subscribe to our
<a href="https://mailman.boum.org/listinfo/amnesia-news">newsletter</a>
(one or two messages per month):</p>
<p>
<form method="post" action="https://mailman.boum.org/subscribe/amnesia-news" target="_blank">
<input class="text" name="email" value=""/>
<input class="button" type="submit" value="Subscribe"/>
</form>
</p>
<p>Also remember
that Tails does not protect from everything. Have a look at our
[[warnings|doc/about/warning]].</p>
<p>If you face any problem, use the <span class="guilabel">Report an error</span> launcher on the Tails desktop
or visit our [[support pages|support]].</p>
<p>We hope you enjoy using Tails :)</p>
</div>
Install <span class="usb">the final</span> Tails<span class="dvd"> on a USB stick</span>
========================================================================================
In this step, you will install <span class="usb">the final</span> Tails on a <span class="usb">second</span><span class="clone">new</span> USB stick
using *Tails Installer*.
<div class="caution">
<p>All the data on this USB stick will be lost.</p>
</div>
<div class="step-image">
[[!img inc/infography/plug-second-usb.png link="no" class="usb clone"]]
[[!img inc/infography/plug-tails-usb.png link="no" class="dvd"]]
</div>
1. Plug the <span class="usb">second</span><