File: sasl-scram-rfc.el.html

This program is implemented from RFC 5802. It implements the SCRAM-SHA-1 SASL mechanism.

RFC 5802 foresees "hash agility", i.e. new mechanisms based on the same protocol but using a different hash function. Likewise, this module attempts to separate generic and specific functions, which should make it easy to implement any future SCRAM-* SASL mechanism. It should be as simple as copying the SCRAM-SHA-1 section below and replacing all SHA-1 references.

This module does not yet implement the variants with channel binding, i.e. SCRAM-*-PLUS. That would require cooperation from the TLS library.

Defined variables (1)

sasl-scram-gs2-header-functionFunction to create GS2 header.

Defined functions (7)

sasl-scram--authenticate-server(HASH-FUN BLOCK-LENGTH HASH-LENGTH CLIENT STEP)
sasl-scram--client-final-message(HASH-FUN BLOCK-LENGTH HASH-LENGTH CLIENT STEP)
sasl-scram--client-first-message-bare(CLIENT)
sasl-scram-client-first-message(CLIENT STEP)
sasl-scram-construct-gs2-header(CLIENT)
sasl-scram-sha-1-authenticate-server(CLIENT STEP)
sasl-scram-sha-1-client-final-message(CLIENT STEP)

Defined faces (0)