Fix initial kyber key hydration; improve generation and logging
This commit is contained in:
		
					parent
					
						
							
								3f399b1329
							
						
					
				
			
			
				commit
				
					
						9d03d9b59c
					
				
			
		
					 2 changed files with 11 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -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));
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue