Note on basic auth timing attacks in servant-server.
This commit is contained in:
parent
ee04fbbe3a
commit
dc464fa480
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ mkAuthHandler = AuthHandler
|
||||||
|
|
||||||
-- * Basic Auth
|
-- * Basic Auth
|
||||||
|
|
||||||
|
-- | servant-server's current implementation of basic authentication is not
|
||||||
|
-- immune to certian kinds of timing attacks. Decoding payloads does not take
|
||||||
|
-- a fixed amount of time.
|
||||||
|
|
||||||
-- | The result of authentication/authorization
|
-- | The result of authentication/authorization
|
||||||
data BasicAuthResult usr
|
data BasicAuthResult usr
|
||||||
= Unauthorized
|
= Unauthorized
|
||||||
|
|
Loading…
Reference in a new issue