summaryrefslogtreecommitdiffstats
path: root/extensions/SecureMail/template/en/default/pages/securemail/help.html.tmpl
blob: 380d1c04e25b0f04d5e1abec9547566792dfc7d6 (plain)
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
[%#
  # The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the Bugzilla SecureMail Extension.
  #
  # The Initial Developer of the Original Code is the Mozilla Foundation.
  # Portions created by Mozilla are Copyright (C) 2008 Mozilla Foundation.
  # All Rights Reserved.
  #
  # Contributor(s): Max Kanat-Alexander <mkanat@bugzilla.org>
  #                 Gervase Markham <gerv@gerv.net>
  # Dave Lawrence <dkl@mozilla.com>
  #%]

[% PROCESS global/header.html.tmpl
  title = "SecureMail Help"
%]

[% terms.Bugzilla %] considers certain groups as "secure". If a [% terms.bug %] is in one of those groups, [% terms.Bugzilla %] will not send unencrypted 
email about it. To receive encrypted email rather than just a "something changed" placeholder, you must provide either 
a S/MIME or a GPG/PGP key on the <a href="[% urlbase FILTER none %]userprefs.cgi?tab=securemail">SecureMail preferences tab</a>.<br>
<br>
In addition, if you have uploaded a S/MIME or GPG/PGP key using the <a href="[% urlbase FILTER none %]userprefs.cgi?tab=securemail">
SecureMail preferences tab</a>, if you request your password to be reset, [% terms.Bugzilla %] will send the reset email encrypted and you will
be required to decrypt it to view the reset instructions.

<h2>S/MIME</h2>

<b>S/MIME Keys must be in PEM format - i.e. Base64-encoded text, with the first line containing BEGIN CERTIFICATE.</b></p>

<p>
S/MIME certificates can be obtained from a number of providers. You can get a free one from <a href="https://www.startssl.com/?app=12">StartCom</a>. 
Once you have it, <a href="https://www.startssl.com/?app=25#52">export it from your browser as a .p12 file and import it into your mail client</a>. 
You'll need to provide a password when you export - pick a strong one, and then back up the .p12 file somewhere safe.</p>

<p>Import on Thunderbird as follows:</p>

<ul>
<li>Open Preferences in Thunderbird.</li>
<li>Activate the Advanced pane.</li>
<li>Activate the Certificates tab.</li>
<li>Press the button View Certificates.</li>
<li>Press the Import button.</li>
<li>Open your .p12 file.</li>
<li>Enter the password for unlocking the .p12 if asked.</li>
</ul>

<p>
Then, you need to convert it to a .pem file. Here are two possible ways to do this.</p>

<h3>Thunderbird</h3>

<ul>
<li>Open Preferences in Thunderbird.</li>
<li>Activate the Advanced pane.</li>
<li>Activate the Certificates tab.</li>
<li>Press the button View Certificates.</li>
<li>Select the line in the tree widget that represents the certificate you imported.</li>
<li>Press the View button.</li>
<li>Activate the Details tab.</li>
<li>Press the Export button.</li>
<li>Choose where to save the .pem file.</li>
</ul>

<p>Paste the contents of the .pem file into the SecureMail text field in [% terms.Bugzilla %].</p>

<h3>OpenSSL</h3>

<p>Or, if you have OpenSSL installed, do the following:</p>

<p>
<code>openssl pkcs12 -in certificate.p12 -out certificate.pem -nodes -nokeys</code></p>

<p>
Open the .pem file in a text editor. You can recognise the public key because
it starts "BEGIN CERTIFICATE" and ends "END CERTIFICATE" and 
has an appropriate friendly name (e.g. "StartCom Free Certificate Member's StartCom Ltd. ID").</p>

<p>Paste the contents of the .pem file into the SecureMail text field in [% terms.Bugzilla %].</p>

<h2>PGP</h2>

<b>PGP keys must be ASCII-armoured - i.e. text, with the first line containing BEGIN PGP PUBLIC KEY.</b></p>

<p>
If you already have your own PGP key in a keyring, skip straight to step 3. Otherwise:</p>

<ol>

<li>Install the GPG suite of utilities for your operating system, either using your package manager or downloaded from <a href="https://www.gnupg.org/download/">gnupg.org</a>.</p>

<li><p>Generate a private key.</p>

<p><code>gpg --gen-key</code></p>

<p>
You’ll have to answer several questions:</p>

<p>
<ul>
  <li>What kind and size of key you want; the defaults are probably good enough.</li>
  <li>How long the key should be valid; you can safely choose a non-expiring key.</li>
  <li>Your real name and e-mail address; these are necessary for identifying your key in a larger set of keys.</li>
  <li>A comment for your key; the comment can be empty.</li>
  <li>A passphrase. Whatever you do, don’t forget it! Your key, and all your encrypted files, will be useless if you do.</li>
</ul>

<li><p>Generate an ASCII version of your public key.</p>

<p><code>gpg --armor --output pubkey.txt --export 'Your Name'</code></p>

<p>Paste the contents of pubkey.txt into the SecureMail text field in [% terms.Bugzilla %]. 

<li>Configure your email client to use your associated private key to decrypt the encrypted emails. For Thunderbird, you need the <a href="https://addons.mozilla.org/en-us/thunderbird/addon/enigmail/">Enigmail</a> extension.</p>
</ol>

<p>
Further reading: <a href="https://www.madboa.com/geek/gpg-quickstart/">GPG Quickstart</a>.

[% PROCESS global/footer.html.tmpl %]