|
1
|
+This directory contains the scripts used to setup the signing machines.
|
|
2
|
+
|
|
3
|
+It handles everything in the setup, except installation of the signing
|
|
4
|
+keys, which is done manually.
|
|
5
|
+
|
|
6
|
+# Deploying changes on the signing machines
|
|
7
|
+
|
|
8
|
+To deploy changes on the signing machines you need:
|
|
9
|
+* access to the `root` account (either running `su -` and entering the
|
|
10
|
+ `root` password, or having your ssh key in `~root/.ssh/authorized_keys`)
|
|
11
|
+* access to the `setup` account via ssh (the `setup-signing-machine`
|
|
12
|
+ script should be updated to add your key there)
|
|
13
|
+
|
|
14
|
+Deploying changes to the signing machines is done with the following two scripts:
|
|
15
|
+* upload-tbb-to-signing-machine
|
|
16
|
+* setup-signing-machine
|
|
17
|
+
|
|
18
|
+## upload-tbb-to-signing-machine
|
|
19
|
+
|
|
20
|
+This script should be run from your local machine (from which you access
|
|
21
|
+the signing machine). It will create a tarball of tor-browser-build from
|
|
22
|
+the `HEAD` commit, upload it to the signing machine and extract it in
|
|
23
|
+the `/signing` directory. In addition it will download and upload to
|
|
24
|
+the signing machine the tools used in the signing process.
|
|
25
|
+
|
|
26
|
+Before running the script you may edit the line
|
|
27
|
+`signing_machine='linux-signer'` to change the hostname of the signing
|
|
28
|
+machine.
|
|
29
|
+
|
|
30
|
+## setup-signing-machine
|
|
31
|
+
|
|
32
|
+This script should be run on the signing machine as root. It will install
|
|
33
|
+required packages, create user accounts and setup signing tools.
|
|
34
|
+
|
|
35
|
+After running `upload-tbb-to-signing-machine`, open a root shell on the
|
|
36
|
+signing machine and run
|
|
37
|
+`/signing/tor-browser-build/tools/signing/machines-setup/setup-signing-machine`. |