~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to mailnews/extensions/enigmail/package/prefs/enigmail.js

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ***** BEGIN LICENSE BLOCK *****
 
2
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
3
 *
 
4
 * The contents of this file are subject to the Mozilla Public
 
5
 * License Version 1.1 (the "MPL"); you may not use this file
 
6
 * except in compliance with the MPL. You may obtain a copy of
 
7
 * the MPL at http://www.mozilla.org/MPL/
 
8
 *
 
9
 * Software distributed under the MPL is distributed on an "AS
 
10
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 
11
 * implied. See the MPL for the specific language governing
 
12
 * rights and limitations under the MPL.
 
13
 *
 
14
 * The Original Code is Enigmail.
 
15
 *
 
16
 * The Initial Developer of the Original Code is Ramalingam Saravanan.
 
17
 * Portions created by Ramalingam Saravanan <svn@xmlterm.org> are
 
18
 * Copyright (C) 2001 Ramalingam Saravanan. All Rights Reserved.
 
19
 *
 
20
 * Contributor(s):
 
21
 * Patrick Brunschwig <patrick@mozilla-enigmail.org>
 
22
 *
 
23
 * Alternatively, the contents of this file may be used under the terms of
 
24
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 
25
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
26
 * in which case the provisions of the GPL or the LGPL are applicable instead
 
27
 * of those above. If you wish to allow use of your version of this file only
 
28
 * under the terms of either the GPL or the LGPL, and not to allow others to
 
29
 * use your version of this file under the terms of the MPL, indicate your
 
30
 * decision by deleting the provisions above and replace them with the notice
 
31
 * and other provisions required by the GPL or the LGPL. If you do not delete
 
32
 * the provisions above, a recipient may use your version of this file under
 
33
 * the terms of any one of the MPL, the GPL or the LGPL.
 
34
 * ***** END LICENSE BLOCK ***** */
 
35
 
 
36
/**
 
37
 * Default pref values for Enigmail
 
38
 */
 
39
 
 
40
// the last configured Enigmail version
 
41
pref("extensions.enigmail.configuredVersion","");
 
42
 
 
43
// Hide prefs and menu entries from non-advanced users
 
44
pref("extensions.enigmail.advancedUser",false);
 
45
 
 
46
// additional parameter(s) to pass to GnuPG
 
47
pref("extensions.enigmail.agentAdditionalParam","");
 
48
 
 
49
// path to gpg executable
 
50
pref("extensions.enigmail.agentPath","");
 
51
 
 
52
// enable --always-trust for message sending
 
53
pref("extensions.enigmail.alwaysTrustSend",true);
 
54
 
 
55
// allow empty subject line without asking for confirmation
 
56
pref("extensions.enigmail.allowEmptySubject",false);
 
57
 
 
58
// automatically download missing keys from keyserver
 
59
pref("extensions.enigmail.autoKeyRetrieve","");
 
60
 
 
61
// enable automatically decrypt/verify
 
62
pref("extensions.enigmail.autoDecrypt",true);
 
63
 
 
64
// enable X-Enigmail-xxx headers
 
65
pref("extensions.enigmail.addHeaders",true);
 
66
 
 
67
// countdown for alerts when composing inline PGP HTML msgs
 
68
pref("extensions.enigmail.composeHtmlAlertCount",3);
 
69
 
 
70
// enable confirm dialog before sending message
 
71
pref("extensions.enigmail.confirmBeforeSend",false);
 
72
 
 
73
// prefer S/MIME or PGP/MIME (0: PGP/MIME, 1: ask, 2: S/MIME)
 
74
pref("extensions.enigmail.mimePreferPgp",1);
 
75
 
 
76
// show warning message when clicking on sign icon
 
77
pref("extensions.enigmail.displaySignWarn",true);
 
78
 
 
79
// display warning as info for partially signed message
 
80
pref("extensions.enigmail.displayPartiallySigned",true);
 
81
 
 
82
// try to match secondary uid to from address
 
83
pref("extensions.enigmail.displaySecondaryUid",true);
 
84
 
 
85
// treat '-- ' as signature separator
 
86
pref("extensions.enigmail.doubleDashSeparator",true);
 
87
 
 
88
// last state of dialog to choose encryption method if there are attachments
 
89
pref("extensions.enigmail.encryptAttachments",1);
 
90
 
 
91
// skip the attachments dialog
 
92
pref("extensions.enigmail.encryptAttachmentsSkipDlg", 0);
 
93
 
 
94
// Encrypt to self
 
95
pref("extensions.enigmail.encryptToSelf",true);
 
96
 
 
97
// enable 'Decrypt & open' for double click on attachment (if possible)
 
98
pref("extensions.enigmail.handleDoubleClick",true);
 
99
 
 
100
// disable '<' and '>' around email addresses
 
101
pref("extensions.enigmail.hushMailSupport",false);
 
102
 
 
103
// display alert for 'failed to initialize enigmime'
 
104
pref("extensions.enigmail.initAlert",true);
 
105
 
 
106
// use -a for encrypting attachments for inline PGP
 
107
pref("extensions.enigmail.inlineAttachAsciiArmor",false);
 
108
 
 
109
// extension to append for inline-encrypted attachments
 
110
pref("extensions.enigmail.inlineAttachExt",".pgp");
 
111
 
 
112
// extension to append for inline-signed attachments
 
113
pref("extensions.enigmail.inlineSigAttachExt",".sig");
 
114
 
 
115
// debug log directory (if set, also enabled debugging)
 
116
pref("extensions.enigmail.logDirectory","");
 
117
 
 
118
// enable encryption for replies to encrypted mails
 
119
pref("extensions.enigmail.keepSettingsForReply",true);
 
120
 
 
121
// display all or no keys by default in the key manager
 
122
pref("extensions.enigmail.keyManShowAllKeys",false);
 
123
 
 
124
 
 
125
// list of keyservers to use
 
126
pref("extensions.enigmail.keyserver","pool.sks-keyservers.net, subkeys.pgp.net, sks.mit.edu, ldap://certserver.pgp.com");
 
127
 
 
128
// keep passphrase for ... minutes
 
129
pref("extensions.enigmail.maxIdleMinutes",5);
 
130
 
 
131
// GnuPG hash algorithm
 
132
// 0: automatic seletion (i.e. let GnuPG choose)
 
133
// 1: SHA1, 2: RIPEMD160, 3: SHA256, 4: SHA384, 5: SHA512, 6: SHA224
 
134
pref("extensions.enigmail.mimeHashAlgorithm",0);
 
135
 
 
136
// no passphrase for GnuPG key needed
 
137
pref("extensions.enigmail.noPassphrase",false);
 
138
 
 
139
// parse all mime headers (do NOT change)
 
140
pref("extensions.enigmail.parseAllHeaders",true);
 
141
 
 
142
// show quoted printable warning message (and remember selected state)
 
143
pref("extensions.enigmail.quotedPrintableWarn",0);
 
144
 
 
145
// use http proxy settings as set in Mozilla/Thunderbird
 
146
pref("extensions.enigmail.respectHttpProxy",true);
 
147
 
 
148
// selection of keys for unkown recipients
 
149
// 1: rules only
 
150
// 2: rules & email addresses (normal)
 
151
// 3: email address only (no rules)
 
152
// 4: manually (always prompt, no rules)
 
153
// 5: no rules, no key selection
 
154
pref("extensions.enigmail.recipientsSelection",2);
 
155
 
 
156
// show "save draft encrypted" message (and remember selected state)
 
157
pref("extensions.enigmail.saveEncrypted",0);
 
158
 
 
159
// replacement of Mozilla's show all headers (because the original value is overriden)
 
160
// OBSOLETE
 
161
// pref("extensions.enigmail.show_headers",1);
 
162
 
 
163
// support different passwords for each key (not yet available)
 
164
pref("extensions.enigmail.supportMultiPass",false);
 
165
 
 
166
// use GnuPG's default comment for signed messages
 
167
pref("extensions.enigmail.useDefaultComment",false);
 
168
 
 
169
// allow encryption to newsgroups
 
170
pref("extensions.enigmail.encryptToNews", false);
 
171
pref("extensions.enigmail.warnOnSendingNewsgroups",true);
 
172
 
 
173
// use gpg passphrase agent for passphrase handling
 
174
pref("extensions.enigmail.useGpgAgent",false);
 
175
 
 
176
// use PGP/MIME (0=never, 1=allow, 2=always)
 
177
// pref("extensions.enigmail.usePGPMimeOption",1); -- OBSOLETE, see mail.identity.default.pgpMimeMode
 
178
 
 
179
// enable using gpgkeys_*
 
180
pref("extensions.enigmail.useGpgKeysTool",true);
 
181
 
 
182
// show "conflicting rules" message (and remember selected state)
 
183
pref("extensions.enigmail.warnOnRulesConflict",0);
 
184
 
 
185
// display a warning when the passphrase is cleared
 
186
pref("extensions.enigmail.warnClearPassphrase",true);
 
187
 
 
188
// warn if gpg-agent is found and "remember passphrase for X minutes is active"
 
189
pref("extensions.enigmail.warnGpgAgentAndIdleTime",true);
 
190
 
 
191
// display a warning when all keys are to be refreshed
 
192
pref("extensions.enigmail.warnRefreshAll",true);
 
193
 
 
194
// display a warning if the broken character set ISO-2022-JP is used (and remember selected state)
 
195
pref("extensions.enigmail.warnIso2022jp", 0);
 
196
 
 
197
// wrap HTML messages before sending inline PGP messages
 
198
pref("extensions.enigmail.wrapHtmlBeforeSend",true);
 
199
 
 
200
// enable experimental features.
 
201
// WARNING: such features may unfinished functions or tests that can break
 
202
// existing functionality in Enigmail and Thunderbird!
 
203
pref("extensions.enigmail.enableExperiments",false);
 
204
 
 
205
 
 
206
/*
 
207
   Default pref values for the enigmail per-identity
 
208
   settings
 
209
*/
 
210
 
 
211
pref("mail.identity.default.enablePgp",false);
 
212
pref("mail.identity.default.pgpkeyId",  "");
 
213
pref("mail.identity.default.pgpKeyMode", 0);
 
214
pref("mail.identity.default.pgpSignPlain", false);
 
215
pref("mail.identity.default.pgpSignEncrypted", false);
 
216
pref("mail.identity.default.defaultEncryptionPolicy", 0);
 
217
pref("mail.identity.default.openPgpHeaderMode", 0);
 
218
pref("mail.identity.default.openPgpUrlName", "");
 
219
pref("mail.identity.default.pgpMimeMode", false);
 
220
pref("mail.identity.default.attachPgpKey", false);
 
221
 
 
222
/*
 
223
   Other settings (change Mozilla behaviour)
 
224
*/
 
225
 
 
226
// disable flowed text by default
 
227
pref("mailnews.send_plaintext_flowed", false);