Closed domenkozar closed 5 years ago
memory is already a dependency due to jose, etc.
memory
jose
scope:
$ git grep -i BS64 src/Servant/Auth/Server/Internal/Cookie.hs:import qualified Data.ByteString.Base64 as BS64 src/Servant/Auth/Server/Internal/Cookie.hs: xsrfValue <- BS64.encode <$> getEntropy 32 $ git grep Crypto.Util src/Servant/Auth/Server/Internal/Cookie.hs:import Crypto.Util (constTimeEq) src/Servant/Auth/Server/Internal/JWT.hs:import Crypto.Util (constTimeEq)
https://hackage.haskell.org/package/memory-0.14.16/docs/Data-Memory-PtrMethods.html#v:memConstEqual
@phadej points out that servant-server and wai-extra depen on base64-bytestring anyway.
memory
is already a dependency due tojose
, etc.scope:
https://hackage.haskell.org/package/memory-0.14.16/docs/Data-Memory-PtrMethods.html#v:memConstEqual