Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
Implementation of ECDSA-NIST256P-CHALLENGE SASL authentication mode as implemented at https://github.com/kaniini/ecdsatool and used on Freenode.
Using this mode requires that the ecdsa
utility program is available
in your search path.
Synopsis
- authenticationMode :: Text
- encodeUsername :: Text -> AuthenticatePayload
- computeResponse :: FilePath -> Text -> IO (Either String Text)
Documentation
authenticationMode :: Text Source #
Identifier for SASL ECDSA challenge response authentication using curve NIST256P.
ECDSA-NIST256P-CHALLENGE
:: Text | username |
-> AuthenticatePayload | base-64 encoded username |
Encode a username as specified in this authentication mode.