-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Implementation notes say:
Doesn't allow
token68, which as far as I know has never been and will
never be used in achallenge:
- RFC 2617 never
allowedtoken68for challenges.- RFC 7235 Appendix
A says
token68"was added for consistency with legacy authentication
schemes such asBasic", butBasiconly usestoken68in
credential, notchallenge.- RFC 7235 section
5.1.2
says "new schemes ought to use theauth-paramsyntax instead
[oftoken68], because otherwise future extensions will be
impossible."- No scheme in the registry
usestoken68challenges as of 2021-10-19.
NTLM authentication headers are in the form:
Proxy-Authenticate: NTLM Q29udGVudCBoYXMgYmVlbiByZWRhY3RlZA==
(here as a Proxy-Authenticate because it's the sample that I have, but it's also sent as a WWW-Authenticate by IIS server on a domain intranet afaik).
Being in that form, they require token68 compliancy as per RFC-7235 because / and = are among the characters used by base-64 and allowed by token68 and disallowed by RFC 7230/3.2.6.
Now, I can try to contribute the change, but:
1 - before I jump to implementation, I want to know if the contribution will be welcome as it diverges from one design tenet (but closes some gap with RFC implementation)
2 - is there any part of the parser that relies on the missing support for token68 in order to work that I have to be aware of?