armor.sys.mjs |
Locates string in text occurring only at the beginning of a line.
|
9080 |
CollectedKeysDB.sys.mjs |
Database of collected OpenPGP keys.
|
10935 |
constants.sys.mjs |
taken over from old nsIEnigmail |
5284 |
core.sys.mjs |
Initialize the main parts of Enigmail
|
1811 |
data.sys.mjs |
Encode a string in base64, with a max. line length of 72 characters
|
1151 |
decryption.sys.mjs |
Decrypts a OpenPGP ciphertext and returns the the plaintext.
NOTE: Used also to verify message signature of signed-only messages.
@param {?window} parent - A window object.
@param {integer} uiFlags - See flag options in EnigmailConstants,
UI_INTERACTIVE, UI_ALLOW_KEY_IMPORT.
@param {string} cipherText - A string containing a PGP block.
@param {Date} msgDate - Message date.
@param {object} signatureObj
@param {object} exitCodeObj - Contains the exit code.
@param {object} statusFlagsObj - Status flags in nslEnigmail.idl,
GOOD_SIGNATURE, BAD_SIGNATURE.
@param {object} keyIdObj - Holds the key id.
@param {object} userIdObj - Holds the user id.
@param {object} sigDetailsObj - Holds the signature details.
@param {object} errorMsgObj - Error string.
@param {object} blockSeparationObj
@param {object} extraDetailsObj
@param {JSON} extraDetailsObj.value - JSON string with
with (optional) additional data: encryptedTo, packetDump.
@returns {Promise<string>} the plaintext. Returns "" if error, or if this
was called just to verify a signed message.)
|
18759 |
dialog.sys.mjs |
Displays a dialog with success/failure information after importing keys.
@param {window} win - Parent window to display modal dialog; can be null
@param {string[]} keyList - Imported keyIDs.
@returns {integer} the button number pressed. 0-2.
-1: ESC or close window button pressed.
|
1899 |
encryption.sys.mjs |
@returns {?object} object on success, null on failure
|
12367 |
filters.sys.mjs |
Filter action for creating a decrypted version of the mail and
deleting the original mail at the same time.
|
13732 |
filtersWrapper.sys.mjs |
filter action for creating a decrypted version of the mail and
deleting the original mail at the same time
|
4885 |
fixExchangeMsg.sys.mjs |
Fix a broken message from MS-Exchange and replace it with the original message
@param {nsIMsgDBHdr} hdr - Header of the message to fix (= pointer to message)
@param {string} brokenByApp - Type of app that created the message. Currently one of
exchange, iPGMail.
@param {string} [destFolderUri] - Destination folder URI.
@returns {Promise<nsMsgKey>}
|
10550 |
funcs.sys.mjs |
Common Enigmail crypto-related GUI functionality
|
9965 |
GPGME.sys.mjs |
High level interface to retrieve public keys from GnuPG that
contain a user ID that matches the given email address.
@param {string} email - The email address to search for.
@returns {Map} - a Map that contains ASCII armored key blocks
indexed by fingerprint.
|
10222 |
GPGMELib.sys.mjs |
|
14638 |
key.sys.mjs |
Format a key fingerprint
@param {string} fingerprint - Unformatted OpenPGP fingerprint.
@returns {string} The formatted string.
|
8708 |
keyLookupHelper.sys.mjs |
Internal helper function, search for keys by either keyID
or email address on a keyserver.
Returns additional flags regarding lookup and import.
Will never show feedback prompts.
@param {string} mode - "interactive-import" or "silent-collection"
In interactive-import mode, the user will be asked to confirm
import of keys into the permanent keyring.
In silent-collection mode, only updates to existing keys will
be imported. New keys will only be added to CollectedKeysDB.
@param {nsIWindow} window - parent window
@param {string} identifier - search value, either key ID or fingerprint or email address.
@returns {object} flags
@returns {boolean} flags.keyImported - At least one key was imported.
@returns {boolean} flags.foundUpdated - At least one update for a local existing key was found and imported.
@returns {boolean} flags.foundUnchanged - All found keys are identical to already existing local keys.
@returns {boolean} flags.collectedForLater - At least one key was added to CollectedKeysDB.
|
13187 |
keyObj.sys.mjs |
Key object.
|
17482 |
keyRing.sys.mjs |
@typedef KeyList
@property {EnigmailKeyObj[]} keyList
@property {object[]} keySortList - Used for quickly sorting the keys.
@property {string} keySortList[].userId - User ID in lower case.
@property {string} keySortList[].keyId - Key ID.
@property {integer} keySortList[].keyNum
|
56616 |
keyserver.sys.mjs |
@typedef {object} KeySrvListener
@property {?function(integer):void} onProgress - Only implemented for download().
@property {Function} onCancel - The body will be set by the callee.
|
42914 |
keyserverUris.sys.mjs |
|
923 |
masterpass.sys.mjs |
|
10566 |
mime.sys.mjs |
create a string of random characters suitable to use for a boundary in a
MIME message following RFC 2045
@return: string to use as MIME boundary
@see {MimeMultiPart._makePartSeparator}
|
7890 |
mimeDecrypt.sys.mjs |
Module for handling PGP/MIME encrypted messages.
|
23596 |
mimeEncrypt.sys.mjs |
Module for creating PGP/MIME signed and/or encrypted messages.
|
15768 |
MimeTree.sys.mjs |
@typedef {object} MimeTreePart - A mime part generated by jsmime using the
MimeTreeEmitter.
@property {string} partNum
@property {Map} headers - A Map, containing all headers. Special headers for
contentType and charset.
@property {integer} size - Size of this part, including all subparts.
@property {string} body - Body
@property {string} [name] - The name, if this part is an attachment.
@property {boolean} [isAttachment] - The part is an attachment.
@property {MimeTreePart[]} subParts - Array of MimeTreePart with sub parts
|
39013 |
mimeVerify.sys.mjs |
Module for handling PGP/MIME signed messages.
|
18525 |
msgRead.sys.mjs |
OpenPGP message reading related functions.
|
2426 |
OpenPGPAlias.sys.mjs |
The Thunderbird OpenPGP Alias Keys feature is used for sending an encrypted
email using a public key that does not contain (or does not match) the email
address of a message recipient.
For example, a correspondent might ask you to use a particular public key for
sending them encrypted email, but that public key doesn't contain their email
address.
Another example is a company that might have published a single public key
for sending encrypted email to any employee of the company, and the public
key doesn't contain any email address. When receiving an email that was
encrypted with that key, the company might then decrypt the email, and then
forward the decrypted email to the intended recipient. While this isn't
complete End-To-End Encryption, at least the email will be encrypted while
passing through the public Internet, until it arrives at the company's email server.
Usually, Thunderbird refuses to use a key with a mismatching email address.
By using the Alias Keys Feature, you can override Thunderbird's usual checks,
and tell Thunderbird to use a public key anyway.
|
6077 |
persistentCrypto.sys.mjs |
Decrypts a message and copy it to a folder. If targetKey is
not null, it encrypts a message to the target key afterwards.
@param {nsIMsgDBHdr} hdr - Message to process.
@param {string} destFolder - Target folder URI.
@param {boolean} move - true for move, false for copy.
@param {KeyObject} targetKey - Target key if encryption is requested.
@returns {nsMsgKey} message key of the new message.
|
10885 |
RNP.sys.mjs |
Opens a prompt, asking the user to enter passphrase for given key id.
@param {?nsIWindow} win - Parent window, may be null
@param {string} promptString - This message will be shown to the user
@param {object} resultFlags - Attribute .canceled is set to true
if the user clicked cancel, other it's set to false.
@returns {string} - The passphrase the user entered
|
169886 |
RNPLib.sys.mjs |
|
53184 |
singletons.sys.mjs |
Remember the given uri in our list of recently seen uris that
contain a nested signed part.
@param {string} uri - The URI spec to remember.
|
2202 |
sqliteDb.sys.mjs |
Module that provides generic functions for the OpenPGP SQLite database.
|
12996 |
streams.sys.mjs |
Create a new channel from a URL or URI.
@param {string|nsIURI|nsIFile} url - URL specification.
@returns {nsIChannel}
|
4226 |
trust.sys.mjs |
@returns {string} string containing the order of trust/validity values
|
2974 |
uris.sys.mjs |
Determine message number and folder from mailnews URI.
@param {nsIURI} url - nsIURI of the message.
@returns {?object} obj
@returns {string} obj.msgNum - The message number, or "" if no URI scheme fits.
@returns {string} obj.folder - The folder (or newsgroup) name.
|
2054 |
windows.sys.mjs |
Determine the best possible window to serve as parent window for dialogs.
@returns {?window}
|
2274 |
wkdLookup.sys.mjs |
Lookup keys by email addresses using WKD. A an email address is lookep up at most
once a day. (see https://tools.ietf.org/html/draft-koch-openpgp-webkey-service)
|
7549 |
zbase32.sys.mjs |
eslint no-invalid-this: 0 |
2297 |