=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-matrix-js-sdk-6.0.0+~cs9.8.22/CHANGELOG.md-2985- * `MatrixScheduler.removeEventFromQueue(event)` node-matrix-js-sdk-6.0.0+~cs9.8.22/CHANGELOG.md:2986: * `$DATA_STORE.setSyncToken(token)` node-matrix-js-sdk-6.0.0+~cs9.8.22/CHANGELOG.md:2987: * `$DATA_STORE.getSyncToken()` node-matrix-js-sdk-6.0.0+~cs9.8.22/CHANGELOG.md-2988- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/release.sh-89-done node-matrix-js-sdk-6.0.0+~cs9.8.22/release.sh:90:shift `expr $OPTIND - 1` node-matrix-js-sdk-6.0.0+~cs9.8.22/release.sh-91- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/release.sh-159-latest_changes=`mktemp` node-matrix-js-sdk-6.0.0+~cs9.8.22/release.sh:160:cat "${changelog_file}" | `dirname $0`/scripts/changelog_head.py > "${latest_changes}" node-matrix-js-sdk-6.0.0+~cs9.8.22/release.sh-161- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/TestClient.js-224-TestClient.prototype.flushSync = function() { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/TestClient.js:225: logger.log(`${this}: flushSync`); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/TestClient.js-226- return Promise.all([ ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/TestClient.js-229- ]).then(() => { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/TestClient.js:230: logger.log(`${this}: flushSync completed`); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/TestClient.js-231- }); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/integ/megolm-integ.spec.js-413- event.once('Event.decrypted', (ev) => { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/integ/megolm-integ.spec.js:414: logger.log(`${Date.now()} event ${event.getId()} now decrypted`); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/integ/megolm-integ.spec.js-415- resolve(ev); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/test-utils.js-23- const cb = (state) => { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/test-utils.js:24: logger.log(`${Date.now()} syncPromise(${count}): ${state}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/test-utils.js-25- if (state === 'SYNCING') { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/test-utils.js-218- node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/test-utils.js:219: logger.log(`${Date.now()} event ${event.getId()} is being decrypted; waiting`); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/test-utils.js-220- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/test-utils.js-222- event.once('Event.decrypted', (ev) => { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/test-utils.js:223: logger.log(`${Date.now()} event ${event.getId()} now decrypted`); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/test-utils.js-224- resolve(ev); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-490- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:491: [`ed25519:${XSPubKey}`]: XSPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-492- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-497- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:498: [`ed25519:${SSPubKey}`]: SSPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-499- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-504- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:505: [`ed25519:${USPubKey}`]: USPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-506- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-665- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:666: [`ed25519:${XSPubKey}`]: XSPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-667- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-672- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:673: [`ed25519:${SSPubKey}`]: SSPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-674- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-679- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:680: [`ed25519:${USPubKey}`]: USPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-681- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-794- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:795: [`ed25519:${XSPubKey}`]: XSPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-796- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-801- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:802: [`ed25519:${SSPubKey}`]: SSPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-803- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-808- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:809: [`ed25519:${USPubKey}`]: USPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-810- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-934- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:935: [`ed25519:${XSPubKey}`]: XSPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-936- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-941- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:942: [`ed25519:${SSPubKey}`]: SSPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-943- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-948- keys: { node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js:949: [`ed25519:${USPubKey}`]: USPubKey, node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/secrets.spec.js-950- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/verification/verification_request.spec.js-33- counter = counter + 1; node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/verification/verification_request.spec.js:34: const eventId = `$${userId}-${deviceId}-${counter}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/crypto/verification/verification_request.spec.js-35- events.push(new MatrixEvent({ ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/event.spec.js-43- ++callCount; node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/event.spec.js:44: logger.log(`decrypt: ${callCount}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/event.spec.js-45- if (callCount == 1) { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/room.spec.js-704- room.recalculate(); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/room.spec.js:705: expect(room.name).toEqual(`${userB} and 2 others`); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/room.spec.js-706- }); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/room.spec.js-738- room.recalculate(); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/room.spec.js:739: expect(room.name).toEqual(`${name} and 98 others`); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/room.spec.js-740- }); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/room.spec.js-750- room.recalculate(); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/room.spec.js:751: expect(room.name).toEqual(`${nameB} and ${nameC}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/spec/unit/room.spec.js-752- }); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-253- const hsVersions = await this._fetchWellKnownObject( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js:254: `${hsUrl}/_matrix/client/versions`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-255- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-302- const isResponse = await this._fetchWellKnownObject( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js:303: `${isUrl}/_matrix/identity/api/v1`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-304- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-398- const wellknown = await this._fetchWellKnownObject( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js:399: `https://${domain}/.well-known/matrix/client`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-400- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-435- const response = await this._fetchWellKnownObject( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js:436: `https://${domain}/.well-known/matrix/client`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-437- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-468- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js:469: const port = parsed.port ? `:${parsed.port}` : ""; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-470- const path = parsed.pathname ? parsed.pathname : ""; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js:471: let saferUrl = `${parsed.protocol}//${parsed.hostname}${port}${path}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/autodiscovery.js-472- if (saferUrl.endsWith("/")) { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js-2078- const med = p[1].toLowerCase(); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js:2079: const hashed = olmutil.sha256(`${addr} ${med} ${params['pepper']}`) node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js-2080- .replace(/\+/g, '-').replace(/\//g, '_'); // URL-safe base64 ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js-2090- const med = p[1].toLowerCase(); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js:2091: const unhashed = `${addr} ${med}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js-2092- // Map the unhashed values to a known (case-sensitive) address. We use ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js-2259- }, {}); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js:2260: logger.log(`PUT ${path}`, targets); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js-2261- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js-2279- throw new Error( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js:2280: `/thirdparty/protocols did not return an object: ${response}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/base-apis.js-2281- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2501- const type = localEvent.getType(); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js:2502: logger.log(`sendEvent of type ${type} in ${roomId} with txnId ${txnId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2503- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2689- } else if (event.isRedaction()) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js:2690: const pathTemplate = `/rooms/$roomId/redact/$redactsEventId/$txnId`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2691- path = utils.encodeUri(pathTemplate, Object.assign({ ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2703- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js:2704: `Event sent to ${event.getRoomId()} with event id ${res.event_id}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2705- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2928- if (room && room.hasPendingEvent(eventId)) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js:2929: throw new Error(`Cannot set read receipt to a pending event (${eventId})`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2930- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2958- if (room && room.hasPendingEvent(rmEventId)) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js:2959: throw new Error(`Cannot set read marker to a pending event (${rmEventId})`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2960- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2966- if (room && room.hasPendingEvent(rrEventId)) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js:2967: throw new Error(`Cannot set read receipt to a pending event (${rrEventId})`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-2968- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-3064- while (createEvent) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js:3065: logger.log(`Looking at ${createEvent.getId()}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-3066- const predecessor = createEvent.getContent()['predecessor']; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-3067- if (predecessor && predecessor['room_id']) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js:3068: logger.log(`Looking at predecessor ${predecessor['room_id']}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/client.js-3069- const refRoom = this.getRoom(predecessor['room_id']); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-28-function publicKeyFromKeyInfo(keyInfo) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js:29: // `keys` is an object with { [`ed25519:${pubKey}`]: pubKey } node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-30- // We assume only a single key, and we want the bare form without type ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-168- intersect( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js:169: await secretStorage.isStored(`m.cross_signing.${type}`, false) || {}, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-170- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-185- const encodedKey = encodeBase64(keys[type]); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js:186: await secretStorage.store(`m.cross_signing.${type}`, encodedKey); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-187- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-199- static async getFromSecretStorage(type, secretStorage) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js:200: const encodedKey = await secretStorage.get(`m.cross_signing.${type}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-201- return decodeBase64(encodedKey); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-425- throw new Error( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js:426: `Trying to sign ${userId}'s device; can only sign our own device`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-427- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-655- throw new Error( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js:656: `storeCrossSigningKeyCache expects Uint8Array, got ${key}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/CrossSigning.js-657- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/DeviceList.js-280- `downloadKeys: already have a download in progress for ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/DeviceList.js:281: `${u}: awaiting its result`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/DeviceList.js-282- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/DeviceList.js-809- // doesn't kill the whole process node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/DeviceList.js:810: logger.error(`Error processing keys for ${userId}:`, e); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/DeviceList.js-811- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js-876- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js:877: logger.log(`encrypting msg with megolm session ${sessionId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js-878- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js-1028- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js:1029: `Keeping existing megolm session ${sessionId}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js-1030- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js-1252- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js:1253: `requested keys for inbound group session ${senderKey}|` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js:1254: `${sessionId}, with incorrect room_id ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js:1255: `(expected ${sessionData.room_id}, ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js:1256: `was ${roomId})`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OlmDevice.js-1257- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js-363- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js:364: `error in OutgoingRoomKeyRequestManager: ${e}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js-365- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js-423- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js:424: `Requesting keys for ${stringifyRequestBody(req.requestBody)}` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js:425: ` from ${stringifyRecipientList(req.recipients)}` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js:426: `(id ${req.requestId})`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js-427- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js-450- `Sending cancellation for key request for ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js:451: `${stringifyRequestBody(req.requestBody)} to ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js:452: `${stringifyRecipientList(req.recipients)} ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js:453: `(cancellation id ${req.cancellationTxnId})`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js-454- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js-502- return '[' node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js:503: + utils.map(recipients, (r) => `${r.userId}:${r.deviceId}`).join(",") node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/OutgoingRoomKeyRequestManager.js-504- + ']'; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-113- default: node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js:114: throw new Error(`Unknown key algorithm ${opts.algorithm}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-115- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-121- await this._baseApis.getAccountDataFromServer( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js:122: `m.secret_storage.key.${keyId}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-123- ) ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-129- await this._baseApis.setAccountData( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js:130: `m.secret_storage.key.${keyId}`, keyData, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-131- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-150- const keyInfo = await this._baseApis.getAccountDataFromServer( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js:151: `m.secret_storage.key.${keyId}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-152- ); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-153- if (!keyInfo) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js:154: throw new Error(`Key ${keyId} does not exist in account data`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-155- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-158- await this._baseApis.setAccountData( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js:159: `m.secret_storage.key.${keyId}`, keyInfo, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-160- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-527- } node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js:528: logger.info(`Request secret ${name} from ${devices}, id ${requestId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-529- this._baseApis.sendToDevice("m.secret.request", { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-581- if (secret) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js:582: logger.info(`Preparing ${content.name} secret for ${deviceId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-583- const payload = { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-618- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js:619: logger.info(`Sending ${content.name} secret for ${deviceId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-620- this._baseApis.sendToDevice("m.room.encrypted", contentMap); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-621- } else { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js:622: logger.info(`Request denied for ${content.name} secret for ${deviceId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/SecretStorage.js-623- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/aes.js-89- if (hmac !== data.mac) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/aes.js:90: throw new Error(`Error decrypting secret ${name}: bad MAC`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/aes.js-91- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/aes.js-183- )) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/aes.js:184: throw new Error(`Error decrypting secret ${name}: bad MAC`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/aes.js-185- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-220- if (!session) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:221: logger.log(`Starting new megolm session for room ${this._roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-222- session = await this._prepareNewSession(); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:223: logger.log(`Started new megolm session ${session.sessionId} ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:224: `for room ${this._roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-225- this._outboundSessions[session.sessionId] = session; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-597- if (!obSessionInfo) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:598: logger.debug(`megolm session ${sessionId} not found: not re-sharing keys`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-599- return; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-603- if (obSessionInfo.sharedWithDevices[userId] === undefined) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:604: logger.debug(`megolm session ${sessionId} never shared with user ${userId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-605- return; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-623- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:624: `No inbound session key found for megolm ${sessionId}: not re-sharing keys`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-625- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-668- }); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:669: logger.debug(`Re-shared key for megolm session ${sessionId} ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:670: `with ${userId}:${device.deviceId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-671-}; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-717- ); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:718: logger.log(`Completed megolm keyshare for ${session.sessionId} ` node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:719: + `in ${this._roomId} (slice ${i + 1}/${userDeviceMaps.length})`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-720- } catch (e) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:721: logger.log(`megolm keyshare for ${session.sessionId} in ${this._roomId} ` node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:722: + `(slice ${i + 1}/${userDeviceMaps.length}) failed`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-723- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-799- ); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:800: logger.log(`Completed blacklist notification for ${session.sessionId} ` node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:801: + `in ${this._roomId} (slice ${i + 1}/${userDeviceMaps.length})`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-802- } catch (e) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:803: logger.log(`blacklist notification for ${session.sessionId} in ` node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:804: + `${this._roomId} (slice ${i + 1}/${userDeviceMaps.length}) failed`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-805- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-824- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:825: logger.debug(`Preparing to encrypt events for ${this._roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-826- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-852-MegolmEncryption.prototype.encryptMessage = async function(room, eventType, content) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:853: logger.log(`Starting to encrypt event for ${this._roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-854- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-1298- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:1299: logger.log(`Received and adding key for megolm session ${senderKey}|${sessionId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-1300- return this._olmDevice.addInboundGroupSession( ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-1335- }).catch((e) => { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:1336: logger.error(`Error handling m.room_key_event: ${e}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-1337- }); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-1351- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js:1352: `${sender}:${senderKey} was unable to establish an olm session with us`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/algorithms/megolm.js-1353- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-148- } else { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:149: console.warn(`Excluding unknown verification method ${method}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-150- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-560- await this._baseApis.setAccountData( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:561: `m.secret_storage.key.${keyId}`, keyInfo, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-562- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-661- for (const type of ["master", "self_signing", "user_signing"]) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:662: const secretName = `m.cross_signing.${type}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-663- const secret = await this.getSecret(secretName); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-691- for (const type of ["master", "self_signing", "user_signing"]) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:692: const secretName = `m.cross_signing.${type}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-693- await this.storeSecret(secretName, keys[type], [newKeyId]); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-763- for (const type of ["self_signing", "user_signing"]) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:764: logger.log(`Cache ${type} cross-signing private key locally`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-765- await this._crossSigningInfo.getCrossSigningKey(type); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-922- if (!(key instanceof Uint8Array)) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:923: throw new Error(`storeSessionBackupPrivateKey expects Uint8Array, got ${key}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-924- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-969-} = {}) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:970: logger.info(`Resetting cross-signing keys at level ${level}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-971- // Copy old keys (usually empty) in case we need to revert ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1017- const signedDevice = await this._crossSigningInfo.signDevice(this._userId, device); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:1018: logger.info(`Starting background key sig upload for ${this._deviceId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1019- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1037- } node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:1038: logger.info(`Finished background key sig upload for ${this._deviceId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1039- }).catch(e => { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1040- logger.error( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:1041: `Error during background key sig upload for ${this._deviceId}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1042- e, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1067- if (Object.keys(users).length > 0) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:1068: logger.info(`Found ${Object.keys(users).length} verif users to upgrade`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1069- try { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1365- const upload = ({ shouldEmit }) => { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:1366: logger.info(`Starting background key sig upload for ${keysToUpload}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1367- return this._baseApis.uploadKeySignatures({ [this._userId]: keySignatures }) ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1369- const { failures } = response || {}; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:1370: logger.info(`Finished background key sig upload for ${keysToUpload}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1371- if (Object.keys(failures || []).length > 0) { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1383- logger.error( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:1384: `Error during background key sig upload for ${keysToUpload}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1385- e, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1437- } node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:1438: logger.info(`Starting device verification upgrade for ${userId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1439- if (this._crossSigningInfo.keys.user_signing) { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1458- } node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:1459: logger.info(`Finished device verification upgrade for ${userId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-1460-}; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-2194- logger.log(`Crypto: adding new request to ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:2195: `requestsByTxnId with id ${channel.transactionId} ${channel.roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-2196- requestsMap.setRequestByChannel(channel, request); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-2209- throw new Error( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:2210: `No request found for user ${userId} with ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:2211: `transactionId ${transactionId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-2212- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-2461- if (!room) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:2462: throw new Error(`Unable to start tracking devices in unknown room ${roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-2463- } node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:2464: logger.log(`Starting to track devices for room ${roomId} ...`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-2465- const members = await room.getEncryptionTargetMembers(); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3073- try { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3074: logger.log(`received to_device ${event.getType()} from: ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3075: `${event.getSender()} id: ${event.getId()}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3076- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3142- logger.info( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3143: `Got room key withheld event from ${event.getSender()} (${content.sender_key}) ` node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3144: + `for ${content.algorithm}/${content.room_id}/${content.session_id} ` node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3145: + `with reason ${content.code} (${content.reason})`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3146- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3239- logger.log(`Crypto: could not find VerificationRequest for ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3240: `${event.getType()}, and could not create one, so ignoring.`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3241- return; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3470- } catch (e) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3471: logger.error(`Error processing room key requsts: ${e}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3472- } finally { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3489- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3490: logger.log(`m.room_key_request from ${userId}:${deviceId}` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3491: ` for ${roomId} / ${body.session_id} (id ${req.requestId})`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3492- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3494- if (!this._roomEncryptors[roomId]) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3495: logger.debug(`room key request for unencrypted room ${roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3496- return; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3500- if (!device) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3501: logger.debug(`Ignoring keyshare for unknown device ${userId}:${deviceId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3502- return; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3523- if (!this._roomDecryptors[roomId]) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3524: logger.log(`room key request for unencrypted room ${roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3525- return; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3529- if (!decryptor) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3530: logger.log(`room key request for unknown alg ${alg} in room ${roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3531- return; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3535- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3536: `room key request for unknown session ${roomId} / ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3537- body.session_id, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3565- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3566: `m.room_key_request cancellation for ${cancellation.userId}:` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js:3567: `${cancellation.deviceId} (id ${cancellation.requestId})`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/index.js-3568- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-41- db.onversionchange = (ev) => { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:42: logger.log(`versionchange for indexeddb ${this._dbName}: closing`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-43- db.close(); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-69- `already have key request outstanding for ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:70: `${requestBody.room_id} / ${requestBody.session_id}: ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-71- `not sending another`, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-79- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:80: `enqueueing key request for ${requestBody.room_id} / ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-81- requestBody.session_id, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-281- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:282: `Cannot update room key request from ${expectedState} ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:283: `as it was already updated to ${data.state}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-284- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-319- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:320: `Cannot delete room key request in state ${data.state} ` node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:321: + `(expected ${expectedState})`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-322- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-362- const objectStore = txn.objectStore("account"); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:363: const getReq = objectStore.get(`ssss_cache:${type}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-364- getReq.onsuccess = function() { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-379- const objectStore = txn.objectStore("account"); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:380: objectStore.put(key, `ssss_cache:${type}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-381- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-771- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:772: `Upgrading IndexedDBCryptoStore from version ${oldVersion}` node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js:773: + ` to ${VERSION}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store-backend.js-774- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-75- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js:76: logger.log(`connecting to indexeddb ${this._dbName}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-77- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-101- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js:102: logger.log(`connected to indexeddb ${this._dbName}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-103- resolve(new IndexedDBCryptoStoreBackend.Backend(db)); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-128- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js:129: `unable to connect to indexeddb ${this._dbName}` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js:130: `: falling back to localStorage store: ${e}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-131- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-136- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js:137: `unable to open localStorage: falling back to in-memory store: ${e}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-138- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-159- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js:160: logger.log(`Removing indexeddb instance: ${this._dbName}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-161- const req = this._indexedDB.deleteDatabase(this._dbName); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-174- req.onsuccess = () => { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js:175: logger.log(`Removed indexeddb instance: ${this._dbName}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-176- resolve(); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-181- // still use the app. node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js:182: logger.warn(`unable to delete IndexedDBCryptoStore: ${e}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/indexeddb-crypto-store.js-183- }); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/localStorage-crypto-store.js-370- getSecretStorePrivateKey(txn, func, type) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/localStorage-crypto-store.js:371: const key = getJsonItem(this.store, E2E_PREFIX + `ssss_cache.${type}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/localStorage-crypto-store.js-372- func(key ? Uint8Array.from(key) : key); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/localStorage-crypto-store.js-382- setJsonItem( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/localStorage-crypto-store.js:383: this.store, E2E_PREFIX + `ssss_cache.${type}`, Array.from(key), node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/localStorage-crypto-store.js-384- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js-97- `already have key request outstanding for ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js:98: `${requestBody.room_id} / ${requestBody.session_id}: ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js-99- `not sending another`, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js-106- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js:107: `enqueueing key request for ${requestBody.room_id} / ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js-108- requestBody.session_id, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js-214- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js:215: `Cannot update room key request from ${expectedState} ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js:216: `as it was already updated to ${req.state}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js-217- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js-245- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js:246: `Cannot delete room key request in state ${req.state} ` node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js:247: + `(expected ${expectedState})`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/store/memory-crypto-store.js-248- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/Base.js-174- reject(new Error(`Other side cancelled verification ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/Base.js:175: `because ${reason} (${code})`)); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/Base.js-176- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/Base.js-225- const { promise } = client.requestSecret( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/Base.js:226: `m.cross_signing.${type}`, [this.deviceId], node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/Base.js-227- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/Base.js-393- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/Base.js:394: `verification: Could not find device ${deviceId} to verify`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/Base.js-395- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/QRCode.js-74- const masterKey = qrCodeData.otherUserMasterKey; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/QRCode.js:75: keys[`ed25519:${masterKey}`] = masterKey; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/QRCode.js-76- break; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/QRCode.js-79- const deviceId = this.request.targetDevice.deviceId; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/QRCode.js:80: keys[`ed25519:${deviceId}`] = qrCodeData.otherDeviceKey; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/QRCode.js-81- break; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/QRCode.js-84- const masterKey = qrCodeData.myMasterKey; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/QRCode.js:85: keys[`ed25519:${masterKey}`] = masterKey; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/QRCode.js-86- break; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/SAS.js-450- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/SAS.js:451: const deviceKeyId = `ed25519:${this._baseApis.deviceId}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/SAS.js-452- mac[deviceKeyId] = calculateMAC(olmSAS, method)( ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/SAS.js-459- if (crossSigningId) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/SAS.js:460: const crossSigningKeyId = `ed25519:${crossSigningId}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/SAS.js-461- mac[crossSigningKeyId] = calculateMAC(olmSAS, method)( ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/InRoomChannel.js-138- logger.log("InRoomChannel: validateEvent: " + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/InRoomChannel.js:139: `not directed to or sent by me: ${event.getSender()}` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/InRoomChannel.js:140: `, ${content && content.to}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/InRoomChannel.js-141- return false; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/InRoomChannel.js-205- logger.log(`InRoomChannel: ignoring verification event from ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/InRoomChannel.js:206: `non-participating sender ${sender}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/InRoomChannel.js-207- return; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js-570- code: "m.unknown_method", node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:571: reason: `Unknown method: ${method}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js-572- }); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js-724- // log events we processed so we can see from rageshakes what events were added to a request node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:725: logger.log(`Verification request ${this.channel.transactionId}: ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:726: `${type} event with id:${event.getId()}, ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:727: `content:${JSON.stringify(event.getContent())} ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:728: `deviceId:${this.channel.deviceId}, ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:729: `sender:${event.getSender()}, isSentByUs:${isSentByUs}, ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:730: `isLiveEvent:${isLiveEvent}, isRemoteEcho:${isRemoteEcho}, ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:731: `phase:${oldPhase}=>${this.phase}, ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:732: `observeOnly:${wasObserveOnly}=>${this._observeOnly}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js-733- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js-779- if (this.phase !== PHASE_UNSENT && (isUnexpectedRequest || isUnexpectedReady)) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:780: logger.warn(`Cancelling, unexpected ${type} verification ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:781: `event from ${event.getSender()}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js:782: const reason = `Unexpected ${type} event in phase ${this.phase}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/crypto/verification/request/VerificationRequest.js-783- await this.cancel(errorFromEvent(newUnexpectedMessageError({reason}))); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/errors.js-3-export function InvalidStoreError(reason, value) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/errors.js:4: const message = `Store is invalid because ${reason}, ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/errors.js-5- `please stop the client, delete all data and start the client again`; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/errors.js-26-export function InvalidCryptoStoreError(reason) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/errors.js:27: const message = `Crypto store is invalid because ${reason}, ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/errors.js-28- `please stop the client, delete all data and start the client again`; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-420- if (accessToken) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js:421: opts.headers['Authorization'] = `Bearer ${accessToken}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-422- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-813- } catch (e) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js:814: err = new Error(`Error parsing server response: ${e}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-815- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-855- } else if (contentType.type === 'text/plain') { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js:856: err = new Error(`Server returned ${httpStatus} error: ${body}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-857- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-860- if (!err) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js:861: err = new Error(`Server returned ${httpStatus} error`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-862- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-893- } catch(e) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js:894: throw new Error(`Error parsing Content-Type '${contentType}': ${e}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-895- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-911- errorJson = errorJson || {}; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js:912: super(`MatrixError: ${errorJson.errcode}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-913- this.errcode = errorJson.errcode; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-928- constructor(message, cause = undefined) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js:929: super(message + (cause ? `: ${cause.message}` : "")); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-930- this._cause = cause; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-965- const timeout = 1000 * Math.pow(2, attempts); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js:966: console.log(`network operation failed ${attempts} times,` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js:967: ` retrying in ${timeout}ms...`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/http-api.js-968- await new Promise(r => setTimeout(r, timeout)); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event-timeline-set.js-479- `Refusing to set forwards pagination token of live timeline ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event-timeline-set.js:480: `${timeline} to ${paginationToken}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event-timeline-set.js-481- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js-420- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js:421: `Event ${this.getId()} already being decrypted; queueing a retry`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js-422- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js-494- logger.error( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js:495: `Error decrypting event (id=${this.getId()}): ${e.stack || e}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js-496- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js-520- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js:521: `Got error decrypting event (id=${this.getId()}: ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js:522: `${e}), but retrying`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js-523- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js-529- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js:530: `Error decrypting event (id=${this.getId()}): ${e.detailedString}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/event.js-531- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room-state.js-451- }); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room-state.js:452: logger.log(`LL: RoomState removed ${count} members...`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room-state.js-453- this._oobMemberFlags.status = OOB_STATUS_NOTSTARTED; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room-state.js-460-RoomState.prototype.setOutOfBandMembers = function(stateEvents) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room-state.js:461: logger.log(`LL: RoomState about to set ${stateEvents.length} OOB members ...`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room-state.js-462- if (this._oobMemberFlags.status !== OOB_STATUS_INPROGRESS) { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-292- const currentVersion = this.getVersion(); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:293: logger.log(`[${this.roomId}] Current version: ${currentVersion}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:294: logger.log(`[${this.roomId}] Version capability: `, versionCap); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-295- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-315- if (result.urgent) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:316: logger.warn(`URGENT upgrade required on ${this.roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-317- } else { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:318: logger.warn(`Non-urgent upgrade required on ${this.roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-319- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-534- rawMembersEvents = await this._loadMembersFromServer(); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:535: logger.log(`LL: got ${rawMembersEvents.length} ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:536: `members from server for room ${this.roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-537- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-578- .map((m) => m.events.member.event); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:579: logger.log(`LL: telling store to write ${oobMembers.length}` node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:580: + ` members for room ${this.roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-581- const store = this._client.store; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-619- logger.error(`error after clearing loaded members from ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:620: `room ${this.roomId} after leaving`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-621- logger.log(err); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-842- if (a[0] !== '#') return false; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:843: if (!a.endsWith(`:${aliasEvent.getStateKey()}`)) return false; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-844- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1281- logger.debug( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:1282: `Got remote echo for event ${oldEventId} -> ${newEventId} ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:1283: `old status ${oldStatus}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1284- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1355- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:1356: `setting pendingEvent status to ${newStatus} in ${event.getRoomId()} ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:1357: `event ID ${event.getId()} -> ${newEventId}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1358- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1895- node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:1896: return `Inviting ${memberNamesToRoomName(thirdPartyNames)}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1897- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1909- if(leftNames.length) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:1910: return `Empty room (was ${memberNamesToRoomName(leftNames)})`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1911- } else { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1922- } else if (names.length === 2 && countWithoutMe <= 2) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:1923: return `${names[0]} and ${names[1]}`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1924- } else { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1926- if (plural) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:1927: return `${names[0]} and ${countWithoutMe} others`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1928- } else { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js:1929: return `${names[0]} and 1 other`; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/models/room.js-1930- } ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/pushprocessor.js-385- const ruleId = override.rule_id; node-matrix-js-sdk-6.0.0+~cs9.8.22/src/pushprocessor.js:386: console.warn(`Adding default global override for ${ruleId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/pushprocessor.js-387- globalOverrides.push(override); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-165- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:166: `LocalIndexedDBStoreBackend.connect: upgrading from ${oldVersion}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-167- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-276- }).then((events) => { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:277: logger.log(`LL: got ${events && events.length}` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:278: ` membershipEvents from storage for room ${roomId} ...`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-279- return events; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-290- setOutOfBandMembers: async function(roomId, membershipEvents) { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:291: logger.log(`LL: backend about to store ${membershipEvents.length}` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:292: ` members for ${roomId}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-293- const tx = this.db.transaction(["oob_membership_events"], "readwrite"); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-309- await txnAsPromise(tx); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:310: logger.log(`LL: backend done storing for ${roomId}!`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-311- }, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-345- logger.log(`LL: Deleting all users + marker in storage for ` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:346: `room ${roomId}, with key range:`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-347- [roomId, minStateKey], [roomId, maxStateKey]); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-357- return new Promise((resolve, reject) => { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:358: logger.log(`Removing indexeddb instance: ${this._dbName}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-359- const req = this.indexedDB.deleteDatabase(this._dbName); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-362- logger.log( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:363: `can't yet delete indexeddb ${this._dbName}` + node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-364- ` because it is open elsewhere`, ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-372- logger.warn( node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:373: `unable to delete js-sdk store indexeddb: ${ev.target.error}`, node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-374- ); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-378- req.onsuccess = () => { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js:379: logger.log(`Removed indexeddb instance: ${this._dbName}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb-local-backend.js-380- resolve(); ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb.js-179- }, (err) => { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb.js:180: logger.error(`Failed to delete indexeddb data: ${err}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/store/indexeddb.js-181- throw err; ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/src/sync.js-626- }).then((savedSync) => { node-matrix-js-sdk-6.0.0+~cs9.8.22/src/sync.js:627: debuglog(`Got reply from saved sync, exists? ${!!savedSync}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/src/sync.js-628- if (savedSync) { ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/loglevel/README.md-254- node-matrix-js-sdk-6.0.0+~cs9.8.22/loglevel/README.md:255:There's clearly enough enthusiasm for this even at that cost though that loglevel now includes a plugin API. To use it, redefine log.methodFactory(methodName, logLevel, loggerName) with a function of your own. This will be called for each enabled method each time the level is set (including initially), and should return a function to be used for the given log method, at the given level, for a logger with the given name. If you'd like to retain all the reliability and features of loglevel, it's recommended that this wraps the initially provided value of `log.methodFactory` node-matrix-js-sdk-6.0.0+~cs9.8.22/loglevel/README.md-256- ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/unhomoglyph/README.md-39-if (unhomoglyph(username1) === unhomoglyph(username2)) { node-matrix-js-sdk-6.0.0+~cs9.8.22/unhomoglyph/README.md:40: console.log(`"${username1}" and "${username2} look similar`); node-matrix-js-sdk-6.0.0+~cs9.8.22/unhomoglyph/README.md-41-} ############################################## node-matrix-js-sdk-6.0.0+~cs9.8.22/unhomoglyph/test.js-13- Object.keys(data).forEach(key => { node-matrix-js-sdk-6.0.0+~cs9.8.22/unhomoglyph/test.js:14: it(`${key} => ${data[key]}`, function () { node-matrix-js-sdk-6.0.0+~cs9.8.22/unhomoglyph/test.js:15: assert.strictEqual(unhomoglyph(`${key}`), `${data[key]}`); node-matrix-js-sdk-6.0.0+~cs9.8.22/unhomoglyph/test.js-16- });