... | ... | @@ -131,6 +131,33 @@ Testing the `nightly` channel is easiest. The URL can be modified in the [build] |
|
|
### Signature Public Certificate
|
|
|
|
|
|
After creating the new testing key pair, add the new certificate into tor-browser by overwriting the appropriate secondary key. For `nightly`, you can achieve this with a patch
|
|
|
```patch
|
|
|
diff --git a/projects/firefox/build b/projects/firefox/build
|
|
|
index 732da0f36d52..354145dece4d 100644
|
|
|
--- a/projects/firefox/build
|
|
|
+++ b/projects/firefox/build
|
|
|
@@ -102,7 +102,10 @@ tar -C browser/extensions -xf $rootdir/[% c('input_files_by_name/tor-launcher')
|
|
|
|
|
|
[% IF c("var/nightly") -%]
|
|
|
# Set update url for nightly (#33402 / #40033)
|
|
|
- sed -i 's|^URL=https://aus1\.torproject\.org/.*|URL=https://nightlies.tbb.torproject.org/nightly-updates/updates/nightly-[% c("var/osname") %]/%CHANNEL%/%BUILD_TARGET%/%VERSION%/%LOCALE%|' build/application.ini.in
|
|
|
+ #sed -i 's|^URL=https://aus1\.torproject\.org/.*|URL=https://nightlies.tbb.torproject.org/nightly-updates/updates/nightly-[% c("var/osname") %]/%CHANNEL%/%BUILD_TARGET%/%VERSION%/%LOCALE%|' build/application.ini.in
|
|
|
+ sed -i 's|^URL=https://aus1\.torproject\.org/.*|URL=https://people.torproject.org/~sysrqb/update_3/%CHANNEL%/%BUILD_TARGET%/%VERSION%/%LOCALE%|' build/application.ini.in
|
|
|
+
|
|
|
+ cp $rootdir/marsigner.der toolkit/mozapps/update/updater/nightly_aurora_level3_secondary.der
|
|
|
[% END -%]
|
|
|
|
|
|
rm -f configure
|
|
|
diff --git a/projects/firefox/config b/projects/firefox/config
|
|
|
index 006c3c9d7c68..fa59b712776e 100644
|
|
|
--- a/projects/firefox/config
|
|
|
+++ b/projects/firefox/config
|
|
|
@@ -168,3 +170,4 @@ input_files:
|
|
|
# TorButton patch authored by Arthur Edelstein, from https://github.com/arthuredelstein/torbutton/ branch 2.1.10-namecoin
|
|
|
- filename: namecoin-etld.patch
|
|
|
enable: '[% c("var/namecoin") %]'
|
|
|
+ - filename: marsigner.der
|
|
|
```
|
|
|
|
|
|
### Import Public Certificate
|
|
|
|
... | ... | |