Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mailvelope/mailvelope
/ functions
Functions
1,624 in github.com/mailvelope/mailvelope
⨍
Functions
1,624
◇
Types & classes
225
↓ 277 callers
Method
setState
(nextState)
src/controller/sub.controller.js:90
↓ 258 callers
Method
on
* The new event handling style to asign a function to an event. * @param {String} event The event descriptor * @param {Function} handler
src/lib/EventHandler.js:185
↓ 218 callers
Method
emit
* Helper to emit events via postMessage using a port. * @param {String} event The event descriptor * @param {Object} options (optional)
src/lib/EventHandler.js:197
↓ 77 callers
Method
send
* Like emit but receiver can send response * @param {String} event The event descriptor * @param {Object} options (optional) Data to be
src/lib/EventHandler.js:226
↓ 75 callers
Method
push
(key)
src/modules/keyStore.js:74
↓ 74 callers
Method
get
(fpr)
src/modules/pwdCache.js:73
↓ 70 callers
Method
postMessage
* Send a message to the other end of the port * @param {any} message - The message to send (should be JSON-ifiable)
test/integration/__mocks__/chrome-api-setup.js:59
↓ 67 callers
Function
setup
(props = {}, portResponses = {}, portOptions = {})
test/unit/components/editor/editor.test.js:31
↓ 61 callers
Method
push
(thisArg, method, args)
src/lib/util.js:305
↓ 59 callers
Method
get
(id)
src/controller/main.controller.js:97
↓ 58 callers
Method
waitForEvent
* Wait for a specific event to be captured * @param {string} eventType - The event type to wait for * @param {number} timeout - Timeout in m
test/integration/__mocks__/chrome-api-setup.js:197
↓ 47 callers
Method
add
(keyFpr, type)
src/modules/keyringSync.js:42
↓ 45 callers
Method
get
(key)
test/unit/__mocks__/localStorage.js:18
↓ 37 callers
Method
push
(event)
src/controller/main.controller.js:29
↓ 37 callers
Function
setup
(props = {})
test/unit/app/settings/keyserver.test.js:21
↓ 36 callers
Function
setup
(customProps = {})
test/unit/components/editor/recipient-input.test.js:8
↓ 35 callers
Method
init
()
src/modules/pwdCache.js:33
↓ 30 callers
Function
getUUID
()
src/lib/util.js:65
↓ 29 callers
Method
setState
(newState)
test/unit/__mocks__/controller/sub.controller.js:15
↓ 29 callers
Method
setup
()
test/integration/setup/puppeteer-environment.js:13
↓ 28 callers
Function
setup
(portResponses = {}, portOptions = {})
test/unit/components/action-menu/components/ActionMenuWrapper.test.js:10
↓ 27 callers
Function
setupDecryptController
(config = {})
test/integration/controller/decrypt.controller.test.js:42
↓ 25 callers
Method
attachTo
(element)
src/content-scripts/encryptFrame.js:35
↓ 25 callers
Method
connect
* Open port to background script * @param {String} sender identifier of sender (type + id) * @return {EventHandler} initialized EventHan
src/lib/EventHandler.js:36
↓ 25 callers
Method
remove
()
src/modules/KeyStoreGPG.js:41
↓ 25 callers
Function
setupEditor
({mode = {}, initData = {}, autoHandshake = true, keys = [], to = [], cc = []} = {})
test/integration/components/editor/editor.test.js:64
↓ 24 callers
Method
has
(fpr)
src/modules/pwdCache.js:65
↓ 24 callers
Function
send
(event, data)
src/client-API/client-api.js:767
↓ 24 callers
Method
toHex
()
test/legacy/modules/key-test.js:163
↓ 23 callers
Function
register
* Register controllers * @param {String} type - The type of the connecting UI component * @param {Class} contrConstructor * @param {Array<String
src/controller/factory.js:85
↓ 23 callers
Method
reject
()
src/content-scripts/keyGenContainer.js:77
↓ 22 callers
Method
set
(id, ctrl)
src/controller/main.controller.js:118
↓ 20 callers
Function
typeRecipient
(text, separator = 'Enter', inputIndex = 0)
test/integration/components/editor/editor.test.js:94
↓ 19 callers
Function
setupEditorController
(config = {})
test/integration/controller/editor.controller.test.js:45
↓ 18 callers
Method
decrypt
(armored, keyringId)
src/controller/decrypt.controller.js:136
↓ 18 callers
Method
disconnect
* Disconnect port
src/lib/EventHandler.js:95
↓ 18 callers
Method
getKeyID
()
test/legacy/modules/key-test.js:188
↓ 18 callers
Function
resolve
()
config/webpack.common.js:120
↓ 17 callers
Method
canUnlockKey
* Check if key can be unlocked without requesting the password from the user * @param {String} operation - 'decrypt' or 'sign', the operation for
src/controller/sync.controller.js:181
↓ 17 callers
Function
mapError
(error = {})
src/lib/util.js:292
↓ 16 callers
Method
get
(keyringId, attrKey)
src/modules/keyring.js:49
↓ 16 callers
Function
isBlocklisted
(domain)
src/modules/wkdLocate.js:130
↓ 16 callers
Method
set
(fpr, entry, initAlarm)
src/modules/pwdCache.js:96
↓ 15 callers
Method
clear
()
src/modules/pwdCache.js:49
↓ 15 callers
Function
createController
(type, port)
src/controller/factory.js:63
↓ 14 callers
Function
getLastModifiedDate
(key)
src/modules/key.js:375
↓ 14 callers
Function
isValidAddress
(address)
src/lib/email.js:16
↓ 14 callers
Function
setup
(portResponses = {}, portOptions = {})
test/unit/components/encrypted-form/encryptedForm.test.js:15
↓ 14 callers
Function
setup
(portResponses = {}, portOptions = {})
test/unit/components/decrypt-message/decryptMessage.test.js:10
↓ 14 callers
Method
update
(handlers)
src/client-API/client-api.js:630
↓ 13 callers
Function
extractAddressFromText
(text, {position = 'last'} = {})
src/lib/email.js:72
↓ 13 callers
Method
get
(key)
src/lib/analytics.js:56
↓ 13 callers
Method
getDefaultKeyFpr
()
src/modules/KeyringGPG.js:27
↓ 13 callers
Method
getKeyByAddress
* Query keys by email address * @param {Array<String>|String} emailAddr * @param {Boolean} [options.pub = true] - query for public keys * @
src/modules/KeyringBase.js:143
↓ 13 callers
Function
parseMessage
(raw, encoding)
src/modules/mime.js:19
↓ 13 callers
Function
parseUserId
(user)
src/modules/key.js:47
↓ 13 callers
Function
setKeyringAttr
(keyringId, attrMap)
src/modules/keyring.js:324
↓ 13 callers
Method
store
()
src/modules/keyring.js:78
↓ 12 callers
Method
close
()
src/lib/lib-mvelo.js:237
↓ 12 callers
Method
formatMessage
(msg, options)
src/controller/editor.controller.js:399
↓ 12 callers
Method
getCapturedEvents
* Get array of captured events * @returns {Array} Array of captured event objects
test/integration/__mocks__/chrome-api-setup.js:178
↓ 12 callers
Method
getKeysForId
(keyId, deep)
src/modules/keyStore.js:17
↓ 12 callers
Method
getPrivateKeyByFpr
(keyFpr)
src/modules/KeyringBase.js:226
↓ 12 callers
Function
hasAnyUnresolvedRecipient
(recipients, keys)
src/lib/email.js:88
↓ 12 callers
Method
isPrivate
()
src/modules/KeyStoreGPG.js:80
↓ 12 callers
Function
prod
(pathname, filename)
config/webpack.comp.js:13
↓ 11 callers
Function
dev
(pathname, filename)
config/webpack.comp.js:30
↓ 11 callers
Function
findKeyByEmail
(keys, email)
src/lib/email.js:83
↓ 11 callers
Function
getAllControllerByType
(type)
src/controller/main.controller.js:169
↓ 11 callers
Function
getUserInfo
(key, {allowInvalid = false, strict = false} = {})
src/modules/key.js:19
↓ 11 callers
Method
unlockKey
(options)
src/controller/app.controller.js:417
↓ 11 callers
Method
validFrame
(input)
src/app/settings/WatchList.js:94
↓ 10 callers
Function
Uint8Array2str
(ab)
src/lib/util.js:183
↓ 10 callers
Method
getPopup
()
src/controller/editor.controller.js:109
↓ 10 callers
Method
getPublicKeyFprs
* Collect all the key fingerprints to encrypto to, including the sender's key. * @param {Array<Object>} keys - the public key objects containing t
src/controller/editor.controller.js:642
↓ 10 callers
Function
html2textIfHtml
(text)
src/lib/util.js:165
↓ 10 callers
Method
importKeys
(keyRingId, {public: pub, private: prv})
test/unit/__mocks__/localStorage.js:8
↓ 10 callers
Method
openApp
(fragment)
src/controller/sub.controller.js:100
↓ 10 callers
Method
registerEventListeners
()
src/components/recovery-sheet/recoverySheet.js:69
↓ 10 callers
Function
verifyPrimaryKey
(key)
src/modules/key.js:62
↓ 9 callers
Method
activate
()
src/lib/lib-mvelo.js:231
↓ 9 callers
Method
addRemoveListener
(removeHandler)
src/lib/lib-mvelo.js:261
↓ 9 callers
Method
create
(keyringId, attrMap = {})
src/modules/keyring.js:60
↓ 9 callers
Function
dataURL2str
(dataURL)
src/lib/util.js:235
↓ 9 callers
Function
deDup
(list = [], compFn = (element, array) => array.indexOf(element) === -1)
src/lib/util.js:39
↓ 9 callers
Method
getDefaultKey
()
src/modules/KeyringGPG.js:22
↓ 9 callers
Method
getForId
(keyId, deep)
src/modules/keyStore.js:58
↓ 9 callers
Function
mapKeys
(keys)
src/modules/key.js:111
↓ 9 callers
Function
parseViewName
(viewName)
src/lib/util.js:409
↓ 9 callers
Method
remove
(key)
test/unit/__mocks__/localStorage.js:26
↓ 9 callers
Method
restore
()
src/controller/sync.controller.js:249
↓ 9 callers
Method
sendKeyUpdate
()
src/controller/app.controller.js:262
↓ 8 callers
Function
checkKeyId
(sourceKey, keyring)
src/modules/key.js:343
↓ 8 callers
Method
commit
()
src/modules/keyringSync.js:68
↓ 8 callers
Function
getKeyringAttr
(keyringId, attrKey)
src/modules/keyring.js:335
↓ 8 callers
Function
getKeyringWithPrivKey
(keyIds, keyringId, noCache)
src/modules/keyring.js:508
↓ 8 callers
Method
getPgpBackend
()
src/modules/KeyringGPG.js:12
↓ 8 callers
Method
getPrivateKeyByIds
* Return first private key that matches keyIds * @param {Array<openpgp.Keyid|String>|openpgp.Keyid|String} keyIds - keyIds or fingerprints * @r
src/modules/KeyringBase.js:235
↓ 8 callers
Function
hasAnyPrivateKey
()
src/modules/keyring.js:277
↓ 8 callers
Method
loadPrefs
()
src/app/settings/Security.js:49
next →
1–100 of 1,624, ranked by callers