up to date versions of Tor Browsers in newly created AppVMs inherited from updated TemplateVMs

Information

ID: 417
PHID: PHID-TASK-rkeigwhbn4le6kau32jg
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

Prerequisite knowledge:

Goal:
After updating the TemplateVM, at least newly created AppVMs based on the updated TemplateVM should come with an up to date version of Tor Browser.

Non-goal:
Updating existing installations of Tor Browser in existing AppVMs. [Economically impossible in the absence of The Tor Project maintaining a proper Debian package while preserving user data (bookmarks, etc.).] Those still have to be updated with Tor Browser’s internal updater. If further discussion on this non-goal is required, a separate discussion should be opened.

Alternative technical task title:
ship Tor Browser tarballs in Qubes TemplateVMs in /var/cache/tb-binary and extract in AppVMs at boot time to user's home folder

Implementation:

  • in tb-updater postinst / update-torbrowser

Deprecated:

  • Create a package tb-binary, that ships a folder /var/cache/tb-binary that includes the Tor Browser tarball tor-browser-linux64-x.x_en-US.tar.xz as well as signature tor-browser-linux64-x.x_en-US.tar.xz.asc.
  • During boot of AppVMs, a script should check if Tor Browser is already installed in user’s home folder. And if not, verify [reusing tb-updater code] and extract Tor Browser from /var/cache/tb-binary to user’s home folder.
    ** [The verification makes shipping malicious files in the tb-binary package less attractive.]
  • Configurable through /etc/torbrowser.d folder (can be turned off).

Questions:

  • Is there any more appropriate folder than /var/cache/tb-binary as per FHS?

Comments


Patrick

2015-12-15 23:28:11 UTC


Patrick

2015-12-25 16:36:52 UTC


Patrick

2016-01-05 16:17:47 UTC


Patrick

2016-01-05 16:30:02 UTC


Patrick

2016-01-05 23:19:00 UTC


Patrick

2016-01-05 23:21:21 UTC


marmarek

2016-01-06 00:33:18 UTC


Patrick

2016-01-06 16:33:54 UTC


Patrick

2016-01-06 17:24:12 UTC


mfc

2016-01-06 17:36:50 UTC


Patrick

2016-01-06 19:12:18 UTC


marmarek

2016-01-06 22:17:28 UTC


Patrick

2016-01-06 22:25:47 UTC


Patrick

2016-01-06 22:36:20 UTC


Patrick

2016-01-07 18:22:00 UTC


marmarek

2016-01-07 22:54:53 UTC


Patrick

2016-01-08 02:34:28 UTC


Patrick

2016-01-08 02:38:16 UTC


Patrick

2016-01-08 02:55:33 UTC


mfc

2016-01-08 11:45:50 UTC


Patrick

2016-04-08 21:06:25 UTC


Patrick

2016-04-26 05:22:38 UTC


Patrick

2016-04-29 04:55:37 UTC


Patrick

2016-04-30 00:42:07 UTC


Patrick

2016-04-30 00:52:55 UTC


Patrick

2016-05-04 21:51:43 UTC