Commit Graph

886 Commits

Author SHA1 Message Date
asciiwolf
851ff3304f There are two abstraction sets added.
- The first is D-Bus session abstractions.

There are D-Bus denies for opening dialog boxes and file open boxes, which need D-Bus abstractions to access the user sessions. Fixed by including abstractions/dbus-session (which also implicitly imports abstractions/dbus-session-strict for systemd user sessions) in the AppArmor rules, if the abstractions exist.

The abstractions/dbus-session rule also requires adding an AppArmor owner rule for the ~/.cache/ibus/dbus-* socket. Otherwise, keyboard input will stop working.

- The second is X abstractions.

Observed initially in #588, systems that do NOT have GNOME installed on them, such as Lubuntu which uses LXQt and has ZERO GNOME components, will have issues accessing X11 sockets.

In such systems, the implied abstractions/gnome already part of the AppArmor profile do not exist. Therefore, AppArmor will not import abstractions/gnome which includes the X abstractions because the GNOME abstractions definition does not exist.

In such cases, components of the UI will not properly function with dialog boxes. This is why this is separately explicitly required, despite GNOME abstractions including X abstractions.
2024-10-05 10:14:32 +00:00
Thomas Ward
e049fdcc76 Update/Add Additional Abstractions for AppArmor 2024-10-05 10:14:32 +00:00
Nicolas Vigier
8761fed197
Update share/torbrowser-launcher/tor-browser-developers.asc (#21)
Update Tor Browser gpg key for new subkey (tor-browser-build#40964).
2024-09-23 11:35:05 +02:00
Thomas Ward
60d9c3969c
Remove modem sound references 2024-02-26 18:18:57 +01:00
asciiwolf
0a20f44802 Add developer name to AppStream metadata 2024-02-03 22:22:28 +00:00
asciiwolf
96594666ab Update the Flatpak name 2024-01-17 13:22:42 +00:00
Nicolas Vigier
899ea23170
Add script to tag new release (#13) 2024-01-12 11:13:05 +01:00
Nicolas Vigier
e4bb97903d
Version bump to 0.3.7 and update changelog 2024-01-11 20:00:16 +01:00
Nicolas Vigier
10a13e3fac
Remove gnupg_import_ok_pattern from torbrowser_launcher/common.py (#12)
According to https://github.com/torproject/torbrowser-launcher/pull/716
the definition of `gnupg_import_ok_pattern` in
`torbrowser_launcher/common.py` is causing some warnings.

But it looks like it is not being used since
83fa1d38c4, so we can remove it.

Thanks to meator for reporting the issue.
2024-01-11 13:33:31 +01:00
Vecna
961da39f8a Depend on dbus-glib 2024-01-11 09:57:30 +00:00
Nicolas Vigier
6f55236bd6
Update torbrowser_launcher.pot 2024-01-10 09:47:11 +01:00
Nicolas Vigier
e5b82a62c7
Update Copyright lines (#11) 2024-01-10 09:47:10 +01:00
Nicolas Vigier
9140e6a41d
Update share/torbrowser-launcher/tor-browser-developers.asc (#10)
Update Tor Browser gpg key, with new expiration date on the current
subkey.
2024-01-08 13:54:51 +01:00
Nicolas Vigier
7b9b5b9cb0
Update self.min_version to 13.0 (#9) 2024-01-08 13:53:33 +01:00
Nicolas Vigier
f4d2e314bf
Set the TORBROWSER_LAUNCHER environment variable (#8)
Set an environment variable to make it easier for Tor Browser to see
that torbrowser-launcher is being used.
2024-01-08 11:32:06 +01:00
Nicolas Vigier
e1e16dbb02
Update git repository URL (#7) 2023-11-23 16:36:58 +01:00
AsciiWolf
34bdd4d0b1 Use a proper rDNS ID in AppStream metainfo 2023-11-02 18:12:06 +01:00
richard
40e7cacbf8 Merge branch 'asciiwolf-git-url-fix' into 'main'
Update Git repo URL in BUILD.md

See merge request tpo/applications/torbrowser-launcher!2
2023-10-13 21:00:04 +00:00
richard
a35c15983e Merge branch 'asciiwolf-appstream-urls-fix' into 'main'
Update URLs in AppStream metadata

See merge request tpo/applications/torbrowser-launcher!1
2023-10-13 18:23:49 +00:00
richard
8276534d8b Merge branch 'asciiwolf-tbb-archive-name-fix' into 'main'
Fix TBB archive name format

Closes #4

See merge request tpo/applications/torbrowser-launcher!3
2023-10-13 18:23:08 +00:00
asciiwolf
1a0562ba2f Fix TBB archive name format 2023-10-13 15:04:09 +00:00
asciiwolf
8f4d4c84b9 Update Git repo URL in BUILD.md 2023-10-13 12:22:19 +00:00
asciiwolf
07c2f67110 Update URLs in AppStream metadata 2023-10-13 12:16:08 +00:00
intrigeri
4652b442d7
Merge pull request #709 from anonym/tor-browser-13.0
Adapt AppArmor profile for Tor browser 13.0
2023-10-04 11:25:46 +02:00
intrigeri
25ebbe67a2
Merge pull request #702 from Fei1Yang/apparmor-path
Fix path variables in AppArmor profile
2023-10-04 11:13:50 +02:00
anonym
b80e0078ee AppArmor: silence denial to read /sys/class/input/
It is unclear to me what this is about.
2023-09-28 15:08:58 +02:00
anonym
29e1fe419a AppArmor: silence denial of sys_ptrace capability
We already allow ptrace for its relevant subprocesses via ptrace
rules, and I'm unsure if the full capability is really needed. I see
lots of other profiles which have ptrace rules without the capability
so I guess not. And I wonder if allowing the capability allows ptrace
for arbitrary processes, which would be really bad.

So let's assume it's not needed and we'll see what happens.
2023-09-28 15:08:17 +02:00
anonym
b257da0390 AppArmor: give read access to proc info about which command the browser's threads use 2023-09-28 15:08:01 +02:00
anonym
41f20588bf AppArmor: allow reading/writing to /proc/PID/oom_score_adj
Firefox adjusts the OOM scores of its processes so that if they are
reaped they are killed in a sane order, e.g. the parent process last.

Source: hal/linux/LinuxProcessPriority.cpp
2023-09-28 15:07:16 +02:00
anonym
629493a62d AppArmor: allow executing glxtest
This "Firefox OpenGL probe utility" was added in Tor Browser 13.
2023-09-28 15:06:51 +02:00
Fei1Yang
6ec4845161 Fix path variables in AppArmor profile 2023-09-21 08:40:50 +00:00
David
ac85ac405c
Fix url for version check (#678) 2023-04-28 21:02:18 +02:00
Micah Lee
7597c77ab6
Merge pull request #677 from rugk/patch-1
Fix broken link to Tor signature verification site
2023-01-16 11:54:49 -08:00
Micah Lee
3a8d3acca1
Merge pull request #673 from davidbaumann/develop
Create bug_report.md
2023-01-16 11:54:27 -08:00
rugk
80a517d410
Fix broken link to Tor signature verification site 2023-01-14 00:10:11 +01:00
David
1484049195
Create bug_report.md 2023-01-12 07:56:08 +01:00
arfshl
d732f52b57
Update LICENSE (#669) 2023-01-07 13:58:16 +01:00
Micah Lee
7472ff6b37
Return early in torbrowser_12_rename_old_tbb() if the TBB path does not exist yet 2022-12-13 18:19:17 -08:00
Micah Lee
52f7be32cd
Version bump in AppStream metadata 2022-12-13 18:14:33 -08:00
Micah Lee
c315e3c4e4
Merge branch 'develop' of github.com:micahflee/torbrowser-launcher into develop 2022-12-12 18:38:28 -08:00
Micah Lee
501d0d8c85
Version bump to 0.3.6 and update changelog 2022-12-12 18:38:07 -08:00
Micah Lee
79c19e6044
Merge pull request #598 from a1346054/develop
Minor cleanup
2022-12-12 18:34:00 -08:00
Micah Lee
41a5d75af9
Merge pull request #612 from ersen0/po-tr
Add Turkish translation
2022-12-12 18:32:40 -08:00
Micah Lee
9157f909fa
Merge pull request #630 from arfshl/develop
Update Copyright to 2022
2022-12-12 18:31:59 -08:00
Micah Lee
acd8246d55
Merge branch 'develop' into develop 2022-12-12 18:30:48 -08:00
Micah Lee
d288c57624
Merge pull request #638 from MrRawes/patch-1
Allow github to recognize the License
2022-12-12 18:30:03 -08:00
Micah Lee
7cbc6c9d84
Rename old tor-browser folder with a locale, if it exists 2022-12-12 18:25:16 -08:00
Micah Lee
398badbc8b
Format with black 2022-12-12 18:14:27 -08:00
Micah Lee
c8c39cea9a
Update min_version to 12.0, because this is the current version of Tor Browser 2022-12-12 18:12:49 -08:00
Micah Lee
8c69da13a7
Pass integers into gui.move() 2022-12-12 18:11:45 -08:00