encrypt recipient message bodies with crypto_box

This commit is contained in:
Evgeny Poberezkin
2021-12-13 10:56:26 +00:00
parent acf5c15a05
commit 95fbd70346
10 changed files with 119 additions and 83 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NamedFieldPuns #-}
module Simplex.Messaging.Server.QueueStore where
@@ -12,7 +11,7 @@ data QueueRec = QueueRec
senderId :: SenderId,
recipientKey :: RcvPublicVerifyKey,
rcvSrvSignKey :: RcvPrivateSignKey,
rcvDhSecret :: RcvDHSecret,
rcvDhSecret :: RcvDhSecret,
senderKey :: Maybe SndPublicVerifyKey,
sndSrvSignKey :: SndPrivateSignKey,
notifier :: Maybe (NotifierId, NtfPublicVerifyKey),