Update libsignal-client to 0.76.0

This commit is contained in:
Fedor Indutny
2025-06-30 11:43:41 -07:00
committed by GitHub
parent e55efbd6ee
commit e4e8fadb0f
43 changed files with 245 additions and 883 deletions

View File

@@ -46,16 +46,16 @@ export async function generateSafetyNumber(
throw new Error('Could not load their key');
}
const ourKey = PublicKey.deserialize(Buffer.from(ourKeyBuffer));
const theirKey = PublicKey.deserialize(Buffer.from(theirKeyBuffer));
const ourKey = PublicKey.deserialize(ourKeyBuffer);
const theirKey = PublicKey.deserialize(theirKeyBuffer);
assertDev(theirAci, 'Should have their serviceId');
const fingerprint = Fingerprint.new(
ITERATION_COUNT,
SERVICE_ID_VERSION,
Buffer.from(uuidToBytes(ourAci)),
uuidToBytes(ourAci),
ourKey,
Buffer.from(uuidToBytes(theirAci)),
uuidToBytes(theirAci),
theirKey
);