1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>generate_pgp_key_dialog</class>
<widget class="QDialog" name="generate_pgp_key_dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>768</width>
<height>280</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>640</width>
<height>280</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>334</height>
</size>
</property>
<property name="windowTitle">
<string>Generate/Import PGP keys</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>5</number>
</property>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>icons/work/lock.svg</pixmap>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label_2">
<property name="font">
<font>
<pointsize>16</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Generate/Import PGP Keys</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="key_present_label">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string><html><head/><body><p>You received an encrypted message for <span style=" font-weight:600;">ACCOUNT</span>.</p><p>To use end-to-end encryption for messaging you need PGP keys for this account and no key is currently present.</p><p>Please choose <span style=" font-weight:600; font-style:italic;">'Export private key'</span> on a device/browser where you signed in before with Blink or Sylk.</p></body></html></string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="key_maybe_present_label">
<property name="text">
<string><html><head/><body><p>To use end-to-end encryption for messaging you need PGP keys for <span style=" font-weight:600;">ACCOUNT</span>.<br/>No key is currently present.</p><p>If you used Blink or Sylk on a device/browser before with end-to-end encryption enabled you need to choose <span style=" font-weight:600; font-style:italic;">'Export private key'</span> there.</p></body></html></string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string><html><head/><body><p>If you <span style=" font-weight:600;">lost access</span> to this device/browser, please continue with 'Generate'. 'Cancel' will <span style=" font-weight:600;">disable</span> end-to-end encrypted messaging <span style=" font-weight:600;">for this session</span>.</p><p>If you generate a new key, your previous messages <span style=" font-weight:600;">cannot</span> be read on newer devices.</p></body></html></string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QDialogButtonBox" name="dialog_button_box">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel</set>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>dialog_button_box</sender>
<signal>accepted()</signal>
<receiver>generate_pgp_key_dialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>dialog_button_box</sender>
<signal>rejected()</signal>
<receiver>generate_pgp_key_dialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>