Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (103)
835bfc59
Update AppArmor comments
Jan 28, 2018
064ad1f7
Drop spurious trailing whitespace.
Jan 29, 2018
cdb290fe
AppArmor: allow plugin-container to read file/app association information.
Jan 29, 2018
9c609476
AppArmor: allow Firefox to ptrace plugin-container and to send it term signals.
Jan 29, 2018
d62a692a
AppArmor: allow plugin-container to receive term signals from the parent Firefox process.
Jan 29, 2018
f4093174
Fix comment.
Jan 29, 2018
936aee55
AppArmor: allow Firefox to fully manage its fontconfig cache.
Jan 29, 2018
dedd45b0
AppArmor: grant access to mostly innocuous stuff plugin-container tries to read.
Jan 29, 2018
27289e19
AppArmor: silence denial logs about PulseAudio.
Jan 29, 2018
0109e95e
AppArmor: silence more inherited files access denial.
Jan 29, 2018
b1e082fe
AppArmor: drop support for long-obsolete paths.
Jan 29, 2018
a9bef63b
AppArmor: refactor thanks to variables defined in tunables/torbrowser.
Jan 29, 2018
33fd86fa
AppArmor: give the tor profile a stable name.
Jan 29, 2018
850d5606
AppArmor: support some of the included pluggable transports.
Jan 29, 2018
91652b64
AppArmor: remove boilerplate from local override files.
Jan 29, 2018
acc967dc
Update fr.po
Jan 30, 2018
d0a5cc45
Add github code ownders
Feb 26, 2018
0e9db70e
Add
@intrigeri
as code owner for AppArmor profiles
Mar 19, 2018
f8a4f746
Port Settings from gtk2 to Qt5, and also switch from python2 to python3
Mar 19, 2018
052a0995
Removed modem sound :(
Mar 22, 2018
3c187ecf
Add icons to settings buttons
Mar 22, 2018
f7cc20d6
Refactor Launcher to use Qt5, removing all of gtk2 (does not execute yet still...
Mar 22, 2018
39fd6a05
Replace twisted with requests. Downloads work, but does not handle errors or update the GUI
Mar 22, 2018
490844f4
Download in a separate thread, using requests
Mar 22, 2018
3a793303
Fix buttons, and actually delete download path on exit
Mar 22, 2018
7054fb0e
Start making basic download error handling work again, and remove old twisted code
Mar 22, 2018
a23056bd
Verify signature in a separate thread
Mar 22, 2018
6a54e329
Extract tarball in a separate thread
Mar 22, 2018
1d3b1078
Check for SSL error when downloading
Mar 22, 2018
ca0027cd
Fix issue with settings checkboxes not working correctly
Mar 23, 2018
0195e489
Make downloading over Tor work
Mar 23, 2018
055a26ca
Give more intelligence errors if connection error while using socks proxy
Mar 23, 2018
f1473aae
Fix ampersand
Mar 23, 2018
2b854d43
Fix style on setup.py
Mar 23, 2018
467fd098
Update build scripts and dependencies
Mar 23, 2018
df33b473
Fix flake8 style issues
Mar 23, 2018
45e6c016
Allow ctrl-c to work again (see...
Mar 23, 2018
a7f16695
Only try refreshing the keyring when necessary
Mar 23, 2018
b8453e35
Must retain a reference to the QMainWindow, or Qt never shows it
Mar 23, 2018
7cc2611e
Center the window
Mar 23, 2018
826efbec
Fixed various issues related to sig verification. Now if the verification...
Mar 23, 2018
23f9d6d5
Add gnupg2 as a dependency
Mar 23, 2018
dff21a7f
Clean up dependencies, and remove requirements.txt because it is out-of-date...
Mar 23, 2018
bc0ffbd0
Updated translations
Mar 23, 2018
14233d0a
Tweak build files to fix issues in debian building
Mar 23, 2018
feb5830b
Merge branch 'patch-1' of
https://github.com/forthommel/torbrowser-launcher
into forthommel-patch-1
Mar 24, 2018
f97b550b
Merge branch 'forthommel-patch-1' into major-refactor
Mar 24, 2018
2f8b8dda
Version bump to 0.3.0.dev
Mar 26, 2018
8301c4db
Merge remote-tracking branch 'micahflee/develop'
Mar 27, 2018
83c04dd5
d/patches: Rebase patches
Mar 27, 2018
aac63a10
Support new release 0.3.0.dev in develop branch
Mar 28, 2018
419e5f78
d/patches: Add patch 0017 and 0018 to fix the extra dialog issue
Mar 28, 2018
f780a58c
Prepare to release 0.3.0~dev-1~exp1 to experimental
Mar 28, 2018
bbd173e0
Prepare to release 0.3.0~dev-1~exp2 to experimental
Mar 28, 2018
8a762563
Merge pull request #310 from intrigeri/apparmor-201801-edition
Apr 06, 2018
61eb4b2e
Merge branch 'debian/sid' into debian/experimental
Jun 25, 2018
d231496f
Prepare to release 0.3.0~dev-1~exp3 to experimental
Jun 25, 2018
ad95bbda
AppArmor: allow Firefox to read /usr/share/glib-2.0/schemas/gschemas.compiled.
Jul 03, 2018
35d08323
Update the Russian translate
Jul 07, 2018
4e4bbd67
Delete launcher.py
Jul 29, 2018
bd9e67c2
Add files via upload
Jul 29, 2018
a67f026c
AppArmor: adjust Firefox binary path for Tor Browser 8.0a10.
Aug 18, 2018
678d0834
AppArmor: confine Firefox 60 "Web Content" processes under the...
Sep 10, 2018
45265423
AppArmor: give Tor Browser's Web Content process some more innocuous access it now needs.
Sep 10, 2018
eb328f2a
AppArmor: give Web Content processes read access to the startup cache, otherwise they fail to load
Sep 10, 2018
b828bdfa
Properly detect the system's locale
Sep 14, 2018
e886c201
Update list of languages that Tor Browser is available in
Sep 14, 2018
1eee4dcd
Merge branch 'develop' of
https://github.com/deskos-xp/torbrowser-launcher
into deskos-xp-develop
Sep 14, 2018
e6069cfe
Remove extra print statement
Sep 14, 2018
db2e3c9a
Merge branch 'deskos-xp-develop' into develop
Sep 14, 2018
11dd4d00
Merge branch 'develop' of
https://github.com/NaruTrey/torbrowser-launcher
into NaruTrey-develop
Sep 14, 2018
e9b7eab1
Merge branch 'NaruTrey-develop' into develop
Sep 14, 2018
b50706b7
Merge branch 'locale-fix' into develop
Sep 14, 2018
d6d01588
Version bump to 0.3.0 and updated changelog
Sep 14, 2018
79a191dc
Make ppa script use python3, and switch the default suite to bionic
Sep 14, 2018
69eb6cde
Add all the dependencies as build dependencies, to get the ppa to build
Sep 14, 2018
491be97f
d/patches: Refresh patches and Cherry-pick 5 upstream patches
Sep 18, 2018
51cb120e
Remove myself from uploaders.
Sep 18, 2018
9abf5bbb
Make lintian slightly happy
Sep 18, 2018
1686f018
d/torbrowser-launcher.maintscript: rm_conffile appamor profile
Sep 18, 2018
eaa5cfc0
d/control: Add XB-Python-Version tag for binary package
Sep 18, 2018
9943a063
d/control: Remove branch info from Vcs-Git, which is already default
Sep 18, 2018
d7e0b6a8
Prepare to release 0.3.0~dev-1~exp4
Sep 18, 2018
e92689e8
Merge branch 'debian/sid' into debian/experimental
Sep 18, 2018
78b2fb37
Merge tag 'v0.3.0' into debian/experimental
Sep 18, 2018
6fb3fc08
New upstream release 0.3.0 and refresh d/patches
Sep 18, 2018
4c1f9370
d/control: Remove XS-Python-Version and XB-Python-Version
Sep 19, 2018
04d9921f
Prepare to release 0.3.0-1~exp1
Sep 19, 2018
3c47a30e
Fix SHARE so that it works to run without installing
Sep 27, 2018
e57f1a22
Actually hide TBL window
Sep 27, 2018
15336310
Update Tor Browser Developers public key
Sep 27, 2018
bc9347e9
d/copyright: Add comment section to explain why this is contrib package
Sep 30, 2018
15640980
d/patches: Cherry-pick upstream patch to update Tor Browser Developers public key
Sep 30, 2018
cf38af83
Prepare to release 0.3.0-1~exp2
Sep 30, 2018
f3c066ad
Bump version to 0.3.1 and update changelog
Oct 25, 2018
b0f91a26
Merge tag 'v0.3.1' into debian/experimental
Oct 28, 2018
4ec65d9c
New upstream release 0.3.1 and remove upstreamed 0004 patch
Oct 28, 2018
b724de3b
Prepare to release 0.3.1-1~exp1 to experimental
Oct 28, 2018
ab21c934
Merge branch 'debian/experimental' into debian/sid
Nov 01, 2018
a7fbc931
Prepare to release 0.3.1-1
Nov 01, 2018
3 additional commits have been omitted to prevent performance issues.
Hide whitespace changes
Inline
Side-by-side
.github/CODEOWNERS
0 → 100644
View file @
5c2d9b34
# All code
*
@micahflee
# AppArmor profiles
/apparmor/
@intrigeri
BUILD.md
View file @
5c2d9b34
...
...
@@ -12,25 +12,19 @@ Then install dependencies, build a package, and install:
### Debian, Ubuntu, Linux Mint, etc.
```
sh
sudo
apt-get
install
build-essential dh-python python-all python-stdeb python-gtk2 python-twisted python-lzma python-txsocksx gnupg fakeroot xz-utils tor
# If you're running an OS that has python-gpg like Ubuntu 17.04+ or Debian 9+, install that too
sudo
apt
install
python-gpg
sudo
apt
install
build-essential dh-python python3-all python3-stdeb python3-pyqt5 python3-gpg python3-requests python3-socks gnupg2 tor
./build_deb.sh
sudo
dpkg
-i
deb_dist/torbrowser-launcher_
*
.deb
```
Optionally you can install
`python-pygame`
if you want to play a modem sound while Tor Browser is launching.
### Red Hat, Fedora, CentOS, etc.
```
sh
sudo
dnf
install
python-psutil python-twisted gnupg fakeroot rpm-build
python
-tx
socks
x tor pygtk2 python2-gpg
sudo
dnf
install
rpm-build python3-qt5 python3-gpg python3-requests
python
3-py
socks
gnupg2 tor
./build_rpm.sh
sudo
yum
install
dist/torbrowser-launcher-
*
.rpm
```
Optionally you can install
`pygame`
if you want to play a modem sound while Tor Browser is launching.
### Run without installing
Install the dependencies: sadly, not all of them are available in virtualenv, so you will need to install (some of) them system-wide.
...
...
CHANGELOG.md
View file @
5c2d9b34
# Tor Browser Launcher Changelog
## 0.3.1
*
Ship with latest version of the Tor Browser Developers OpenPGP public key
*
Fix bug where TBL window stays open after Tor Browser is launched
## 0.3.0
*
Switched from python2 to python3
*
Switched from gtk2 to Qt5
*
Switched from twisted to requests/socks
*
Use QThreads for async
*
Removed modem sound
*
Only refresh gpg keyring on verification error, instead of every time
*
Updated AppArmor profiles
*
Updated available languages, and fixed locale detection bug
*
Fixed false signature verification error related to twisted
## 0.2.9
*
Fixed crash issue related to Tor Browser 7.5 changing how the currently installed version number is stored
...
...
apparmor/local/torbrowser.Browser.firefox
View file @
5c2d9b34
# Site-specific additions and overrides for torbrowser.Browser.firefox.
# For more details, please see /etc/apparmor.d/local/README.
apparmor/local/torbrowser.Browser.plugin-container
View file @
5c2d9b34
# Site-specific additions and overrides for torbrowser.Browser.firefox.
# For more details, please see /etc/apparmor.d/local/README.
apparmor/local/torbrowser.Tor.tor
View file @
5c2d9b34
# Site-specific additions and overrides for torbrowser.Browser.firefox.
# For more details, please see /etc/apparmor.d/local/README.
apparmor/torbrowser.Browser.firefox
View file @
5c2d9b34
#include <tunables/global>
#include <tunables/torbrowser>
/home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/firefox {
@{torbrowser_firefox_executable} = /home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/firefox.real
profile torbrowser_firefox @{torbrowser_firefox_executable} {
#include <abstractions/gnome>
# Uncomment the following lines if you want to give the Tor Browser read-write
...
...
@@ -13,7 +15,8 @@
network netlink raw,
network tcp,
ptrace (trace) peer=@{profile_name},
ptrace (trace) peer=torbrowser_plugin_container,
signal (send) set=("term") peer=torbrowser_plugin_container,
deny /etc/host.conf r,
deny /etc/hosts r,
...
...
@@ -46,10 +49,11 @@
owner @{torbrowser_home_dir}.bak/ rwk,
owner @{torbrowser_home_dir}.bak/** rwk,
owner @{torbrowser_home_dir}/*.so mr,
owner @{torbrowser_home_dir}/.cache/fontconfig/ rwk,
owner @{torbrowser_home_dir}/.cache/fontconfig/** rwkl,
owner @{torbrowser_home_dir}/components/*.so mr,
owner @{torbrowser_home_dir}/browser/components/*.so mr,
owner @{torbrowser_home_dir}/firefox rix,
owner @{torbrowser_home_dir}/plugin-container px -> torbrowser_plugin_container,
owner @{torbrowser_home_dir}/{,TorBrowser/UpdateInfo/}updates/[0-9]*/updater ix,
owner @{torbrowser_home_dir}/{,TorBrowser/UpdateInfo/}updates/0/MozUpdater/bgupdate/updater ix,
owner @{torbrowser_home_dir}/TorBrowser/Data/Browser/profiles.ini r,
...
...
@@ -59,10 +63,14 @@
owner @{torbrowser_home_dir}/TorBrowser/Tor/*.so mr,
owner @{torbrowser_home_dir}/TorBrowser/Tor/*.so.* mr,
# Web Content processes
owner @{torbrowser_firefox_executable} px -> torbrowser_plugin_container,
/etc/mailcap r,
/etc/mime.types r,
/usr/share/ r,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/mime/ r,
/usr/share/themes/ r,
/usr/share/applications/** rk,
...
...
@@ -103,6 +111,10 @@
deny /sys/devices/system/cpu/cpufreq/policy[0-9]*/cpuinfo_max_freq r,
deny /sys/devices/system/cpu/*/cache/index[0-9]*/size r,
# Silence denial logs about PulseAudio
deny /etc/pulse/client.conf r,
deny /usr/bin/pulseaudio x,
# KDE 4
owner @{HOME}/.kde/share/config/* r,
...
...
apparmor/torbrowser.Browser.plugin-container
View file @
5c2d9b34
#include <tunables/global>
#include <tunables/torbrowser>
@{torbrowser_firefox_executable} = /home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/firefox.real
profile torbrowser_plugin_container {
#include <abstractions/gnome>
# Uncomment the following lines if you
don'want the
Tor Browser
# Uncomment the following lines if you
want
Tor Browser
# to have direct access to your sound hardware. You will also
# need to remove the "deny" word in the machine-id lines further
# bellow.
# need to remove, further bellow:
# - the "deny" word in the machine-id lines
# - the rules that deny reading /etc/pulse/client.conf
# and executing /usr/bin/pulseaudio
# #include <abstractions/audio>
# /etc/asound.conf r,
# owner @{PROC}/@{pid}/fd/ r,
# owner @{torbrowser_home_dir}/TorBrowser/Data/Browser/profile.default/tmp/mozilla-temp-* rw,
signal (receive) set=("term") peer=torbrowser_firefox,
deny /etc/host.conf r,
deny /etc/hosts r,
deny /etc/nsswitch.conf r,
...
...
@@ -24,6 +29,13 @@ profile torbrowser_plugin_container {
deny /etc/machine-id r,
deny /var/lib/dbus/machine-id r,
/etc/mime.types r,
/usr/share/applications/gnome-mimeapps.list r,
/dev/shm/ r,
owner @{PROC}/@{pid}/environ r,
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/mountinfo r,
owner @{PROC}/@{pid}/stat r,
owner @{PROC}/@{pid}/status r,
...
...
@@ -40,11 +52,12 @@ profile torbrowser_plugin_container {
owner @{torbrowser_home_dir}/browser/components/*.so mr,
owner @{torbrowser_home_dir}/defaults/pref/ r,
owner @{torbrowser_home_dir}/defaults/pref/*.js r,
owner @{torbrowser_home_dir}/dependentlibs.list r,
owner @{torbrowser_home_dir}/fonts/ r,
owner @{torbrowser_home_dir}/fonts/** r,
owner @{torbrowser_home_dir}/omni.ja r,
owner @{torbrowser_home_dir}/plugin-container ixmr,
owner @{torbrowser_home_dir}/TorBrowser/Data/Browser/profile.default/extensions/*.xpi r,
owner @{torbrowser_home_dir}/TorBrowser/Data/Browser/profile.default/startupCache/* r,
owner @{torbrowser_home_dir}/TorBrowser/Data/Browser/profile.default/tmp/* rw,
owner @{torbrowser_home_dir}/TorBrowser/Data/fontconfig/fonts.conf r,
owner @{torbrowser_home_dir}/TorBrowser/Tor/ r,
...
...
@@ -53,6 +66,8 @@ profile torbrowser_plugin_container {
owner @{torbrowser_home_dir}/Downloads/ rwk,
owner @{torbrowser_home_dir}/Downloads/** rwk,
owner @{torbrowser_firefox_executable} ixmr -> torbrowser_plugin_container,
/sys/devices/system/cpu/ r,
/sys/devices/system/cpu/present r,
/sys/devices/system/node/ r,
...
...
@@ -78,5 +93,9 @@ profile torbrowser_plugin_container {
deny /sys/devices/system/cpu/cpufreq/policy[0-9]*/cpuinfo_max_freq r,
deny /sys/devices/system/cpu/*/cache/index[0-9]*/size r,
# Silence denial logs about PulseAudio
deny /etc/pulse/client.conf r,
deny /usr/bin/pulseaudio x,
#include <local/torbrowser.Browser.plugin-container>
}
apparmor/torbrowser.Tor.tor
View file @
5c2d9b34
#include <tunables/global>
#include <tunables/torbrowser>
/home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Tor/tor {
@{torbrowser_tor_executable} = /home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/TorBrowser/Tor/tor
profile torbrowser_tor @{torbrowser_tor_executable} {
#include <abstractions/base>
network netlink raw,
...
...
@@ -11,18 +14,23 @@
/etc/nsswitch.conf r,
/etc/passwd r,
/etc/resolv.conf r,
owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Tor/tor mr,
owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Data/Tor/ rw,
owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Data/Tor/* rw,
owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Data/Tor/lock rwk,
owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/Tor,Lib}/*.so mr,
owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/Tor,Lib}/*.so.* mr,
owner @{torbrowser_home_dir}/TorBrowser/Tor/tor mr,
owner @{torbrowser_home_dir}/TorBrowser/Data/Tor/ rw,
owner @{torbrowser_home_dir}/TorBrowser/Data/Tor/** rw,
owner @{torbrowser_home_dir}/TorBrowser/Data/Tor/lock rwk,
owner @{torbrowser_home_dir}/TorBrowser/Tor/*.so mr,
owner @{torbrowser_home_dir}/TorBrowser/Tor/*.so.* mr,
# Support some of the included pluggable transports
owner @{torbrowser_home_dir}/TorBrowser/Tor/PluggableTransports/** rix,
@{PROC}/sys/net/core/somaxconn r,
# Silence file_inherit logs
deny @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/{browser/,}omni.ja r,
deny @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Data/Browser/profile.default/.parentlock rw,
deny @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Data/Browser/profile.default/extensions/*.xpi r,
deny @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Data/Browser/profile.default/startupCache/* r,
deny @{torbrowser_home_dir}/{browser/,}omni.ja r,
deny @{torbrowser_home_dir}/{browser/,}features/*.xpi r,
deny @{torbrowser_home_dir}/TorBrowser/Data/Browser/profile.default/.parentlock rw,
deny @{torbrowser_home_dir}/TorBrowser/Data/Browser/profile.default/extensions/*.xpi r,
deny @{torbrowser_home_dir}/TorBrowser/Data/Browser/profile.default/startupCache/* r,
@{PROC}/sys/kernel/random/uuid r,
/sys/devices/system/cpu/ r,
...
...
build_deb.sh
View file @
5c2d9b34
...
...
@@ -3,10 +3,10 @@
VERSION
=
`
cat
share/torbrowser-launcher/version
`
# clean up from last build
rm
-r
deb_dist
rm
-r
build
deb_dist
# build binary package
python setup.py
--command-packages
=
stdeb.command bdist_deb
python
3
setup.py
--command-packages
=
stdeb.command bdist_deb
# install it
echo
""
...
...
build_rpm.sh
View file @
5c2d9b34
...
...
@@ -6,7 +6,7 @@ VERSION=`cat share/torbrowser-launcher/version`
rm
-r
build dist
# build binary package
python setup.py bdist_rpm
--requires
=
"python
-twisted, gnupg, fakeroot, pygtk2, python2-g
pg"
python
3
setup.py bdist_rpm
--requires
=
"python
3-qt5, python3-gpg, python3-requests, python3-pysocks, gnu
pg
2
"
# install it
echo
""
...
...
debian/changelog
View file @
5c2d9b34
torbrowser-launcher (0.3.1-1~bpo8+1) jessie-backports-sloppy; urgency=medium
* Rebuild for jessie-backports-sloppy.
-- Roger Shimizu <rosh@debian.org> Tue, 06 Nov 2018 22:35:54 +0900
torbrowser-launcher (0.3.1-1~bpo9+1) stretch-backports; urgency=medium
* Rebuild for stretch-backports.
-- Roger Shimizu <rosh@debian.org> Tue, 06 Nov 2018 22:31:07 +0900
torbrowser-launcher (0.3.1-1) unstable; urgency=low
* Upload to unstable.
-- Roger Shimizu <rosh@debian.org> Thu, 01 Nov 2018 00:46:54 +0900
torbrowser-launcher (0.3.1-1~exp1) experimental; urgency=medium
* New upstream release 0.3.1
- Ship with latest version of the Tor Browser Developers
OpenPGP public key
- Fix bug where TBL window stays open after Tor Browser
is launched
* debian/patches:
- Remove 0004 patch which is already merged upstream.
-- Roger Shimizu <rosh@debian.org> Sun, 28 Oct 2018 02:27:31 +0900
torbrowser-launcher (0.3.0-1~exp2) experimental; urgency=medium
* debian/copyright:
- Add comment section to explain why this is contrib package,
which comforts lintian.
* debian/patches:
- Cherry-pick upstream patch to update Tor Browser Developers
public key.
-- Roger Shimizu <rosh@debian.org> Sun, 30 Sep 2018 10:20:22 +0900
torbrowser-launcher (0.3.0-1~exp1) experimental; urgency=medium
* New upstream release 0.3.0
- Switched from python2 to python3
- Switched from gtk2 to Qt5
- Switched from twisted to requests/socks
- Use QThreads for async
- Removed modem sound
- Only refresh gpg keyring on verification error, instead of every time
- Updated AppArmor profiles
- Updated available languages, and fixed locale detection bug
- Fixed false signature verification error related to twisted
* debian/patches:
- Refresh patches.
- Remove upstreamed patches.
* debian/control:
- Remove XS-Python-Version and XB-Python-Version, since lintian says
it's not necessary.
-- Roger Shimizu <rosh@debian.org> Wed, 19 Sep 2018 23:06:56 +0900
torbrowser-launcher (0.3.0~dev-1~exp4) experimental; urgency=medium
* debian/patches:
- Refresh patches.
- Cherry-pick 5 upstream patches to fix appamor profile for
Tor Browser 8.0
* debian/control:
- Rename tag X-Python-Version to XS-Python-Version.
- Add XB-Python-Version tag for binary package.
* debian/torbrowser-launcher.maintscript:
- rm_conffile appamor profile /etc/apparmor.d/local/*, which was
removed since 0.2.9-2. Thanks to gregor herrmann for the fix.
-- Roger Shimizu <rosh@debian.org> Tue, 18 Sep 2018 22:42:28 +0900
torbrowser-launcher (0.3.0~dev-1~exp3) experimental; urgency=medium
* Merge debian/sid branch to incorporate latest changes.
* debian/control:
- Amend Vcs-* a bit to specify debian/sid branch as default.
-- Roger Shimizu <rosh@debian.org> Mon, 25 Jun 2018 02:21:12 +0900
torbrowser-launcher (0.3.0~dev-1~exp2) experimental; urgency=medium
* debian/rules:
- Skip the test since it fails under python 3.6
-- Roger Shimizu <rosh@debian.org> Wed, 28 Mar 2018 21:45:45 +0900
torbrowser-launcher (0.3.0~dev-1~exp1) experimental; urgency=medium
* New upstream release 0.3.0.dev in develop branch
- Switch from python2 to python3
- Switch from gtk2 to Qt5 (Closes: #885489)
- Switch from twisted to requests/socks
- Use QThreads for async, and now download, verify, and extract
in separate threads too
- Remove modem sound
- Stopped refreshing the gpg keyring each time, and instead only
refresh it when you hit a verification error (and then try
verifying again before actually displaying the error)
- On verification error, it saves a copy of the tarball and sig
that failed to verify
- Improved python style with flake8
* debian/patches:
- Refresh patches.
- Add patch 0017 and 0018 to fix the extra dialog issue.
* debian/control:
- Update Build-Depends list to python3 series.
- Update Depends list to match current python3 implementation.
- Move debian/source.lintian-overrides
to debian/source/lintian-overrides to comfort lintian.
* debian/rules:
- Use pybuild as buildsystem to avoid pyversions command error.
-- Roger Shimizu <rosh@debian.org> Wed, 28 Mar 2018 20:15:00 +0900
torbrowser-launcher (0.2.9-6~bpo8+1) jessie-backports-sloppy; urgency=medium
* Rebuild for jessie-backports-sloppy.
...
...
debian/control
View file @
5c2d9b34
...
...
@@ -9,27 +9,23 @@ Build-Depends:
dh-python,
help2man,
lsb-release,
python-all
(>= 2.7.3-4)
python
3
-all
Standards-Version: 3.9.8
Homepage: https://micahflee.com/torbrowser-launcher/
Vcs-Git: https://salsa.debian.org/pkg-privacy-team/torbrowser-launcher.git
Vcs-Browser: https://salsa.debian.org/pkg-privacy-team/torbrowser-launcher
/tree/debian/sid
Vcs-Browser: https://salsa.debian.org/pkg-privacy-team/torbrowser-launcher
Package: torbrowser-launcher
Architecture: i386 amd64
Depends:
${misc:Depends},
${python:Depends},
${python
3
:Depends},
ca-certificates,
gnupg,
libdbus-glib-1-2,
python-gtk2,
python-lzma,
python-parsley (>= 1.2),
python-psutil,
python-twisted,
python-txsocksx (>= 1.13.0.1)
XB-Python-Version: ${python:Versions}
python3-pyqt5,
python3-gpg,
python3-requests,
python3-socks
Recommends: tor
Suggests: apparmor, python-pygame
Description: helps download and run the Tor Browser Bundle
...
...
debian/patches/001
6
-Remove-apparmor-local-path-from-setup.py.patch
→
debian/patches/00
0
1-Remove-apparmor-local-path-from-setup.py.patch
View file @
5c2d9b34
...
...
@@ -8,10 +8,10 @@ apparmor local files were just removed, so change setup.py accordingly.
1 file changed, 4 deletions(-)
diff --git a/setup.py b/setup.py
index
991adbb..3185054
100644
index
37452ba..cf098c1
100644
--- a/setup.py
+++ b/setup.py
@@ -
76
,10 +
76
,6 @@
if distro != 'Ubuntu':
@@ -
83
,10 +
83
,6 @@
if distro != 'Ubuntu':
'apparmor/torbrowser.Browser.firefox',
'apparmor/torbrowser.Browser.plugin-container',
'apparmor/torbrowser.Tor.tor']),
...
...
debian/patches/0001-Update-AppArmor-comments.patch
deleted
100644 → 0
View file @
21c4442d
From: Micah Lee <micah@micahflee.com>
Date: Sun, 28 Jan 2018 11:19:20 -0800
Subject: Update AppArmor comments
---
apparmor/local/torbrowser.Browser.plugin-container | 2 +-
apparmor/local/torbrowser.Tor.tor | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/apparmor/local/torbrowser.Browser.plugin-container b/apparmor/local/torbrowser.Browser.plugin-container
index da8acb0..39c9217 100644
--- a/apparmor/local/torbrowser.Browser.plugin-container
+++ b/apparmor/local/torbrowser.Browser.plugin-container
@@ -1,2 +1,2 @@
-# Site-specific additions and overrides for torbrowser.Browser.firefox.
+# Site-specific additions and overrides for torbrowser.Browser.plugin-container.
# For more details, please see /etc/apparmor.d/local/README.
diff --git a/apparmor/local/torbrowser.Tor.tor b/apparmor/local/torbrowser.Tor.tor
index da8acb0..8ba4033 100644
--- a/apparmor/local/torbrowser.Tor.tor
+++ b/apparmor/local/torbrowser.Tor.tor
@@ -1,2 +1,2 @@
-# Site-specific additions and overrides for torbrowser.Browser.firefox.
+# Site-specific additions and overrides for torbrowser.Tor.tor.
# For more details, please see /etc/apparmor.d/local/README.
debian/patches/0002-Drop-spurious-trailing-whitespace.patch
deleted
100644 → 0
View file @
21c4442d
From: intrigeri <intrigeri@boum.org>
Date: Sun, 28 Jan 2018 18:51:40 +0000
Subject: Drop spurious trailing whitespace.
---
apparmor/local/torbrowser.Browser.firefox | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apparmor/local/torbrowser.Browser.firefox b/apparmor/local/torbrowser.Browser.firefox
index 2bbf71e..da8acb0 100644
--- a/apparmor/local/torbrowser.Browser.firefox
+++ b/apparmor/local/torbrowser.Browser.firefox
@@ -1,2 +1,2 @@
# Site-specific additions and overrides for torbrowser.Browser.firefox.
-# For more details, please see /etc/apparmor.d/local/README.
+# For more details, please see /etc/apparmor.d/local/README.
debian/patches/0002-show-gui-only-if-tbb-not-installed.patch
0 → 100644
View file @
5c2d9b34
From: troubadoour <trobador@riseup.net>
Date: Tue, 27 Mar 2018 18:19:26 -0400
Subject: show gui only if tbb not installed
---
torbrowser_launcher/__init__.py | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/torbrowser_launcher/__init__.py b/torbrowser_launcher/__init__.py
index ce542a4..f8b66da 100644
--- a/torbrowser_launcher/__init__.py
+++ b/torbrowser_launcher/__init__.py
@@ -37,6 +37,8 @@
from .common import Common, SHARE
from .settings import Settings
from .launcher import Launcher
+# Allow ctrl-c to work
+signal.signal(signal.SIGINT, signal.SIG_DFL)
class Application(QtWidgets.QApplication):
"""
@@ -76,23 +78,24 @@
def main():
if settings:
# Settings mode
gui = Settings(common, app)
+ gui.show()
+ sys.exit(app.exec_())
+
else:
# Launcher mode
gui = Launcher(common, app, url_list)
- # Center the window
- desktop = app.desktop()
- window_size = gui.size()
- gui.move(
- (desktop.width() - window_size.width()) / 2,
- (desktop.height() - window_size.height()) / 2
- )
- gui.show()
-
- # Allow ctrl-c to work
- signal.signal(signal.SIGINT, signal.SIG_DFL)
-
- sys.exit(app.exec_())
+ # Show gui only if not installed
+ common = common
+ if not common.settings['installed']:
+ desktop = app.desktop()
+ window_size = gui.size()
+ gui.move(
+ (desktop.width() - window_size.width()) / 2,
+ (desktop.height() - window_size.height()) / 2
+ )
+ gui.show()
+ sys.exit(app.exec_())
if __name__ == "__main__":
debian/patches/0003-AppArmor-allow-plugin-container-to-read-file-app-ass.patch
deleted
100644 → 0
View file @
21c4442d
From: intrigeri <intrigeri@boum.org>
Date: Mon, 29 Jan 2018 06:34:14 +0000
Subject: AppArmor: allow plugin-container to read file/app association
information.
We already allow the main browser profile to do that but with e10s
plugin-container now needs it as well.
---
apparmor/torbrowser.Browser.plugin-container | 3 +++
1 file changed, 3 insertions(+)
diff --git a/apparmor/torbrowser.Browser.plugin-container b/apparmor/torbrowser.Browser.plugin-container
index ee30fd4..eb28cc0 100644
--- a/apparmor/torbrowser.Browser.plugin-container
+++ b/apparmor/torbrowser.Browser.plugin-container
@@ -24,6 +24,9 @@
profile torbrowser_plugin_container {
deny /etc/machine-id r,
deny /var/lib/dbus/machine-id r,
+ /etc/mime.types r,
+ /usr/share/applications/gnome-mimeapps.list r,
+
owner @{PROC}/@{pid}/mountinfo r,
owner @{PROC}/@{pid}/stat r,
owner @{PROC}/@{pid}/status r,
debian/patches/0003-remove-double-common-assignment.patch
0 → 100644
View file @
5c2d9b34
From: troubadoour <trobador@riseup.net>
Date: Wed, 28 Mar 2018 03:52:42 -0400
Subject: remove double 'common' assignment
---
torbrowser_launcher/__init__.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/torbrowser_launcher/__init__.py b/torbrowser_launcher/__init__.py
index f8b66da..72f7937 100644
--- a/torbrowser_launcher/__init__.py
+++ b/torbrowser_launcher/__init__.py
@@ -85,8 +85,7 @@
def main():
# Launcher mode
gui = Launcher(common, app, url_list)
- # Show gui only if not installed
- common = common
+ # Show gui only if tbb not installed
if not common.settings['installed']:
desktop = app.desktop()
window_size = gui.size()
debian/patches/0004-AppArmor-allow-Firefox-to-ptrace-plugin-container-an.patch
deleted
100644 → 0
View file @
21c4442d
From: intrigeri <intrigeri@boum.org>
Date: Mon, 29 Jan 2018 06:36:55 +0000
Subject: AppArmor: allow Firefox to ptrace plugin-container and to send it
term signals.
With e10s Firefox does not need to ptrace itself anymore but instead it needs
to ptrace and kill its child plugin-container processes.
---
apparmor/torbrowser.Browser.firefox | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/apparmor/torbrowser.Browser.firefox b/apparmor/torbrowser.Browser.firefox
index 05f4d16..2069d6f 100644
--- a/apparmor/torbrowser.Browser.firefox
+++ b/apparmor/torbrowser.Browser.firefox
@@ -13,7 +13,8 @@
network netlink raw,
network tcp,
- ptrace (trace) peer=@{profile_name},
+ ptrace (trace) peer=torbrowser_plugin_container,
+ signal (send) set=("term") peer=torbrowser_plugin_container,
deny /etc/host.conf r,
deny /etc/hosts r,
Prev
1
2
3
Next