Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Implementation of ECDSA-NIST256P-CHALLENGE SASL authentication mode as implemented at https://github.com/kaniini/ecdsatool.
Using this mode requires that the ecdsa
utility program is available
in your search path.
Synopsis
- authenticationMode :: Text
- encodeAuthentication :: Maybe Text -> 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
:: Maybe Text | authorization identity |
-> Text | authentication identity |
-> AuthenticatePayload |
Encode a username as specified in this authentication mode.