mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-05 06:32:35 +02:00
Remove usePqRatchet from client-facing code, defaulting to always use.
This commit is contained in:
@@ -126,8 +126,7 @@ describe('SealedSender', () => {
|
||||
bPreKeyBundle,
|
||||
bAddress,
|
||||
aSess,
|
||||
aKeys,
|
||||
SignalClient.UsePQRatchet.Yes
|
||||
aKeys
|
||||
);
|
||||
|
||||
const aPlaintext = Buffer.from('hi there', 'utf8');
|
||||
@@ -151,8 +150,7 @@ describe('SealedSender', () => {
|
||||
bKeys,
|
||||
bPreK,
|
||||
bSPreK,
|
||||
bKyberStore,
|
||||
SignalClient.UsePQRatchet.Yes
|
||||
bKyberStore
|
||||
);
|
||||
|
||||
assert(bPlaintext != null);
|
||||
@@ -311,8 +309,7 @@ describe('SealedSender', () => {
|
||||
bPreKeyBundle,
|
||||
sharedAddress,
|
||||
aSess,
|
||||
sharedKeys,
|
||||
SignalClient.UsePQRatchet.Yes
|
||||
sharedKeys
|
||||
);
|
||||
|
||||
const aPlaintext = Buffer.from('hi there', 'utf8');
|
||||
@@ -337,8 +334,7 @@ describe('SealedSender', () => {
|
||||
sharedKeys,
|
||||
bPreK,
|
||||
bSPreK,
|
||||
bKyberStore,
|
||||
SignalClient.UsePQRatchet.Yes
|
||||
bKyberStore
|
||||
);
|
||||
assert.fail();
|
||||
} catch (e) {
|
||||
@@ -453,8 +449,7 @@ describe('SealedSender', () => {
|
||||
bPreKeyBundle,
|
||||
bAddress,
|
||||
aSess,
|
||||
aKeys,
|
||||
SignalClient.UsePQRatchet.Yes
|
||||
aKeys
|
||||
);
|
||||
|
||||
const aAddress = SignalClient.ProtocolAddress.new(aUuid, aDeviceId);
|
||||
@@ -616,8 +611,7 @@ describe('SealedSender', () => {
|
||||
bPreKeyBundle,
|
||||
bAddress,
|
||||
aSess,
|
||||
aKeys,
|
||||
SignalClient.UsePQRatchet.Yes
|
||||
aKeys
|
||||
);
|
||||
|
||||
const aAddress = SignalClient.ProtocolAddress.new(aUuid, aDeviceId);
|
||||
@@ -754,8 +748,7 @@ describe('SealedSender', () => {
|
||||
bPreKeyBundle,
|
||||
bAddress,
|
||||
aSess,
|
||||
aKeys,
|
||||
SignalClient.UsePQRatchet.Yes
|
||||
aKeys
|
||||
);
|
||||
|
||||
const aAddress = SignalClient.ProtocolAddress.new(aUuid, aDeviceId);
|
||||
|
||||
Reference in New Issue
Block a user