Merge lp:~tsimonq2/ubiquity/remove-encrypt_home-qt into lp:ubiquity

Proposed by Simon Quigley
Status: Merged
Merged at revision: 6618
Proposed branch: lp:~tsimonq2/ubiquity/remove-encrypt_home-qt
Merge into: lp:ubiquity
Diff against target: 102 lines (+16/-24)
4 files modified
debian/changelog (+10/-0)
debian/ubiquity.templates (+0/-4)
gui/qt/stepUserSetup.ui (+0/-11)
ubiquity/plugins/ubi-usersetup.py (+6/-9)
To merge this branch: bzr merge lp:~tsimonq2/ubiquity/remove-encrypt_home-qt
Reviewer Review Type Date Requested Status
Steve Langasek Approve
Ubuntu Installer Team Pending
Review via email: mp+343759@code.launchpad.net

Commit message

Remove encrypt_home from the Qt frontend.

Description of the change

Following the lead of the GTK frontend, remove the encrypted home directory option from the Qt installer since ecryptfs no longer has support from the Ubuntu Security Team. This removes the frontend but keeps the codebase for the option so it can be added back later using another technology.

Kubuntu considers this release-critical.

To post a comment you must log in.
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Apparently someone was kool and filed this already in bug 1761396 but I didn't link that in the changelog.

6618. By Simon Quigley

Add bug report in the changelog.

Revision history for this message
Steve Langasek (vorlon) wrote :

Uploading this; installer team, please merge this (picking up the resolution to the merge conflicts from the archive).

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2018-04-20 21:11:32 +0000
3+++ debian/changelog 2018-04-22 04:39:16 +0000
4@@ -1,3 +1,13 @@
5+ubiquity (18.04.10) bionic; urgency=medium
6+
7+ * Following the lead of the GTK frontend, remove the encrypted home
8+ directory option from the Qt installer since ecryptfs no longer has
9+ support from the Ubuntu Security Team. This removes the frontend but keeps
10+ the codebase for the option so it can be added back later using another
11+ technology (LP: #1761396).
12+
13+ -- Simon Quigley <tsimonq2@ubuntu.com> Sat, 21 Apr 2018 21:15:49 -0500
14+
15 ubiquity (18.04.9) bionic; urgency=medium
16
17 * Detect the proper name for zram in /proc/swaps (LP: #1763611).
18
19=== modified file 'debian/ubiquity.templates'
20--- debian/ubiquity.templates 2018-04-13 17:37:47 +0000
21+++ debian/ubiquity.templates 2018-04-22 04:39:16 +0000
22@@ -221,10 +221,6 @@
23 Type: text
24 _Description: Require my password to log in
25
26-Template: ubiquity/text/login_encrypt
27-Type: text
28-_Description: Encrypt my home folder
29-
30 Template: ubiquity/text/part_auto_heading_label
31 Type: text
32 _Description: Installation type
33
34=== modified file 'gui/qt/stepUserSetup.ui'
35--- gui/qt/stepUserSetup.ui 2015-09-08 16:16:32 +0000
36+++ gui/qt/stepUserSetup.ui 2018-04-22 04:39:16 +0000
37@@ -536,16 +536,6 @@
38 </property>
39 </widget>
40 </item>
41- <item row="1" column="0">
42- <widget class="QCheckBox" name="login_encrypt">
43- <property name="text">
44- <string>Require Password and decrypt home to login</string>
45- </property>
46- <property name="checked">
47- <bool>false</bool>
48- </property>
49- </widget>
50- </item>
51 </layout>
52 </widget>
53 </item>
54@@ -572,7 +562,6 @@
55 <tabstop>hostname</tabstop>
56 <tabstop>login_pass</tabstop>
57 <tabstop>login_auto</tabstop>
58- <tabstop>login_encrypt</tabstop>
59 </tabstops>
60 <resources/>
61 <connections/>
62
63=== modified file 'ubiquity/plugins/ubi-usersetup.py'
64--- ubiquity/plugins/ubi-usersetup.py 2018-02-28 14:58:37 +0000
65+++ ubiquity/plugins/ubi-usersetup.py 2018-04-22 04:39:16 +0000
66@@ -456,7 +456,6 @@
67 self.page.username.setEnabled(False)
68 self.page.login_pass.hide()
69 self.page.login_auto.hide()
70- self.page.login_encrypt.hide()
71 self.username_edited = True
72 self.hostname_edited = True
73
74@@ -541,22 +540,20 @@
75 return self.page.login_auto.isChecked()
76
77 def on_login_pass_clicked(self, checked):
78- self.page.login_encrypt.setEnabled(checked)
79+ print("Ecryptfs is deprecated")
80
81 def on_login_auto_clicked(self, checked):
82- self.page.login_encrypt.setChecked(not(checked))
83- self.page.login_encrypt.setEnabled(not(checked))
84+ print("Ecryptfs is deprecated")
85
86 def set_encrypt_home(self, value):
87- self.page.login_encrypt.setChecked(value)
88+ print("Ecryptfs is deprecated")
89
90 def set_force_encrypt_home(self, value):
91- self.page.login_encrypt.setDisabled(value)
92- self.page.login_auto.setDisabled(value)
93- self.page.login_pass.setDisabled(value)
94+ print("Ecryptfs is deprecated")
95
96+ # Ecryptfs is deprecated
97 def get_encrypt_home(self):
98- return self.page.login_encrypt.isChecked()
99+ return False
100
101 def username_error(self, msg):
102 self.page.username_error_reason.setText(msg)

Subscribers

People subscribed via source and target branches

to status/vote changes: