[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clarifying the qualities we desire the DIGEST-MD5 replacement to have
Chris Newman writes:
> Nice-to-have features:
> (...)
> * Textual protocol like CRAM-MD5 over binary protocol that's harder
> to test/debug
I don't get this. SASL is not a protocol. If a textual protocol _uses_
SASL, it must turn SASL blobs into text - e.g. by base64-encoding them.
If the SASL mechanism also base64-encodes, we get base64(base64(data)).
If you are thinking of text vs ASN.1 I agree ASN.1 is harder to examine,
but there are plenty of middle ways. E.g. a fixed-field format with a
field separator need not be textual. And such binary fields could still
start with 'token=' to identify them when you read the protocol.
Another feature: Don't disclose the existence/absense of a user unless
authentication succeeds. Or at least don't require it to be disclosed.
See my messages "Hide presence/absence of users in server (HEXA, SCRAM)"
of 30 Apr 2007.
Regarding the SCRAM draft, I hope there'll be a version soon which
spells out what each challenge and response consists of, and what the
server must remember (or be able to construct). It's cumbersome to
dig around in the parameter descriptions in order to figure that out.
--
Hallvard