File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Simplex/Messaging/Notifications/Server/Push Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import Simplex.Messaging.Notifications.Server.Push
1616import Control.Monad.Except
1717import Control.Logger.Simple (logDebug )
1818import Simplex.Messaging.Util (tshow )
19- import qualified Data.ByteString.Char8 as B
19+ import qualified Data.ByteString as B
2020import Control.Monad.IO.Class (liftIO )
2121import Control.Exception ( fromException , SomeException , try )
2222import qualified Network.HTTP.Types as N
@@ -53,7 +53,7 @@ data VapidKey = VapidKey
5353mkVapid :: ECDSA. PrivateKey -> VapidKey
5454mkVapid key = VapidKey { key, fp }
5555 where
56- fp = B64. encodeUnpadded . B . toStrict . C. uncompressEncodePoint . ECDH. calculatePublic (ECC. getCurveByName ECC. SEC_p256r1 ) . ECDSA. private_d $ key
56+ fp = B64. encodeUnpadded . BL . toStrict . C. uncompressEncodePoint . ECDH. calculatePublic (ECC. getCurveByName ECC. SEC_p256r1 ) . ECDSA. private_d $ key
5757
5858data WebPushConfig = WebPushConfig
5959 { vapidKey :: VapidKey
You can’t perform that action at this time.
0 commit comments