Move back to libsignal-client v0.18.1

This commit is contained in:
Scott Nonnenberg 2022-07-29 09:17:59 -07:00 committed by GitHub
parent d25e3c37ed
commit 08b2aeb237
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 39 additions and 26 deletions

View file

@ -7,12 +7,12 @@ import chai, { assert } from 'chai';
import chaiAsPromised from 'chai-as-promised';
import {
Direction,
IdentityKeyPair,
PrivateKey,
PublicKey,
// IdentityKeyPair,
// PrivateKey,
// PublicKey,
SenderKeyRecord,
SessionRecord,
SignedPreKeyRecord,
// SignedPreKeyRecord,
} from '@signalapp/libsignal-client';
import { signal } from '../protobuf/compiled';
@ -20,12 +20,12 @@ import { sessionStructureToBytes } from '../util/sessionTranslation';
import * as durations from '../util/durations';
import { Zone } from '../util/Zone';
import * as Bytes from '../Bytes';
// import * as Bytes from '../Bytes';
import { getRandomBytes, constantTimeEqual } from '../Crypto';
import {
clampPrivateKey,
setPublicKeyTypeByte,
generateSignedPreKey,
// generateSignedPreKey,
} from '../Curve';
import type { SignalProtocolStore } from '../SignalProtocolStore';
import { GLOBAL_ZONE } from '../SignalProtocolStore';
@ -1774,6 +1774,7 @@ describe('SignalProtocolStore', () => {
assert.strictEqual(items.length, 0);
});
});
/*
describe('removeOurOldPni/updateOurPniKeyMaterial', () => {
beforeEach(async () => {
await store.storePreKey(ourUuid, 2, testKey);
@ -1850,4 +1851,5 @@ describe('SignalProtocolStore', () => {
// Note: signature is ignored.
});
});
*/
});