~ubuntu-branches/ubuntu/precise/enigmail/precise-updates

« back to all changes in this revision

Viewing changes to package/prefs/enigmail.js

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2014-01-30 11:42:56 UTC
  • mfrom: (0.12.17)
  • Revision ID: package-import@ubuntu.com-20140130114256-6yvx7ylu1cwrhwp2
Tags: 2:1.7-0ubuntu0.12.04.1
* New upstream release v1.7 to support Thunderbird 31

* No longer requires a Mozilla build system, so we use the upstream
  tarball directly now
  - update debian/rules
  - drop libgtk2.0-dev, libidl-dev, libdbus-glib-1-dev, libnotify-dev,
    libasound2-dev, libxt-dev, autoconf2.13 and mesa-common-dev
    build-depends, as these were only there because we were using a hacked
    Mozilla build system
* Update to source format 3.0
* Drop thunderbird-dev build-depend - the only binary code in enigmail now
  uses ctypes, so we don't need the SDK
* Drop debian/patches/no_libxpcom.patch - it doesn't build a binary component
  now
* Drop debian/patches/use_sdk.patch - there's no dependency on the
  Thunderbird SDK now

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@enigmail.net>
 
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
// ** enigmail keySel preferences:
 
59
// use rules to assign keys
 
60
pref("extensions.enigmail.assignKeysByRules",true);
 
61
// use email addresses to assign keys
 
62
pref("extensions.enigmail.assignKeysByEmailAddr",true);
 
63
// use manual dialog to assign missing keys
 
64
pref("extensions.enigmail.assignKeysManuallyIfMissing",true);
 
65
// always srats manual dialog for keys
 
66
pref("extensions.enigmail.assignKeysManuallyAlways",false);
 
67
 
 
68
// automatically download missing keys from keyserver
 
69
pref("extensions.enigmail.autoKeyRetrieve","");
 
70
 
 
71
// enable automatically decrypt/verify
 
72
pref("extensions.enigmail.autoDecrypt",true);
 
73
 
 
74
// enable X-Enigmail-xxx headers
 
75
pref("extensions.enigmail.addHeaders",false);
 
76
 
 
77
// countdown for alerts when composing inline PGP HTML msgs
 
78
pref("extensions.enigmail.composeHtmlAlertCount",3);
 
79
 
 
80
// enable confirm dialog before sending message
 
81
pref("extensions.enigmail.confirmBeforeSend",false);
 
82
 
 
83
// prefer S/MIME or PGP/MIME (0: PGP/MIME, 1: ask, 2: S/MIME)
 
84
pref("extensions.enigmail.mimePreferPgp",1);
 
85
 
 
86
// show warning message when clicking on sign icon
 
87
pref("extensions.enigmail.displaySignWarn",true);
 
88
 
 
89
// display warning as info for partially signed message
 
90
pref("extensions.enigmail.displayPartiallySigned",true);
 
91
 
 
92
// try to match secondary uid to from address
 
93
pref("extensions.enigmail.displaySecondaryUid",true);
 
94
 
 
95
// treat '-- ' as signature separator
 
96
pref("extensions.enigmail.doubleDashSeparator",true);
 
97
 
 
98
// last state of dialog to choose encryption method if there are attachments
 
99
pref("extensions.enigmail.encryptAttachments",1);
 
100
 
 
101
// skip the attachments dialog
 
102
pref("extensions.enigmail.encryptAttachmentsSkipDlg", 0);
 
103
 
 
104
// Encrypt to self
 
105
pref("extensions.enigmail.encryptToSelf",true);
 
106
 
 
107
// enable 'Decrypt & open' for double click on attachment (if possible)
 
108
pref("extensions.enigmail.handleDoubleClick",true);
 
109
 
 
110
// disable '<' and '>' around email addresses
 
111
pref("extensions.enigmail.hushMailSupport",false);
 
112
 
 
113
// display alert for 'failed to initialize enigmime'
 
114
pref("extensions.enigmail.initAlert",true);
 
115
 
 
116
// use -a for encrypting attachments for inline PGP
 
117
pref("extensions.enigmail.inlineAttachAsciiArmor",false);
 
118
 
 
119
// extension to append for inline-encrypted attachments
 
120
pref("extensions.enigmail.inlineAttachExt",".pgp");
 
121
 
 
122
// extension to append for inline-signed attachments
 
123
pref("extensions.enigmail.inlineSigAttachExt",".sig");
 
124
 
 
125
// debug log directory (if set, also enabled debugging)
 
126
pref("extensions.enigmail.logDirectory","");
 
127
 
 
128
// display all or no keys by default in the key manager
 
129
pref("extensions.enigmail.keyManShowAllKeys",true);
 
130
 
 
131
 
 
132
// list of keyservers to use
 
133
pref("extensions.enigmail.keyserver","pool.sks-keyservers.net, keys.gnupg.net, pgp.mit.edu");
 
134
 
 
135
// keep passphrase for ... minutes
 
136
pref("extensions.enigmail.maxIdleMinutes",5);
 
137
 
 
138
// GnuPG hash algorithm
 
139
// 0: automatic seletion (i.e. let GnuPG choose)
 
140
// 1: SHA1, 2: RIPEMD160, 3: SHA256, 4: SHA384, 5: SHA512, 6: SHA224
 
141
pref("extensions.enigmail.mimeHashAlgorithm",0);
 
142
 
 
143
// no passphrase for GnuPG key needed
 
144
pref("extensions.enigmail.noPassphrase",false);
 
145
 
 
146
// parse all mime headers (do NOT change)
 
147
pref("extensions.enigmail.parseAllHeaders",true);
 
148
 
 
149
// show quoted printable warning message (and remember selected state)
 
150
pref("extensions.enigmail.quotedPrintableWarn",0);
 
151
 
 
152
// use http proxy settings as set in Mozilla/Thunderbird
 
153
pref("extensions.enigmail.respectHttpProxy",true);
 
154
 
 
155
// selection for which encryption model to prefer
 
156
// 0: convenient encryption settings DEFAULT
 
157
// 1: manual encryption settings
 
158
pref("extensions.enigmail.encryptionModel",0);
 
159
 
 
160
// enable encryption for replies to encrypted mails
 
161
pref("extensions.enigmail.keepSettingsForReply",true);
 
162
 
 
163
// selection for which keys to accept
 
164
// 0: accept valid/authenticated keys
 
165
// 1: accept all keys (except disabled, ...) DEFAULT
 
166
pref("extensions.enigmail.acceptedKeys",1);
 
167
 
 
168
// selection for automatic send encrypted if all keys valid
 
169
// 0: never
 
170
// 1: if all keys found and accepted DEFAULT
 
171
pref("extensions.enigmail.autoSendEncrypted",1);
 
172
 
 
173
// ask to confirm before sending
 
174
// 0: never DEFAULT
 
175
// 1: always
 
176
// 2: if send encrypted
 
177
// 3: if send unencrypted
 
178
// 4: if send (un)encrypted due to rules
 
179
pref("extensions.enigmail.confirmBeforeSending",0);
 
180
 
 
181
// support different passwords for each key (not yet available)
 
182
pref("extensions.enigmail.supportMultiPass",false);
 
183
 
 
184
// use GnuPG's default instead of Enigmail/Mozilla comment of for signed messages
 
185
pref("extensions.enigmail.useDefaultComment",true);
 
186
 
 
187
// allow encryption to newsgroups
 
188
pref("extensions.enigmail.encryptToNews", false);
 
189
pref("extensions.enigmail.warnOnSendingNewsgroups",true);
 
190
 
 
191
// use gpg passphrase agent for passphrase handling
 
192
pref("extensions.enigmail.useGpgAgent",false);
 
193
 
 
194
// use PGP/MIME (0=never, 1=allow, 2=always)
 
195
// pref("extensions.enigmail.usePGPMimeOption",1); -- OBSOLETE, see mail.identity.default.pgpMimeMode
 
196
 
 
197
// enable using gpgkeys_*
 
198
pref("extensions.enigmail.useGpgKeysTool",true);
 
199
 
 
200
// show "conflicting rules" message (and remember selected state)
 
201
pref("extensions.enigmail.warnOnRulesConflict",0);
 
202
 
 
203
// display a warning when the passphrase is cleared
 
204
pref("extensions.enigmail.warnClearPassphrase",true);
 
205
 
 
206
// warn if gpg-agent is found and "remember passphrase for X minutes is active"
 
207
pref("extensions.enigmail.warnGpgAgentAndIdleTime",true);
 
208
 
 
209
// display a warning when all keys are to be refreshed
 
210
pref("extensions.enigmail.warnRefreshAll",true);
 
211
 
 
212
// display a warning when the keys for all contacts are downloaded
 
213
pref("extensions.enigmail.warnDownloadContactKeys",true);
 
214
 
 
215
// display a warning if the broken character set ISO-2022-JP is used (and remember selected state)
 
216
pref("extensions.enigmail.warnIso2022jp", 0);
 
217
 
 
218
// wrap HTML messages before sending inline PGP messages
 
219
pref("extensions.enigmail.wrapHtmlBeforeSend",true);
 
220
 
 
221
// enable experimental features.
 
222
// WARNING: such features may unfinished functions or tests that can break
 
223
// existing functionality in Enigmail and Thunderbird!
 
224
pref("extensions.enigmail.enableExperiments",false);
 
225
 
 
226
 
 
227
/*
 
228
   Default pref values for the enigmail per-identity
 
229
   settings
 
230
*/
 
231
 
 
232
pref("mail.identity.default.enablePgp",false);
 
233
pref("mail.identity.default.pgpkeyId",  "");
 
234
pref("mail.identity.default.pgpKeyMode", 0);
 
235
pref("mail.identity.default.pgpSignPlain", false);
 
236
pref("mail.identity.default.pgpSignEncrypted", false);
 
237
pref("mail.identity.default.defaultSigningPolicy", 0);
 
238
pref("mail.identity.default.defaultEncryptionPolicy", 0);
 
239
pref("mail.identity.default.openPgpHeaderMode", 0);
 
240
pref("mail.identity.default.openPgpUrlName", "");
 
241
pref("mail.identity.default.pgpMimeMode", false);
 
242
pref("mail.identity.default.attachPgpKey", false);
 
243
pref("mail.identity.default.autoEncryptDrafts", true);
 
244
 
 
245
/*
 
246
   Other settings (change Mozilla behaviour)
 
247
*/
 
248
 
 
249
// disable flowed text by default
 
250
pref("mailnews.send_plaintext_flowed", false);