mirror of
https://github.com/logos-messaging/nim-chat-poc.git
synced 2026-01-05 23:53:09 +00:00
fix: naxolotl key saving
This commit is contained in:
parent
26c41313d4
commit
425fb0d048
@ -93,7 +93,7 @@ proc dhRatchetRecv(self: var Doubleratchet, remotePublickey: PublicKey ) =
|
||||
self.dhSelf = generateKeypair().get()[0]
|
||||
|
||||
let dhOutputPost = self.dhSelf.dhExchange(self.dhRemote).get()
|
||||
(self.rootKey, self.chainKeyRecv) = kdfRoot(self, self.rootKey, dhOutputPost)
|
||||
(self.rootKey, self.chainKeySend) = kdfRoot(self, self.rootKey, dhOutputPost)
|
||||
|
||||
|
||||
proc skipMessageKeys(self: var Doubleratchet, until: MsgCount): Result[(), string] =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user