Fix initial kyber key hydration; improve generation and logging
This commit is contained in:

committed by
Fedor Indutnyy

parent
3f399b1329
commit
9d03d9b59c
@@ -281,7 +281,7 @@ async function bulkAddKyberPreKeys(
|
||||
await channels.bulkAddKyberPreKeys(updated);
|
||||
}
|
||||
async function getAllKyberPreKeys(): Promise<Array<KyberPreKeyType>> {
|
||||
const keys = await channels.getAllPreKeys();
|
||||
const keys = await channels.getAllKyberPreKeys();
|
||||
|
||||
return keys.map(key => specToBytes(KYBER_PRE_KEY_SPEC, key));
|
||||
}
|
||||
|
Reference in New Issue
Block a user