
From nobody Wed Sep  2 16:02:56 2020
Return-Path: <kaduk@mit.edu>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B1B93A1221; Wed,  2 Sep 2020 16:02:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hSvPf7X5mYMU; Wed,  2 Sep 2020 16:02:51 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7BBE33A121B; Wed,  2 Sep 2020 16:02:48 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 082N2i5f012218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 2 Sep 2020 19:02:46 -0400
Date: Wed, 2 Sep 2020 16:02:43 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: draft-ietf-kitten-sasl-saml-ec@ietf.org
Cc: kitten@ietf.org
Message-ID: <20200902230243.GH16914@kduck.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.12.1 (2019-06-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/dNOr3BnynNrSevKxL-DI7uQ-Nus>
Subject: [kitten] AD review of draft-ietf-kitten-sasl-saml-ec-19
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2020 23:02:54 -0000

Hi all,

Sorry for the slow turnaround on this one -- I had some background reading
to do, in addition to the time spent actually reviewing the document.

Some high-level comments before I get into the (sometimes very nitty)
section-by-section notes:


The ECP upstream document says:

% It bears noting that the identification of the identity provider, the
% determination of its location on the network, and the strong
% verification of its identity in communicating with it (in the
% following step) are all absolutely critical to the security of this
% profile and the protection of the user's credentials. In particular,
% the use of ordinary commercial web TLS infrastructure (of the form
% common at the time of this specification's authoring) do not provide
% strong guarantees, and sole reliance on that mechanism is discouraged.

We may need to say something similar.

Perhaps the biggest point that's unclear to me is to what extent the IdP
has to change in order to use this mechanism.  On the one hand, we see
claims in Section 1 that "no changes to the SAML IdP are assumed apart
from its support for the applicable SAML profile" and in Section 3 that
"the IdP can remain unmodified".  But in Section 4.7 it's at least
implied that the IdP should be verifying the responseConsumerURL and/or
AssertionConsumerServiceURL (which the -19 of this document is violating
the current format requirements of ("absolute URL")), and in Section
5.3.1 we describe the <samlec:GeneratedKey> element wherein the IdP
generates a pseudorandom string to be used for the session key between
client/RP.  So I think we need to have a more consistent story about
what changes are or are not required by an IdP.

I think we may want to be a bit more clear about the precise message
encoding/boundaries -- what SAML/SOAP structure is included in which
SASL container?  We do slightly better at the GS2 side of things, but
still reference the SASL mechanism for the inner contents of the GSS
context tokens.

We may also want to mention the recurring difficulty with channel
bindings, namely that they only provide full protection if both
legitimate endpoints (e.g., the application protocol specification) know
that they will always be present on legitimate connections.  If they are
optional and whether or not to use them is negotiated in-band, a MITM
that could intercept a non-channel-bound connection (which typically
requires some other credential forgery or vulnerability) can drop the
channel bindings entirely or present them to only one side without being
detected by the channel binding verification.

I'd like to walk through the mutual authentication mechanism in some
detail, and I'm not entirely convinced that it provides what is expected
from a GSS-API mechanism, at least.  (I'll use the GSS-API terminology
as I'm more familiar with it.)  The initial client response can include
a request for "mut" (or, presumably, the acceptor can spontaneously
decide to sign its AuthnRequest).  But what this triggers is for the
acceptor to send a signed SOAP blob to the initiator over the
as-yet-untrusted channel, but the initiator does not validate this
signature itself.  Instead, it's forwarded on to the IdP, and the IdP
returns the relevant state in the <ecp:RequestAuthenticated> block.  So
at this point we know that the IdP says that some acceptor signed a
request, and we're going to pass it the assertion from our IdP and
assume that if the acceptor accepts that assertion, then it's the same
one that produced the signature that the IdP validated.  But is that
guaranteed to be the case?  What if a MITM pretends to be the acceptor,
and gets a legitimate, signed, SOAP request from the real acceptor and
passes it to the initiator?  The IdP will validate it and produce an
assertion, but when we send the assertion to the MITM we're not sending
it to the real acceptor.  Now, strong channel binding would detect the
MITM, and if the IdP encrypted the assertion to the acceptor, that would
prevent many misuses of the assertion by the MITM (but perhaps there is
still some situation in which the MITM could just claim that everything
succeeded?).  I think we have to be careful that there is some proof of
possesion of a key that involves an IdP validation step, in order to be
able to say that *this mechanism* has authenticated the acceptor to the
initiator.  For the IdP-generated <GeneratedKey> this is somewhat
straightforward, and we do require encryption of the assertion in this
case.  I'm not sure that we've placed enough restrictions on the
"alternate key derivation mechanisms" in order to be able to say with
confidence that they will do the same.  However, it's not clear to me
that the mechanisms discussed in Section 5.3 actually do key
confirmation for the session key -- there doesn't seem to be any use of
this key in the context establishment itself.  Perhaps we need to fall
back to the usual trick of MIC-ing some known string in order to
validate the shared key and context?

My comment on Section 4.7 about using the SASL name vs. an absolute URI
as currently required by [SAMLECP20] is effectively a high-level
comment, though I'm leaving it there for now to benefit from the
additional context.

Abstract

[I note for pedantry's sake that both GSS-API and SASL in theory provide
per-message services in addition to the authentication functionality
that we mention, but acknowledge that these are not as widely used as
the authentication functionality. We do mention the "security layer"
part of SASL in the Introduction, but apparently not the
message-protection functionality of GSS-API.]

Section 1

   identity provider (IdP).  It includes a number of protocols, protocol
   bindings [OASIS.saml-bindings-2.0-os], and interoperability profiles
   [OASIS.saml-profiles-2.0-os] designed for different use cases.

nit: "It" seems like it is referring to just the markup language, not
the ecosystem around it, in the current wording.

   interactions.  SASL is used by application protocols like IMAP, POP
   and XMPP [RFC6120].  The effect is to make authentication modular, so

nit: While IMAP is listed as "well-known" at
https://www.rfc-editor.org/materials/abbrev.expansion.txt, POP is not.
And if we're going to expand it, we should give a reference as well, and
if we're giving a reference for two of the three we ought to give a
reference for all three.

   The Generic Security Service Application Program Interface (GSS-API)
   [RFC2743] provides a framework for applications to support multiple
   authentication mechanisms through a unified programming interface.

(per above) so, maybe ", and additional optional cryptographic
functionality".

   attribute information.  Clients supporting this mechanism are termed
   "enhanced clients" in SAML terminology because they understand the

Is there a good OASIS/SAML ref that discusses "ehnahced clients" in more
detail that we could link to?  I guess we do cite [SAMLECP20] at the end
of the paragraph, and maybe that's enough.


I'm not sure how effective Figure 1 is at conveying (what I understand
to be) the way the setup works.  It seems like the workflow is something
like (1) "client wants to authenticate to RP, and starts the SASL
negotiation", then (2) "RP needs to get some assertion from the IdP, and
tells the client some details about what this assertion should contain",
(3) "client makes a corresponding request to the IdP and gets a token
back", before "(4) client encapsulates the IdP response within SASL for
conveyance to the RP".  Right now we are just showing the client doing
(possibly independent) communication with IdP and with RP.  Perhaps
having two sets of arrows (e.g., single/double-lined or solid/dashed)
for the SASL flow and the ("end to end") SAML flow would help show the
linkage?

Section 2

Note that RFC 8174 has an updated version of the BCP 14 boilerplate that
we should use (to avoid literally every other reviewer telling us about
it, if nothing else).

   The reader is also assumed to be familiar with the terms used in the
   SAML 2.0 specification, and an understanding of the Enhanced Client
   or Proxy (ECP) Profile (V2.0) [SAMLECP20] is necessary, as part of
   this mechanism explicitly reuses and references it.

(side note: google found me
http://docs.oasis-open.org/security/saml/Post2.0/saml-ecp/v2.0/saml-ecp-v2.0.html#:~:text=1%20Introduction-,The%20SAML%20V2.,the%20case%20of%20a%20browser.
which talks about SSLv3 as included under the "TLS" umbrella.  It may be
worth updating that, and also excluding TLSv1.0 and TLSv1.1, which are
on their way out in the IETF (that doc is next in my queue).)

   GSS-API mechanism, and then knowledge of GSS-API is essential.  To
   faciliate these two variants, the references has been split into two
   parts, one part that provides normative references for all readers,
   and one part that adds additional normative references required for
   implementers that wish to implement the GSS-API portion.

This mention of a split between GSS- and non-GSS references seems to be
stale.

Section 3

   designed around HTTP [RFC7230] applications.  They are not, however,
   limited to browsers, because it was recognized that browsers suffer
   from a variety of functional and security deficiencies that would be
   useful to avoid where possible.  Specifically, the notion of an

I feel like some browser vendors might take umbrage at this description
:)  Perhaps we should rephrase and attempt to be more precise about what
makes generic browsers less applicable for SAML usage.

   3.  The client is then responsible for delivering the body of the
       SOAP message to the IdP it is instructed to use (often via
       configuration ahead of time).  The user authenticates to the IdP

(editorial) I guess "via out-of-band configuration" might be the more
common RFC style.

Also, it seems that in the general case there's no integrity protection
on the SOAP message relayed from RP to IdP via the client, so the RP
knows that it will have to carefully check the assertion(s) it receives
from the IdP.  I presume that we're just assuming the reader will
already know this and don't feel a need to mention it again in the
security considerations of this document.

   Note: The details of the SAML processing, which are consistent with
   the Enhanced Client or Proxy (ECP) Profile (V2.0) [SAMLECP20], are
   such that the client MUST interact with the IdP in order to complete
   any SASL exchange with the RP.  The assertions issued by the IdP for
   the purposes of the profile, and by extension this SASL mechanism,
   are short lived, and therefore cannot be cached by the client for
   later use.

(side note) I guess if we really wanted to enforce this the RP could
generated a nonce and the IdP include it in the assertion, but that
would be a bigger change from [SAMLECP20] that is arguably not warranted
just for the needs of this mechanism.
(That said, is there text in [SAMLECP20] that substantiates this claim
about "short lived"? Some simple keyword searches aren't finding
anything.)

   Note also that unlike an HTTP-based profile, the IdP cannot
   participate in the selection of, or evaluation of, the location to
   which the SASL Client Response will be delivered by the client.  The

Part of this seems inherent in our observation that the IdP is unchanged
for implementing this mechanism.  That, in turn, means that the IdP
thinks it is giving us an HTTP location at the RP to which the client
should deliver the response, and we are ignoring it, which would perhaps
be worth noting explicitly.  If the IdP was somehow SASL-aware, though,
is there any discretion in where/how to convey the SAML response to the
SASL server (to mimic the HTTP functionality where the IdP gives us the
location to use)?  It seems like there's only the one SASL channel to
choose from...

   use of GSS-API Channel Binding is an important mitigation of the risk
   of a "Man in the Middle" attack between the client and RP, as is the
   use of a negotiated or derived session key in whatever protocol is
   secured by this mechanism.

What about channel binding for the pure-SASL case?  If the non-PLUS
mechanism is susceptible to MITM, should we be defining it at all?


(editorial) for the type of ladder diagram in Figure 2, a typical RFC
style would only have the "target" arrowhead, e.g., "------------>", vs.
the ">-------->" (etc.) that are used here.
The double-headed arrow for (4) is, of course, quite important and
should be retained.

Section 4.2

   The format of the initial client response ("initresp") is as follows:

Is this an ad-hoc grammar or intended to match something like ABNF?
I was initially confused by the "mut" symbol since it doesn't appear in
the references, and only later figured out that it was a local shorthand
used in constructing the initial response.

   The optional "gs2-authzid" field holds the authorization identity, as
   requested by the client.

It seems like we should reference (e.g.) Section 3.4.1 of RFC 4422 to
have something authoritative for the encoding of this field.

   digitally sign its SAML <AuthnRequest> message.  The URN constant
   above is a single string; the linefeed is shown for RFC formatting
   reasons.

(side note) I suppose we could reference RFC 8792 for this if we want,
but since it's just the one line I don't see a huge need to do so.

Section 4.4

   The exact means of authentication to the IdP are also out of scope,
   but clients supporting this mechanism MUST support HTTP Basic
   Authentication as defined in [RFC7617] and TLS 1.3 client

What's the motivation for picking Basic as MTI -- is there a large
existing deployed base or something?  I think I personally would rather
say nothing about HTTP than say Basic (though it might be nice to
promote SCRAM-SHA-256 if we could).

Section 4.5

% The client MUST compare the AssertionConsumerServiceURL attribute from
% the identity provider's <ecp:Response> SOAP header block to  the
% responseConsumerURL attribute found in the <paos:Request> SOAP header
% block sent to the client by the service provider

So the client still has to compare the (HTTP?) URLs even though we're not
actually sending the response to that URL, okay. But,
(1) does the SASL server need to be listening at that URL?
(2) If so, why are we sending the response in-band in SASL instead of to
that URL?

Section 4.6

   The SAML protocol exchange having completed, the SASL server will
   transmit the outcome to the client depending on local validation of
   the client responses.  This outcome is transmitted in accordance with

Perhaps it's worth a parenthetical "validation of the client responses
(including the assertion conveyed from the chosen IdP)"?  Validation of
the assertion is pretty key to the security of the system, so might be
worth reiterating even though it's a fairly fundamental SAML concept.

Section 4.7

   For compatibility with existing IdP and profile behavior, and to
   provide for mutual authentication, the SASL server MUST populate the
   responseConsumerURL and AssertionConsumerServiceURL attributes with
   its service name.  As discussed in Section 5.6.2, most SASL profiles
   rely on a service name format of "service@host", but regardless of
   the form, the service name is used directly rather than transformed
   into an absolute URI if it is not already one, and MUST be percent-
   encoded per [RFC3986].

I think I want to see more justification for why we are diverging from
the [SAMLECP20] requirement of an absolute URI here.  It seems like in
principle we could register a new URI scheme for this purpose and mavp
the service name into the new scheme's structure.  (Using "service@host"
verbatim within the new scheme is probably not a great idea, as that
doesn't really match up with the "userinfo" semantics as described in
RFC 3986.)  I do note with reassurance that [SAMLECP20] carefully does
not require that the responseConsumerURL is an https: URI, which seems
to allow this freedom.

(Also, nit: [SAMLECP20] refers to it as an absolute URL, not URI, which
is somewhat awkward for us.)

   The IdP MUST securely associate the service name with the SAML
   entityID claimed by the SASL server, such as through the use of SAML
   metadata [OASIS.saml-metadata-2.0-os].  If metadata is used, a SASL

I'm having a hard time squaring this requirement on the IdP with the
previous claims that "no changes to the SAML IdP are assumed" and "the
IdP can remain unmodified".  I'm not sure how this association could be
considered "secure" if the IdP doesn't know the semantics that it's
supposed to be validating.  What am I missing here?

At risk of repeating myself, I'll say explicitly that we should say what
properties are required for this "securely associate the service name
with the SAML entityID" and most likely give some (non-normative)
examples of how it might be done.

Section 5

   The SAML Enhanced Client SASL mechanism is also a GSS-API mechanism.
   The messages are the same, but a) the GS2 [RFC5801] header on the
   client's first message is excluded when SAML EC is used as a GSS-API
   mechanism, and b) the [RFC2743] section 3.1 initial context token
   header is prefixed to the client's first authentication message
   (context token).

nit(?): the "prefixed" perhaps not quite correct, since the initial
context token header includes a length field that covers the
mechanism-specific bits (i.e., our initial client response).  Perhaps
it's better to say that the initial context token header "is used for"
the first message and say that the body is the same as for the SASL
mechanism case.  It's also a little weird to use "client's first
message" and "client's first authentication message" as if to imply that
they are different.

   The security context mutual_state flag is set to TRUE only if the
   server digitally signs its SAML <AuthnRequest> message and the
   signature and signing credential are appropriately verified by the
   identity provider.  The identity provider signals this to the client
   in an <ecp:RequestAuthenticated> SOAP header block.

(nit) It's probably worth a pass to try to be consistent about using
"IdP" vs. spelling it out, etc.

Section 5.1

We should probably mention the deleg_req_flag input to
GSS_Init_sec_context() and how it relates to the setting of the "del"
field in the initial client response.

   Upon receipt of an assertion satisfying this property, and containing
   a <SubjectConfirmation> element that the acceptor can satisfy, the
   security context may have its deleg_state flag (GSS_C_DELEG_FLAG) set
   to TRUE.

I'm not sure when the deleg_state flag would not be set for a context
that satisfies those conditions (and what logic would make that
decision).  Perhaps this should just be "will have"?

   Upon receipt of such a header block, the initiator MUST fail the
   establishment of the security context if it did not request
   delegation in its initial client response to the acceptor.  It SHOULD
   signal this failure to the acceptor with a SOAP fault message in its
   final client response.

We should probably also say that the GSS_Init_sec_context() output flag
is set if it did request delegation (the previous discussion only covers
the acceptor's output flag).

Also, we might reference Section 1.2.9 of RFC 2743 from here, which has
text essentially requiring this behavior:

% However, the simple delegation control provided by GSS-API should
% always be able to over-ride other mechanism-specific delegation
% controls; if the application instructs GSS_Init_sec_context() that
% delegation is not desired, then the implementation must not permit
% delegation to occur.  This is an exception to the general rule that a
% mechanism may enable services even if they are not requested;
% delegation may only be provided at the explicit request of the
% application.


Section 5.2

   GSS-API channel binding [RFC5554] is a protected facility for
   exchanging a cryptographic name for an enclosing channel between the

I think I'd prefer "identifier" over "name", though I don't insist on
it.

   The acceptor SHOULD accept any channel binding provided by the
   initiator if null channel bindings are passed into
   gss_accept_sec_context.  Protocols such as HTTP Negotiate [RFC4559]
   depend on this behavior of some Kerberos implementations.

I'm a little reluctant to make this a SHOULD.  Document that stuff
already in the wild expects it, sure, but that's only grounds to
recommend that this behavior continues under certain deployment
conditions.  We could also consider a reference to
draft-ietf-kitten-channel-bound-flag.

Section 5.3

   Appendix A.  This element is a SOAP header block.  The content of the
   element further depends on the specific use in the mechanism.  The
   Algorithm XML attribute identifies a mechanism for key derivation.
   It is omitted to identify the use of an Identity Provider-generated
   key (see following section) or will contain a URI value identifying a
   derivation mechanism defined outside this specification.  [...]

Are there any examples of such externally-defined key-derivation
mechanisms that we could point to?  It is helpful to have a worked
example to know that the described procedure is workable in practice.

   All parties MUST support the "aes128-cts-hmac-sha1-96" encryption
   type, number 17, defined by [RFC3962].

We might get some pushback on the MTI SHA-1 here (even though HMAC is
still fine).  Are there existing deployments that would affect the
decision, or might we consider a newer enctype?

Section 5.3.1

   inside a <samlec:GeneratedKey> element.  The identity provider does
   not participate in the selection of the encryption type and simply
   generates enough pseudorandom bits to supply key material to the
   other parties.

But the IdP has to know enough about encryption types to know how many
bits is "enough"?  Also, I note the earlier "no changes to the SAML IdP"
bit, but since this mechanism is optional, maybe that's okay.

   If this mechanism is used by the initiator, then the
   <samlec:SessionKey> SOAP header block attached to the final client
   response message will identify this via the omission of the Algorithm
   attribute and will identify the chosen encryption type using the
   <samlec:EncType> element:

I want to check that I'm reading this right: the actual GeneratedKey
bits are conveyed to the acceptor in the (encrypted) <saml:Advice>, but
the encryption type is conveyed outside the assertion, in the
<samlec:EncType> element from the client?  It seems like it would be
possible, then, to get the acceptor to "misuse" the key material and
thus enable potential cross-algorithm attacks.  Having the enctype
within the signed assertion seems like it would be the "safe path" here,
though it would probably also be workable to prevent the attack by using
the enctype as input to a key-derivation step between the random-to-key
step and actually use as protocol/session key.

Section 5.4

   The replay_det_state (GSS_C_REPLAY_FLAG), sequence_state
   (GSS_C_SEQUENCE_FLAG), conf_avail (GSS_C_CONF_FLAG) and integ_avail
   (GSS_C_INTEG_FLAG) security context flags are always set to TRUE.

We probably should say that the corresponding krb5 mechanism protocol
machinery is in use, to actually provide those services.

Section 5.5

Thank you for including the PRF specification; it's great to see new
mechanisms picking that up!

Section 5.6

   SAML-based information associated with the initiator SHOULD be
   expressed to the acceptor using GSS-API naming extensions [RFC6680],
   in accordance with [RFC7056].

nit(?): to me, "in accordance with" suggests that RFC 7056 has some
normative requirement that we are following, as opposed to what seems to
be intended "we're just doing the same thing they are".  So maybe "in a
similar manner as [RFC7056]" or something?

   with the SAML exchange.  It does not attempt to solve the problem of
   mapping between an initiator "username", the user's identity while
   authenticating to the identity provider, and the information supplied
   by the identity provider to the acceptor.  These relationships must
   be managed through local policy at the initiator and acceptor.

This bit leaves me fairly unhappy.  One of the supposed features of the
GSS-API is its robust naming abilities, so it seems like we ought to be
able to teach it something useful about SAML names.  Using naming
extensions is nice, but perhaps shouldn't be the only useful way to do
things.

Section 5.6.1

   The GSS_C_NT_USER_NAME form represents the name of an individual
   user.  Clients often rely on this value to determine the appropriate
   credentials to use in authenticating to the identity provider, and
   supply it to the server for use by the acceptor.

nit(?): I'm not sure which entity "the server" is supposed to be, here.
The following paragraph suggests that it's the GSS acceptor...

   element in the assertion it successfully validated.  The name is
   constructed as a UTF-8 string in the following form:

     name = element-value "!" Format  "!" NameQualifier
         "!" SPNameQualifier "!" SPProvidedID

Just to confirm: the "!" character is forbidden in all of the XML
contexts that we're pulling these values from, right?

Section 5.6.2

   applications that use the Kerberos GSS-API mechanism.  As described
   in in the SASL mechanism's Section 4.7, such a name is used directly
   by this mechanism as the effective AssertionConsumerService
   "location" associated with the service and applied in IdP
   verification of the request against the claimed SAML entityID.

[If the Section 4.7 stuff changes, this will have to change, too.]

Section 6

We could consider updating the timestamps in the examples to not be in
2007, though it's not required.

   <stream:features>
    <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
     <mechanism>DIGEST-MD5</mechanism>
     <mechanism>PLAIN</mechanism>
     <mechanism>SAML20EC</mechanism>
    </mechanisms>
   </stream:features>

Oof, DIGEST-MD5 *and* PLAIN, really emphasizing how bad the alternatives
are, I see.  (Are these still representative examples, these days?)

   Step 4: Client selects an authentication mechanism and sends the
   initial client response (it is base64 encoded as specified by the
   XMPP SASL protocol profile):

We should probably have an informative reference to the XMPP SASL
profile somewhere (possibly earlier than here).

   <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='SAML20EC'>
   biwsLCw=
   </auth>

In particular, I didn't find the <auth> element in
https://xmpp.org/extensions/xep-0388.html, which makes me suspect that
I'm looking in the wrong place.

   Step 6: Client relays the request to IdP in a SOAP message
   transmitted over HTTP (over TLS).  HTTP portion not shown, use of
   Basic Authentication is assumed.  The body of the SOAP envelope is

nit: comma splice.

       <saml:EncryptedAssertion>
         <!-- contents elided, copy of samlec:GeneratedKey in Advice -->
       </saml:EncryptedAssertion>

nit: maybe "includes a copy of" (which will push us over the line limit,
of course).  (Occurs twice.)

The base64 version of the Client->Server response in step 8 uses the
string form of the enctype name, but Section 5.3 is pretty clear that
the <EncType> element contains the *number* (as shown in the decoded
version of the example).

     <paos:Response xmlns:paos="urn:liberty:paos:2003-08"
       S:actor="http://schemas.xmlsoap.org/soap/actor/next"
       S:mustUnderstand="1" refToMessageID="6c3a4f8b9c2d"/>

The string "6c3a4f8b9c2d" only appears this once in the document; is
that correct?  (If I remove the '6' then it matches up nicely...)

It's not entirely clear to me what steps 12 and 13 are intended to
illustrate, as they don't seem to invoke any of the mechanisms defined
by this document.

Section 7

There are perhaps some standard considerations about credential
delegation to repeat; the usual platitudes about "the entity being
delegated to can take all actions the entity delegating access could
take" and "only delegate if the receiving entity is fully trusted", etc.

In a related vein, with SAML delegation, there's not a particular need
to encrypt the assertion that allows for use as the client by the RP,
right, since the RP needs to authenticate itself to the IdP to actually
use it?

   This section will address only security considerations associated
   with the use of SAML with SASL applications.  For considerations
   relating to SAML in general, the reader is referred to the SAML
   specification and to other literature.  Similarly, for general SASL
   Security Considerations, the reader is referred to that
   specification.

We may (more likely than not) be asked to be more specific about the
references, if we try to go forward with this as-is.  In particular, we
should explicitly pull in the security considerations of [SAMLECP20],
since we are literally pulling in large swathes of its procedures.

   subject confirmation.  The former is strongly recommended for use
   with this mechanism to detect "Man in the Middle" attacks between the
   client and the RP without relying on flawed commercial TLS
   infrastructure.  The latter may be impractical in many cases, but is

(nit?) It might be more politic to refer to the commercial TLS
infrastructure as something "that does not provide the level of
assurance desired by sensitive SAML applications" or similar.

Section 7.1

   The adaptation of a web-based profile that is largely designed around
   security-oblivious clients and a bearer model for security token

Is the "bearer model" referring to typical SAML token usage?

   When channel binding is not used, protection against "Man in the
   Middle" attacks is left to lower layer protocols such as TLS, and the
   development of user interfaces able to implement that has not been

nit(?): perhaps "left solely to lower layer protocols"?  Even when
channel-binding is used, TLS is involved as an input.

Section 8.1

I think I've lost track of why it's okay to use the same mechanism OID
for both the -PLUS and non-PLUS SASL mechanisms.  Can you refresh my
memory?

Section 9.1

It might be nice to put some URLs in for the OASIS refs (e.g.,
https://docs.oasis-open.org/security/saml/v2.0/saml-bindings-2.0-os.pdf)

I had mentioned previously some (of my) confusion about the RFC 7056
usage -- if we are just giving it as an example (vs. reusing procedures
from it), it need not be a normative reference.


Thanks,

Ben


From nobody Thu Sep  3 06:53:30 2020
Return-Path: <cantor.2@osu.edu>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B1A43A0C61; Thu,  3 Sep 2020 06:53:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=osu.edu
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 52R-cOPSTww4; Thu,  3 Sep 2020 06:53:27 -0700 (PDT)
Received: from mx0b-002cfd01.pphosted.com (mx0b-002cfd01.pphosted.com [148.163.155.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A32893A0C55; Thu,  3 Sep 2020 06:53:27 -0700 (PDT)
Received: from pps.filterd (m0130879.ppops.net [127.0.0.1]) by mx0a-002cfd01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 083DqL7Z011571; Thu, 3 Sep 2020 09:53:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osu.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=pps1; bh=1Eo8XfjtknEX60cjw4iWlBOU7BTQo7ehS8UlHo4hSSM=; b=LAp1JKGv0CPO4lpG72/J5zidaMfcRiMPGEhLSdDHAbGFmopZWS3mEQlO+79KrtZu4+/w vVBm47uN3uaaxGrW5n4YFF6E+CSEHC681Gx17xvwiMahejoL64r/thgV2VgDn167I0XD 1JUJZyBkB3D1CQN4HwGztRhpZMFTlAswoQccLuG+A5gfaWGpdc486BXztRMmDfq3kQ6X f0EkDmX81ryAh9gsAVp8JlIggWlOloDPTSI+r7UJRHQ8QGyCw4RgGjM2yP7Dus3tkuIq mais2qx13ZojmtLuUbkD11NwTYC2wLxid8wdIWr45glydvh11qN/LAhPvqKPognkaJpM Zg== 
Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2176.outbound.protection.outlook.com [104.47.58.176]) by mx0a-002cfd01.pphosted.com with ESMTP id 33agrn6hkh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 03 Sep 2020 09:53:26 -0400
Received: from CO2PR06CA0068.namprd06.prod.outlook.com (2603:10b6:104:3::26) by BN7PR01MB3794.prod.exchangelabs.com (2603:10b6:406:81::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.23; Thu, 3 Sep 2020 13:53:22 +0000
Received: from CO1NAM05FT008.eop-nam05.prod.protection.outlook.com (2603:10b6:104:3:cafe::9b) by CO2PR06CA0068.outlook.office365.com (2603:10b6:104:3::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.16 via Frontend Transport; Thu, 3 Sep 2020 13:53:21 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 128.146.138.10) smtp.mailfrom=osu.edu; ietf.org; dkim=pass (signature was verified) header.d=osu.edu;ietf.org; dmarc=pass action=none header.from=osu.edu;
Received-SPF: Pass (protection.outlook.com: domain of osu.edu designates 128.146.138.10 as permitted sender) receiver=protection.outlook.com; client-ip=128.146.138.10; helo=cio-socc-esr05.osuad.osu.edu;
Received: from cio-socc-esr05.osuad.osu.edu (128.146.138.10) by CO1NAM05FT008.mail.protection.outlook.com (10.152.96.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.8 via Frontend Transport; Thu, 3 Sep 2020 13:53:21 +0000
Received: from cio-tnc-ex04.osuad.osu.edu (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by cio-socc-esr05.osuad.osu.edu (Postfix) with ESMTPS id 65251A0; Thu,  3 Sep 2020 09:53:20 -0400 (EDT)
Received: from cio-tnc-ex04.osuad.osu.edu (128.146.193.3) by cio-tnc-ex04.osuad.osu.edu (128.146.193.3) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 3 Sep 2020 09:53:20 -0400
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by smtp.service.osu.edu (128.146.193.3) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5 via Frontend Transport; Thu, 3 Sep 2020 09:53:20 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qiw9talLtfCiEAXW6xB96smLC4A6KUw4msYRA95K9FEx8Q4UlXJbkjN3uj3bgshwLJ0t9lxyGLMSPBXCrqCI4ntOrhKufB4g66UXg6+SqO4A2Sx/U97rTFyVvzGVsbbLg0SgDt3SW8mgEX2NA6UIIJ97/N4tkrwZKnTv5HNL+AAOLzQ1UXc23upvCIF4WiQwChoT+QPja4gwemwMTvrnfBKdswH82XOo6IS3VO5WHNgzXBs7AF0EOdTjcz8QnjHRu+sgRMMpy3uW5a4MCu1Lrqb0K+ObhhB4cshe4f2gjjDWPprEGdQlD4i8L9EAwO2tsoX7l865et8nesxHdgknOg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Eo8XfjtknEX60cjw4iWlBOU7BTQo7ehS8UlHo4hSSM=; b=nG3R/KgY5huamqN3tWXxUfS61Q9NfgENUUMReGmcjexGlhXh9zTOsnxwJkpP46nbWQGHVhNfa0ADA3VR471W3TDz22yij0+TqduUdY6d7juiKApbDzTKtz3G3cGQJXimUh1seK5s8bbSSiZaJpXgFvlOc+dfXkjRcoW9+2wrfdMVWAXcP1lHaF/r3zxiAhWiEBQ66uki6J4wi4WWD0ejOpvJFKj92+CGugm63FsXt2y3rvYTTd4/73nGxYjnmuq+ETM9QQcRliXoa3/Sg2dl5a47bqFz+lqR6fcYoiwWSBkaCRdx/WZ6NE1LVcCCQDpHP/WrT9sXSIWa09XcJqk/uA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=osu.edu; dmarc=pass action=none header.from=osu.edu; dkim=pass header.d=osu.edu; arc=none
Received: from DM6PR01MB4076.prod.exchangelabs.com (2603:10b6:5:1e::14) by DM6PR01MB4602.prod.exchangelabs.com (2603:10b6:5:66::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19; Thu, 3 Sep 2020 13:53:19 +0000
Received: from DM6PR01MB4076.prod.exchangelabs.com ([fe80::ac25:d88a:ea92:6fc7]) by DM6PR01MB4076.prod.exchangelabs.com ([fe80::ac25:d88a:ea92:6fc7%5]) with mapi id 15.20.3326.025; Thu, 3 Sep 2020 13:53:19 +0000
From: "Cantor, Scott" <cantor.2@osu.edu>
To: Benjamin Kaduk <kaduk@mit.edu>, "draft-ietf-kitten-sasl-saml-ec@ietf.org" <draft-ietf-kitten-sasl-saml-ec@ietf.org>
CC: "kitten@ietf.org" <kitten@ietf.org>
Thread-Topic: AD review of draft-ietf-kitten-sasl-saml-ec-19
Thread-Index: AQHWgX0zfRTWfQZI302w6FLekDvWuqlWrR8A
Date: Thu, 3 Sep 2020 13:53:19 +0000
Message-ID: <D5CD96B0-CC1C-4788-8479-EF77EB1B4263@osu.edu>
References: <20200902230243.GH16914@kduck.mit.edu>
In-Reply-To: <20200902230243.GH16914@kduck.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/16.41.20080203
Authentication-Results-Original: mit.edu; dkim=none (message not signed) header.d=none;mit.edu; dmarc=none action=none header.from=osu.edu;
x-originating-ip: [2600:1700:f6b0:6070:51f3:652d:62b:8ea3]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-Correlation-Id: 0220f023-20a8-4390-934c-08d85010b849
x-ms-traffictypediagnostic: DM6PR01MB4602:|BN7PR01MB3794:
X-Microsoft-Antispam-PRVS: <BN7PR01MB3794D8182BD8231B37185580D02C0@BN7PR01MB3794.prod.exchangelabs.com>
x-header-sapphire: true
x-ms-oob-tlc-oobclassifiers: OLM:5236;OLM:5236;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: f5riwA7oSxzkrQrwk+MigreqlYd7EikHU3AblAdLu8cxJXibmQm31xwFUclQWF6WtunmRSv0b61UEVBO/aWjXBflmi0NEOOH36Qf+j98ezfhqJdrVJLsOc8bt3+tR4LR/goaVnwiZIBWx9/Da6aA2zkaViFBD0PIwERf3CkRJs/ztMqVYBnus+FC5jfRhYeTEDTmLqWB49g3Q1sULuUzLaZEhR3UbZOTUCWFYx+bB5OLBoCiRCm6ZYC8DOPdwgPYZr6C2sxOYafebKcBATGtBYQ6iK1pg80u/sLAvNbLhBZpqCsA1817k+YPjJm8EiKhp8i3+s72xmYaqkanl49Qxg==
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR01MB4076.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(376002)(366004)(39860400002)(136003)(76116006)(6486002)(6506007)(8936002)(91956017)(786003)(6512007)(2906002)(66556008)(4326008)(83380400001)(64756008)(110136005)(66446008)(316002)(478600001)(66476007)(86362001)(36756003)(4744005)(71200400001)(33656002)(66946007)(8676002)(186003)(2616005)(75432002)(5660300002); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata: i5SxS1Eb0tkxTw9JqDdfbTMI0Mmj/PujPNS8ubwviL8XRdsZbkPSbcDVJVcknCtm3N/vjdpK2zrKsBcNpFheiKdD1+XbMIn0lbzA4901BjzGKK09hEESAEVHuwDkJL9iUNWKHUuqv5Hk0255oHO6MfUefPjBNNFzGBiVpdwYcDfWHD3ueEm1CPh1IwtiryMnjnRyKHnLASBAJkJhKvRozCgArvPVMwYZhmX3tUatF1OqINHN98SxGZTnoGCJtjocQqVNcJHLA5QZeHbgw/hmcbwQABHyRkuw6+mbWs7TCjhumRiQJ5Gkv/RiGZ+PIr6XD/vdRoiUYKOhKSUT4Odr6g11G9PtZIkep/QSaIF9m0aWL4zB62S9shl6D9AOR1O8nJSkxJndDdt0PRzmUr1KdDFeE08WxquSAIVc1gKSQB4Xqn/DZE+BVSAao1+dzmBPG70nlMsGl0WWhxaPtiTT7ywNjAggvI3lUi4h+pi4IhEA4U+prmXiPrlISVJTkQuxqmcU0iT8hu7AuTaVrWB6wPxoPaFokIMgq83UUXYo8bDiggLsqjTsYt9ONS1o0/+pFEokLgQz6Bzd2aWODRqbtdkj+x8w2kzaNg79TBeVxB+lOCHY8W6Hb1EEA6bsNqUQKBxZE32fWmNKRAgp4zLEOM01Xwqcn4ch2xw0QcG10EYjrdflkYNlVzWYa1aSnOX+TkGfqWUUoCOB6BiU7D3Cfg==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <ADB39472EC60D04BABFD3EFE7F2943C7@prod.exchangelabs.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR01MB4602
x-header-osu-auth: True
X-CFilter-Loop: Reflected
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: CO1NAM05FT008.eop-nam05.prod.protection.outlook.com
X-MS-Office365-Filtering-Correlation-Id-Prvs: 6d484edf-8b10-4324-445d-08d85010b715
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: kelxEWUDyEGANi1BGws9GAEuLF/hdKOJFncUPONW6s3TGJC7JDsvmIPm0NWRqLjgDhsFsW5a4p6AcyrVZxWwOodsUmu8lorfyyfNfP+A0YIpOP1WY5YnfqNHYFIODXbZvnaPZ+3bW7bzFLVB3zH562pbdguUGkOgznABXLbZqPZy3YY//XPcutkgQWgnoWVrX4o0u6R87EE06kQbxtklsuM9kxYFF0qcC9SemY+bpv/6vSEojOcVJmHlsVzTIyUs8GsYNzurt+ccpMrq+GeJnXKVgKQjNffHjWIowoLDBHVKuCOvfBdeAodSc8ZdlMVYqBRa+Jm32T4Gzq2YTIMvqUaOQLuiCG+MOQvVkwuvZRtaZQVXWdipfF3yJit9x7nM6rMu3skTrhve2dWrp11wLz1X7OOhiE7j3xwbOl4pbNsaYvs1svOMIZBLQx4LV4Zb
X-Forefront-Antispam-Report: CIP:128.146.138.10; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:cio-socc-esr05.osuad.osu.edu; PTR:cio-socc-esr05.osuad.osu.edu; CAT:NONE; SFS:(4636009)(396003)(39860400002)(346002)(376002)(136003)(46966005)(316002)(82740400003)(786003)(83380400001)(70206006)(2616005)(33656002)(82310400003)(6486002)(478600001)(8676002)(110136005)(70586007)(356005)(4744005)(47076004)(6512007)(6506007)(5660300002)(186003)(33310700002)(7596003)(75432002)(336012)(36756003)(26005)(2906002)(86362001)(8936002)(4326008); DIR:OUT; SFP:1102; 
X-OriginatorOrg: osu.edu
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2020 13:53:21.2414 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 0220f023-20a8-4390-934c-08d85010b849
X-MS-Exchange-CrossTenant-Id: eb095636-1052-4895-952b-1ff9df1d1121
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eb095636-1052-4895-952b-1ff9df1d1121; Ip=[128.146.138.10];  Helo=[cio-socc-esr05.osuad.osu.edu]
X-MS-Exchange-CrossTenant-AuthSource: CO1NAM05FT008.eop-nam05.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR01MB3794
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-03_06:2020-09-03, 2020-09-03 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 bulkscore=0 priorityscore=1501 adultscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009030128
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/E1Z7qfreDC2YpYZ5Mf4bzWqa-88>
Subject: Re: [kitten] AD review of draft-ietf-kitten-sasl-saml-ec-19
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2020 13:53:30 -0000

V2hpbGUgSSBhcHByZWNpYXRlIHRoZSBkZXRhaWxlZCByZXZpZXcsIG1vc3RseSBmb3IgbXkgb3du
IGVkdWNhdGlvbmFsIHB1cnBvc2VzLCBJIHNpbXBseSBkb24ndCBoYXZlIGFueXRoaW5nIGNsb3Nl
IHRvIHRoZSBjeWNsZXMgaXQgd291bGQgdGFrZSB0byByZWRvIHRoZSBkb2N1bWVudCB0byBzdWNo
IGEgZGVncmVlLiBOb2JvZHkgaXMgZnVuZGluZyBtZSB0byB3b3JrIG9uIGl0LCBhbmQgZXZlbnRz
IGhhdmUgbG9uZyBzaW5jZSBvdmVydGFrZW4gaXQuDQoNCkkgd2FzIGhvcGluZyB0aGF0IGl0IHdh
cyBtb3JlIG9yIGxlc3MgY2xvc2UgdG8gd29ya2FibGUsIGFuZCBpdCdzIGEgdmFzdCBpbXByb3Zl
bWVudCBvdmVyIHRoZSBjbGVhcmx5LWJyb2tlbiBTQU1MIGFuZCBPQXV0aCBtZWNoYW5pc21zIHRo
YXQgZ290IHJ1YmJlci1zdGFtcGVkIGEgbG9uZyB3aGlsZSBiYWNrLiBUaGF0IG1pc3Rha2UgaXMg
ZnJhbmtseSB3aGF0IHJlYWxseSBtb3RpdmF0ZWQgbWUgYXQgdGhlIHRpbWUgdG8gd29yayBvbiBp
dCwgYnV0IHRoYXQgd2FzIG1hbnkgeWVhcnMgYWdvIG5vdy4NCg0KU2NvdHQgQ2FudG9yDQpjYW50
b3IuMkBvc3UuZWR1DQpFbnRlcnByaXNlIFNlY3VyaXR5DQpUaGUgT2hpbyBTdGF0ZSBVbml2ZXJz
aXR5DQogDQoNCg==


From nobody Fri Sep  4 17:53:43 2020
Return-Path: <fenton@bluepopcorn.net>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EAC073A0EF0 for <kitten@ietfa.amsl.com>; Fri,  4 Sep 2020 17:53:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bluepopcorn.net
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lh96snOUf9rc for <kitten@ietfa.amsl.com>; Fri,  4 Sep 2020 17:53:40 -0700 (PDT)
Received: from v2.bluepopcorn.net (v2.bluepopcorn.net [IPv6:2607:f2f8:a994::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3237F3A0EEF for <kitten@ietf.org>; Fri,  4 Sep 2020 17:53:40 -0700 (PDT)
Received: from steel.bluepopcorn.net ([IPv6:2601:647:4400:1261:d1e3:e316:f015:75b9]) (authenticated bits=0) by v2.bluepopcorn.net (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTPSA id 0850rcSG024843 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 4 Sep 2020 17:53:39 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluepopcorn.net; s=supersize; t=1599267219; bh=xeqQ6o8p6IXambB1W0rktdNDtX7ygz58mqrJ9FHfvT0=; h=From:Subject:To:Cc:Date:From; b=Ybo47GU962NIplwqvN1fso/dM++CpHRbQvBrNWM90rFp5ktMqaqsbf8KdAwKHfxGP 6jTmjoSfPVqkv0GaYC1UEyIWSJoJMuBMHEK8jwohb17Nc7Z+ng/RthbEEvVUSMhiXl lxMpsZeG9MQ9PQzsDtRmVonfCzfKFiNaFIHmtbbM=
From: Jim Fenton <fenton@bluepopcorn.net>
To: kitten@ietf.org
Autocrypt: addr=fenton@bluepopcorn.net; prefer-encrypt=mutual; keydata= mQINBFJNz0MBEADME6UoNSsTvSDJOdzL4yWfH4HTTOOZZPUcM/at38j4joeBb2PdatlwCBtk 9ZjupxFK+Qh5NZC19Oa6CHo0vlqw7V1hx1MUhmSPbzKRcNFhJu0KcQdniI8qmsqoG50IELXN BPI5OEZ3chYHpoXXi2+VCkjXJyeoqRNwNdv6QPGg6O1FMbB+AcIZj3x5U18LnJnXv1i+1vBq CxbMP43VmryPf8BLufcEciXpMEHydHbrEBZb/r7SBkUhdQXjxRNcWOLeYvOVUOOrr1c+jvqm DEbTWUJVRnUro/WpZQBffFnymR0jjkdAa8eOVl/nF2oMLbaBsOMvxCRSSEcGhuqwbEappNVT 1nuBTbkJT/GGcXxc+lEx9uNj86oYC4384VZJMTd1BRI4qPXImNZCIdmpKegK743B6xxN6Qh1 Tg167pn9429JENQE/AFIVX5B/gpsg7Aq+3rmz9H6GbfovPvFV3TBTgsHCHAMC8XU+S4fhcqN PN0lbUeyb7g6wxaE+dYqC7TExx7G3prw4v66y0qS7ow/Cfw8XXOEkaFQ4XwP7nvfILT+9CcU yS8I40vlDFU9Wnt56CbGz0ZVQgHnwyPXL+S9kCcIwRLFx1M79s6T6qwX1TXadfpbi1uIw7XG TiPDT8Pk6i2y22oSSROyYD4D+wOhVkkvO0S8iZ3+LhAYUx86nwARAQABtCNKaW0gRmVudG9u IDxmZW50b25AYmx1ZXBvcGNvcm4ubmV0PokCVQQTAQgAPwIbAwYLCQgHAwIGFQgCCQoLBBYC AwECHgECF4AWIQS1nUkJe2fEXbvBaacbJaiwFdCfvgUCXxoIpQUJEI6gYAAKCRAbJaiwFdCf voc0EACDpkdX086xmst9QgccOX2qKPnzbaAa0/NpFtJN860Us5gbv8gf+9Wfkz0UVqmExp3a 7CMzJnH5CLNb4jOXMMMoFCzJ8UioTGL4jwN23wXHdhOEycnKMl2i2bN13DwEWdrqVHzF2ds8 did+0Ep1deFCGAEXTS5QMc2LyPynMGScHcLTZJ6IIBK9sQqGn9IPR4UjiZOV4382RG86jxam G8EhKTahaJF+srqXsmKdfg1xGDUr0aFfPZQcdpE/cBePMqe4+H6py4eEobcuVD61RL8KTj3D F78TkoR7+RJcPvTGEA3I5kNPLQrqtSFhds327Mr6MzDkC4gg5nIhvWb/j2zn4tfckBY+e9vS nq6Hfo0NYbqWYaHSdvA0bF7D9CPJ4sXco7MCx1/nLYYLNHpxnSMAFPZmI3lMQBGcR89c/sBm K7BA4aotgbxfm/fZNngZB0xFolkXyPIBfR9rzgIY2llSdd+KlN5tjZnQ7QkShWp0iG2YI6nC Zr7HaObdp+aRB5UmkD5GOdPMcv7s5esouysTKu2R2nzPQG0atMiSRtS6QEDmp372TG7L2w4V HVLx5wlrWpoTiKAMwg7VtFjD7Xbyho6NgRrrmhiW7KnIQxYrb6evg4v316E+H0w0ogU/fDMF x3ZnZDC6npTuPT4GojlxIANBQmSKHYX66HD291b7WrkCDQRSTc9DARAAwZaXYs3OzGlpqvSH 3HR9GjSzIeP0EmsBCjpfIdZbQBwQ3ZREiMGInNxV+xkdjLDg0ctrWzUCUe3plWe5NJkpjqm+ KMc7GKhyeWJ5MZRtVrh0VpFTqi8UwYPWumAYqE1y/U1me/zHpfG9EDwdSYqMkPF76Fy5W+vh ZP2ILKaY8qWSLyH8TPl5mFGBypfT8Q6UuzlRs2aTbsTtBX/qwH7gztMRJSjQtYo20AqCgBBH IA/0xV5qDH7CVYyKyPQ4tJLQ8/xyTysUS5fewrj8lZo/G9SaNtC3CEvrJYwyA0nvYB6+hJPM qMP/tyRXM/9XY3qO4Vxuc+m5fYbTZa5GYAZNNuB5dvqI1U0sFTWBEbpAeabqCQ40ZnFSj+t1 tBuwfj4ey/oJ78WRyg5+VTvPKRRubOmZcnzj5yfTS3VGxAZb4Nsj1S2f3KLP0Z+Cv4dt893I 2JWTChw7jA1omF0QTQaBq140n084PFndBHudrZ3cz+APC89iie2HQ4jGQldXZXnGySHnHlA+ WUyZ9wgOplW9F4Q/Lps1bnuh5VttPVpNfjX8hiV48al+b+ut4nfzXAripIRWF3TL72/6JqgE KNhRKyRn0S6BidieSyHWzqJR3Roi/YNTvyXyLh6i6jtByb3FbnhYf/9olobDpj0E+kTemLrw owre85gwupSphqlzVSUAEQEAAYkCPAQYAQgAJgIbDBYhBLWdSQl7Z8Rdu8FppxslqLAV0J++ BQJfGgilBQkQjqBiAAoJEBslqLAV0J++j7cP/jEq8IXTyahDSPJxQpMKVDL24OBhgZZdmt8B AWFUIrlnaucZ8BXW8wYFnFr+76gSKkfArAXcxSol32aMKS3fW8EdIDw7nkdPuKJGY6dhzIZ5 HDRq/jNMLYHcqXB+0YuqpZ4VNGL3/gmgduBgyTx/cnfqOe7WG13V4qFRMNIrdsf2QdAeFl93 MirVJpokH3anHeh8fQkpWSCiIP7ejGN3Lld1pWdGXqpubj5z6R5208/acSpVs79JiQfaH3q0 cau9oYX0JRoW6iQpGNXlkfLFehCzsKks/m4CtMXMXtajakBmWuHxuebcfHpmz6F+9B3rHvai 5TjSmZe9KfjlDAsuksq4CP1kJOqTxg+e0Sup38b0C979lHpRIhwwl0znobT9EPnrjMd5yDZt 2CZGEAE0bzXWLSHcRDJnHu+jscCnowC18S7LL3X9Gmw8r+WUYmMQ0A8ZDDOB8Z5p9PIs2OAQ kBBsBWFb59KGjtAvFWFEm6/DRDlzXmANICwHC2G4aqn1G3DLSDzwfBfSYLs31dK5mDyzv51G ZJfgxbwTKcdoy6AEkUrzM3A1GP+NVfb/I2LCui+QOHfhfPFmV1OPpTPL77AsTXviA7l1iYMd BADv28GwZyay6Fd1Hp7rOXFI/Qx87++GwpEjpuSKcZihfnh2754ZSyZxim2wmMs6k12nYwvE
Message-ID: <6dde1303-3d0c-6811-c201-00edbe5ab84e@bluepopcorn.net>
Date: Fri, 4 Sep 2020 17:53:32 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/X6ltZh0F3QcKAjc3lumN7cAo3Kc>
Subject: [kitten] Comments on draft-ietf-kitten-password-storage-00
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2020 00:53:42 -0000

Hi,

I'm not generally up to speed on the work of the kitten WG, but someone
pointed out this draft and thought I'd be interested, and I am. Please
bear that in mind if some of my suggestions conflict with GSS-API,
Kerberos, etc. And I'm not familiar with the various SASL mechanisms so
don't have any comments on them.

1.1 Terminology

Since the term "salt" is so widely used in this document, it would be
good to reference a specific definition, since RFC 4949, SP 800-132, and
SP 800-63-3 all have different definitions.

For "pepper", does "not unique" mean that there is one pepper value for
the entire database that is stored separately? This would be OK if the
database is salted as well (need to de-duplicate cases where different
users have the same password).

3.1 Mechanisms

The end of paragraph 4 talks about providing a strong authenticator
assurance level. In NIST SP 800-63B, authenticator assurance level is a
categorization of authentication transactions (1-3), and single-factor
authentication such as a password is only ever AAL1 regardless of how
it's done. I suggest a different term be used here.

4.1 SASL requirements

Hashes that are unsuitable for use with authenticators such as SHA256:
Should explain what makes them unsuitable. I gather that's because
SHA256 is too fast, especially with all the stuff developed for
cryptocurrency mining. But really all hashes are too fast to be used
alone; they need to be used iteratively or as part of a key derivation
function that is hopefully time- and memory-hard.

4.2 Storage

Salts don't really need to be random; they just need to be unique, and
long enough to make it impractical to construct a rainbow table. "If it
is stored": the salt, I assume? Please be specific. The pepper value
should be stored at arm's length from everything else, such as in an HSM
or otherwise separate place (example:
https://github.com/jimfenton/rehash ). Storing the pepper in an
environment variable seems like a really bad idea to me.

As I mentioned above, a minimum salt length of 16 bytes seems excessive.
NIST SP 800-63B requires 32 bits. Similarly, 32 bytes for the pepper is
more than is really needed; SP 800-63B calls for 112 bits (but calls it
a "salt" which is confusing).

4.3 Authentication and rotation

Paragraph 2, "iteration count" - some algorithms refer to this as a work
factor so suggest "iteration count or work factor".

Paragraph 3, Pepper rotation: In cases where the password is salted and
iteratively hashed, and then a keyed hash with the pepper value is
performed after that, it has been suggested that the keyed hash could be
replaced by a keyed encryption, which has the advantage of allowing the
key to be rotated by sending the verifier values to the peppering
process, which could decrypt the verifiers with the old key and
reencrypt with the new key. This makes a lot of sense; encryption isn't
really a problem here because there isn't a practical brute force threat.

6. Password complexity

Replace blacklist with blocklist, denylist, or something else of course.

"(when paired with the same email or other uniquely identifying
information)" - This would only result in denial of use of a password if
it was used by the same account, when really we want to deny the use of
things like passw0rd entirely. So just compare against the list without
identifying information (which you don't want to have anyway). I'd leave
out the part about commonly used patterns -- that leads down a slippery
slope to the complex composition rules we have today, when really we
just want to make sure common passwords aren't used. So if "aaaaaaaa" is
considered a common password, just put it on the blocklist.

I'm happy to discuss any of this further. Thanks for putting together
this draft.

-Jim



From nobody Thu Sep 10 13:51:06 2020
Return-Path: <rharwood@redhat.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A9E03A0D90 for <kitten@ietfa.amsl.com>; Thu, 10 Sep 2020 13:51:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mx_5LadFbsJm for <kitten@ietfa.amsl.com>; Thu, 10 Sep 2020 13:51:02 -0700 (PDT)
Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A48EB3A0D5D for <kitten@ietf.org>; Thu, 10 Sep 2020 13:51:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599771061; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YIWOvtI3fOzHjDPW/H930yNWwUsNMX3KxlWD9G/tDw8=; b=JjQRAmEUkGS3ciEArgb7xAL9U3JkHXT6B4cZ/Bf01bTTiGevUoB73d7Sa0uf5ODlkBsWbz +G25ZQPUpNXIRWO5DPpvpc2MnCnHMA2ENHzbSjA9FEH7VYlH7ha+5mQnYJ5VWAeQIwr3X5 BeGI5peiMG49zd6Jd+3pGXutGzTjLVY=
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-75-2jjMzNJvMQO65SD1wvtFEA-1; Thu, 10 Sep 2020 16:50:57 -0400
X-MC-Unique: 2jjMzNJvMQO65SD1wvtFEA-1
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 61BAB7A1CB; Thu, 10 Sep 2020 20:50:56 +0000 (UTC)
Received: from localhost (unknown [10.10.110.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id BFE6481C40; Thu, 10 Sep 2020 20:50:55 +0000 (UTC)
From: Robbie Harwood <rharwood@redhat.com>
To: simon@josefsson.org, "Cantor\, Scott" <cantor.2@osu.edu>, Benjamin Kaduk <kaduk@mit.edu>, "draft-ietf-kitten-sasl-saml-ec\@ietf.org" <draft-ietf-kitten-sasl-saml-ec@ietf.org>
Cc: "kitten\@ietf.org" <kitten@ietf.org>
In-Reply-To: <D5CD96B0-CC1C-4788-8479-EF77EB1B4263@osu.edu>
References: <20200902230243.GH16914@kduck.mit.edu> <D5CD96B0-CC1C-4788-8479-EF77EB1B4263@osu.edu>
Date: Thu, 10 Sep 2020 16:50:52 -0400
Message-ID: <jlgr1r9xsnn.fsf@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=rharwood@redhat.com
X-Mimecast-Spam-Score: 0.0
X-Mimecast-Originator: redhat.com
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/CoQr_ObpHXMVbnQnlVqW-ttRx7M>
Subject: Re: [kitten] AD review of draft-ietf-kitten-sasl-saml-ec-19
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Sep 2020 20:51:04 -0000

--=-=-=
Content-Type: text/plain

"Cantor, Scott" <cantor.2@osu.edu> writes:

> While I appreciate the detailed review, mostly for my own educational
> purposes, I simply don't have anything close to the cycles it would
> take to redo the document to such a degree. Nobody is funding me to
> work on it, and events have long since overtaken it.
>
> I was hoping that it was more or less close to workable, and it's a
> vast improvement over the clearly-broken SAML and OAuth mechanisms
> that got rubber-stamped a long while back. That mistake is frankly
> what really motivated me at the time to work on it, but that was many
> years ago now.

Appreciate your frankness here.  With my shepherd hat on:

Simon, do you think you have cycles to take this on?

If not, I think we need to find another editor/co-author.

Thanks,
--Robbie

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEA5qc6hnelQjDaHWqJTL5F2qVpEIFAl9akawACgkQJTL5F2qV
pEI21BAAh9PSvr5ooEQJFw7rQEtmZwDQTnBNpbd1M8Nq1Nis9ZYV6vzAiybAau7Y
Huq6YWWY0VaLQNZu8FrxMfcPmx3FhMQfEuxwS69qX4vTs2qJ5DA9IJuf68uWL2oY
OknetSMpaHD3wI3uJpwAgIfa91nJizGOCnGhyFnmjh/2vUoe0+2VZOLlod5Cf31n
30+2hs+FmCOdKcSosfSCAV4gK40xMzUtVKZ/WDGwG13CbXH6lcdYkQX4Xjxi3/cv
oACrGE1N0bs+0DXeFqXIioTmG2dY2iXrtPXO9y0sosgb8RlfvmLoU4Zqf1J+QJ5m
lTkY7K1cmL833ok3I4XgiEjgQxS4tkTbhJKDCTW90lQdbs7QX4cJ1YE9vAglziB4
woy+OkeUoaeosVjZviha6LdtafVIEcOgj5x/3P7ndrwFscqW1YDi0iFMfU7RJY4x
CX5UllcqdNUh+BMfA2RkVtBuoKlNMk4DSjdnOm8rGIuhZoNF2rXSv5tmHvnQSn8y
A4JGFwxfh3FarjvTx6CaMMVforDP5dNVK/ZNU4BnllczKc5gN1eijTAzFJeBZOjk
ULNAHg+Ukjbm36puc6SQBnene6YtVx1OJtgljGioeeOmBSLw49jPLRmqwHVe1Uw6
MWyfvznogaCFXuknUXYqxKAsrS+ErV+C+xqrXXOod3jYytcDAy8=
=Q62z
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Thu Sep 10 14:12:23 2020
Return-Path: <session-request@ietf.org>
X-Original-To: kitten@ietf.org
Delivered-To: kitten@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 856F23A010A; Thu, 10 Sep 2020 14:12:21 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IETF Meeting Session Request Tool <session-request@ietf.org>
To: <session-request@ietf.org>
Cc: kitten@ietf.org, kitten-chairs@ietf.org, rharwood@redhat.com, kaduk@mit.edu
X-Test-IDTracker: no
X-IETF-IDTracker: 7.16.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <159977234109.4866.1211743918414630298@ietfa.amsl.com>
Date: Thu, 10 Sep 2020 14:12:21 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/ifuEk9i46gU1QBjUSuTgSzLi7jo>
Subject: [kitten] kitten - Not having a session at IETF 109
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Sep 2020 21:12:22 -0000

Robbie Harwood, a chair of the kitten working group, indicated that the kitten working group does not plan to hold a session at IETF 109.

This message was generated and sent by the IETF Meeting Session Request Tool.




From nobody Tue Sep 22 09:56:20 2020
Return-Path: <rharwood@redhat.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 591563A09F2 for <kitten@ietfa.amsl.com>; Tue, 22 Sep 2020 09:56:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.794
X-Spam-Level: 
X-Spam-Status: No, score=-3.794 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.695, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OAwPeHfjT3Ld for <kitten@ietfa.amsl.com>; Tue, 22 Sep 2020 09:56:17 -0700 (PDT)
Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A98CD3A09DB for <kitten@ietf.org>; Tue, 22 Sep 2020 09:56:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600793776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=/PnPGSHnYY71qFTnWZEg4DZyKk0Hjt/AZArt+OV2U2I=; b=Ej67P0G+XfN4a6Nyu8hiLSsYIkulpovarKyhh9OXbOFmrcaj9KyrkZGVKxMEzpclu83Yhm +uNh5/LOJKPEYpBL+/ii+MkEiLpxe8+7BQXsDR/9CavTTCGiOZsu64iGM1gYIWLtOnUioy vrMM1bICUUj1ue5LYfTNPC6hI9Jd+7k=
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-595-HTMvSIiqMnSkxPJHPX4ZaQ-1; Tue, 22 Sep 2020 12:56:10 -0400
X-MC-Unique: HTMvSIiqMnSkxPJHPX4ZaQ-1
Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2452310A7AF5; Tue, 22 Sep 2020 16:56:09 +0000 (UTC)
Received: from localhost (unknown [10.10.110.15]) by smtp.corp.redhat.com (Postfix) with ESMTP id CE4655DD99; Tue, 22 Sep 2020 16:56:08 +0000 (UTC)
From: Robbie Harwood <rharwood@redhat.com>
To: kitten@ietf.org
Cc: draft-ietf-kitten-sasl-saml-ec@ietf.org
Date: Tue, 22 Sep 2020 12:56:06 -0400
Message-ID: <jlgmu1heont.fsf@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=rharwood@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/Yx-6tVD8bFKcTPUcTgFrTaL50FQ>
Subject: [kitten] Editor needed for draft-ietf-kitten-sasl-saml-ec
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2020 16:56:19 -0000

--=-=-=
Content-Type: text/plain

Hi kitten,

Unfortunately neither current author for sasl-saml-ec [1] currently has
cycles to work on that document.  We have received Area Director review
(from Ben) that needs to be addressed before the document can advance;
the comments from this review can be found at
https://mailarchive.ietf.org/arch/msg/kitten/dNOr3BnynNrSevKxL-DI7uQ-Nus/

So if you are interested in seeing this document become a RFC, are
reasonably knowledgeable in this area, and have time to work on it,
please reach out.

Thanks,
--Robbie

1: https://datatracker.ietf.org/doc/draft-ietf-kitten-sasl-saml-ec/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEA5qc6hnelQjDaHWqJTL5F2qVpEIFAl9qLKYACgkQJTL5F2qV
pEIvsg/8Ckgcaybh7nBtMZdJDmavyEXNftuet68AoswpJgQ56rHaGPj+OCSYW4fp
5p2YRRayHzj9DRhikZBXPlMcO3hD+r6TQ9G4VesisaTzyqVhCGNq0nxE2YZfH0So
9/eh2T86w6/ze2rPwAvoQIwrM8P3eJHJUXXXaUBv1ZPQqrCm0zBOpL8YCyaB4gXD
6LNJAFFNfF9BjQ1dahRqM/yyOpf6ecCFYILovXmymkot7WoR6rsCI48K1A1u8Zch
tmeEPhRLrzkTX6h3UFO/OfOwrRa/9FfA6+sOpT690Oez3ULuEGk7cYbk6bmB5Tui
bLwSO2yOR0Epf3Rh4UGaDdj7lQEurYnF81RTG/M2Aeth27MFy2gSvh6nVN3lkicU
H2Ohy+6hYa1bs3iHh8o0m+PfyxlJav/xLvZzFyMtNk5Ka+ANF/IVAVsVidmxgRDN
j0YTvI+sYzubvNCGS2vFFqz7CsNU5hL7azru4dcw86toLKO7W+nF81XGisd715v9
8fnMXjpSTBrJdQ5KOfP1uaLvWbZMVr/8v7Isr5nmhl4YMKekasJuqQ+6TRmgKO+6
a86EUkJc6gNbvsh2qfsIctzcfgsr3URtqI17/y05BTs+GUd4BFDZFEvARhLUI1Vq
BGShJNGoDEkFezvxh1SaOsjE1Dpvw8p/jy97rW4Xw4hVscYZRKM=
=4tDl
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Sep 22 09:59:39 2020
Return-Path: <rharwood@redhat.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E38383A09F4 for <kitten@ietfa.amsl.com>; Tue, 22 Sep 2020 09:59:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.794
X-Spam-Level: 
X-Spam-Status: No, score=-3.794 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.695, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wMPytuJRF84J for <kitten@ietfa.amsl.com>; Tue, 22 Sep 2020 09:59:36 -0700 (PDT)
Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2E7E23A09DB for <kitten@ietf.org>; Tue, 22 Sep 2020 09:59:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600793975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rYhn2k3qfZu+Fp2NJLJ7vljJRfUmXTjMp2wS8ubpvDo=; b=BpuTJWo2SuKmvBmv6ZDJiNW3F38h0mDvKAC+j/JqueCrxO0TLRGjQ+0Af3Vb8YgbLoH8fN OtWA2fG3G/KuH6nJ0vWv95+4XdTrb0H482/qoVXzu0xB3y7Oi3XjvQaHH/Z4fCebVX90KC lGMo8GyMlpjJqg5guKeUGYa1ga6XWnI=
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-574-sAf9sfdVPNqYCjOyHiRRww-1; Tue, 22 Sep 2020 12:59:32 -0400
X-MC-Unique: sAf9sfdVPNqYCjOyHiRRww-1
Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1C328801AB7; Tue, 22 Sep 2020 16:59:31 +0000 (UTC)
Received: from localhost (unknown [10.10.110.15]) by smtp.corp.redhat.com (Postfix) with ESMTP id D764A10023A5; Tue, 22 Sep 2020 16:59:30 +0000 (UTC)
From: Robbie Harwood <rharwood@redhat.com>
To: Jim Fenton <fenton@bluepopcorn.net>, kitten@ietf.org
Cc: draft-ietf-kitten-password-storage@ietf.org
In-Reply-To: <6dde1303-3d0c-6811-c201-00edbe5ab84e@bluepopcorn.net>
References: <6dde1303-3d0c-6811-c201-00edbe5ab84e@bluepopcorn.net>
Date: Tue, 22 Sep 2020 12:59:29 -0400
Message-ID: <jlgk0wleoi6.fsf@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=rharwood@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/YCGg7xdsZj5XFEsk-LopFGhYgUk>
Subject: Re: [kitten] Comments on draft-ietf-kitten-password-storage-00
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2020 16:59:38 -0000

--=-=-=
Content-Type: text/plain

Jim Fenton <fenton@bluepopcorn.net> writes:

> Hi,
>
> I'm not generally up to speed on the work of the kitten WG, but someone
> pointed out this draft and thought I'd be interested, and I am. Please
> bear that in mind if some of my suggestions conflict with GSS-API,
> Kerberos, etc. And I'm not familiar with the various SASL mechanisms so
> don't have any comments on them.

Hi Jim, thanks for taking a look.

Sam, have you had a chance to take a look at the review?

Thanks,
--Robbie

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEA5qc6hnelQjDaHWqJTL5F2qVpEIFAl9qLXIACgkQJTL5F2qV
pELI+hAAoDU/Q4+NaGSmqVBX7niWJvC/OoJxidoOkhW/9fhbXGg3/ebb+lUZTKj6
LyIwXCmWMf8ZPg2rsg7glzZN9VRAgj7KyAoS3tJdI2UrMIpUMV95VDSmVrhy1xdS
UMdLaEcD+ng8avBDIi/Bds66C0g6UY3qZaO6/OmoLaXXaQJX+ust6x/WpZtoXIRx
C9aOcj8bMWd10XHX44a9pYsJiVcKPxcWcf83Df1BAn22Ea7eCH7bKNbxC+Uji/u0
l0wa5g3K1fqqKkLe92/yKYuDwdkujkA5j+5ZDe5tqcypBR6isTv5g7Q3gOBedDiv
KE2hSs9mhXfcoGpGV5zru0sYtCuRNoZMw/2zCZ6ppRqPRFyLXwYmkNTNVdMW8hpo
WaSPjIiwUo7YsMTH7AdiFWm9QUIdgyzVq6TyXD3YLCARmpbOdK51BDhnZnD41mZi
DF7J5FoQpSPldfM+qvt88wMf5dWhfjgLXuUCh8y+lYfR/Q4axpqifygKcaoSTfJ6
TIkS77kOu4eTLpsBsNPRd1cYYDiac0P/COjLawRr6hIJeWE2Qf7ofSmMD13AMT8s
cVBe/yiQGALizpJslldel+BrEAZRMIpJ7IsaMTW5p+6wDb0EuViOM3oyVXwoFv0o
kFFD4o5kRs4eLrkCF8/ur4uHzQ9/A28TJsJD4SVzl9fkauMhVaI=
=n19+
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Thu Sep 24 10:36:59 2020
Return-Path: <sam@samwhited.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E89A3A124E for <kitten@ietfa.amsl.com>; Thu, 24 Sep 2020 10:36:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.12
X-Spam-Level: 
X-Spam-Status: No, score=-2.12 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=samwhited.com header.b=NXE/VGhS; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=YY4TB1cL
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EZ97DvUhIENy for <kitten@ietfa.amsl.com>; Thu, 24 Sep 2020 10:36:55 -0700 (PDT)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D76C23A11BC for <kitten@ietf.org>; Thu, 24 Sep 2020 10:36:47 -0700 (PDT)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 2C8175C01A2; Thu, 24 Sep 2020 13:36:47 -0400 (EDT)
Received: from imap34 ([10.202.2.84]) by compute7.internal (MEProxy); Thu, 24 Sep 2020 13:36:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samwhited.com; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type:content-transfer-encoding; s=fm1; bh=Ec5Q3 bhEuB/DBBqq2hs3XwMM1cZ1yL2MYbukK9DIhns=; b=NXE/VGhSkcBBIFt0fxvCa Qayx3jbMNvyuR6YkOVzWea9Tvkmq67Q+I4kwU3e7Y0qJ/e2s121jbslSmIhzEd2Z 7S9JXUDCxhosi61wZ+VIfWsCjIlb0fbsI4rOCqqJfUgC34iKy6ZygeDbSQYHuQrB TfCLVPQ26aIoQiuQhhQS4OmiQU97Gy3J8FLIkoUrzhVsuxZZJ8a6qHwE7ANOpHdO 6wtrBv15Ak9VaMoqy0PmUiYdbk7HAYf1fZg/oLbWeSUtAfEnYdkQs/jCwUyFirk4 egbmxrjaZlqGJhLl7Bi9ukGJZ3zHQ80a971gEn14kfya6cML7tSYjE2ThOYZXjYI Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Ec5Q3bhEuB/DBBqq2hs3XwMM1cZ1yL2MYbukK9DIh ns=; b=YY4TB1cLWlKEWozRJgCBrEkqnpsqE27hn8iGPMgmg1GgsZEgb0NV/MuSs UxwNdsFJeeUmvaJZqXpXs5M16bDo0hDRJ4XJV9b9M0PzTr2BmlrlGjpupKfQ+y7O u8PYcw7q/J/KdQSIXu4yRlU+ef0kHn04nYkl0KIQ+NQ5kcsne/fM1QepBL7OqfJj hFIMW1Zdg18vUGm0yW9oIW6cxRk+MmgWyMCJeYZywpQ4axr1o6dHIl0ce8GaJizs Ovs7BaRFlQfGquL2iJ3CnINClm9SKKv10h3KW0U7loUu1pjW26QbcJ8bygZdiH2Z MylHTr1/cBPgLTBDsq8qlnp2kIkqg==
X-ME-Sender: <xms:LtlsX-25RrU-v3SaTgiyT8SDpaD5kmwA9YI7i_3-BcrN8ydDbReh2g> <xme:LtlsXxE0mu6NAyFmuPX-IYYQHeVdHEUKLS9QkRuSvSqc7BQJgtQzs9N6I11eNsP28 7iuDifM7s5M7sbLNA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudekgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfufgr mhcuhghhihhtvggufdcuoehsrghmsehsrghmfihhihhtvggurdgtohhmqeenucggtffrrg htthgvrhhnpeehkeelkeeifeetfeejhfeukedukedtjeetueevteeigedtffffvefgfeei udeffeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhesshgrmhifhhhithgvugdrtgho mh
X-ME-Proxy: <xmx:LtlsX27Je9fpflgs4DAgY7fkld0JVqVn31JaKBsnr9du5kT1J2mIIg> <xmx:LtlsX_0D-VC2MCoP1lkuVLdYs4iW0U6VR4JCALFeTv6O3KMyyE9gqA> <xmx:LtlsXxHFG4PoFR4G5Cir-oLU2tV-bcFrbQfzw9KZJbggCnSkxBiYJA> <xmx:L9lsXwx4cA1jvjvJ2ZWQGYLVAq1_mCWWIWg3_iHJqmxfD3gBTTjTfQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id B19181460062; Thu, 24 Sep 2020 13:36:46 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-355-g3ece53b-fm-20200922.004-g3ece53b9
Mime-Version: 1.0
Message-Id: <b96fd5b4-d51c-47cb-aef4-db160f824938@www.fastmail.com>
In-Reply-To: <6dde1303-3d0c-6811-c201-00edbe5ab84e@bluepopcorn.net>
References: <6dde1303-3d0c-6811-c201-00edbe5ab84e@bluepopcorn.net>
Date: Thu, 24 Sep 2020 13:36:33 -0400
From: "Sam Whited" <sam@samwhited.com>
To: "Jim Fenton" <fenton@bluepopcorn.net>, "KITTEN Working Group" <kitten@ietf.org>
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/oHpwie0kGJCpJdO9qZ_xuelqIWg>
Subject: Re: [kitten] Comments on draft-ietf-kitten-password-storage-00
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2020 17:36:58 -0000

My apologies, I don't really follow this list so I missed this reply. I
do need to make an update since I've received other feedback off list,
so replies inline (TL;DR =E2=80=94 mostly I'm in agreement and will fix =
everything):

On Fri, Sep 4, 2020, at 20:53, Jim Fenton wrote:
> Since the term "salt" is so widely used in this document, it would be
> good to reference a specific definition, since RFC 4949, SP 800-132,
> and SP 800-63-3 all have different definitions.

I think the definitions these documents use are compatible and are
saying the same thing, but maybe it's worth pointing at a specific
definition for clarity.

> For "pepper", does "not unique" mean that there is one pepper value
> for the entire database that is stored separately? This would be OK if=

> the database is salted as well (need to de-duplicate cases where
> different users have the same password).

Yes, the pepper is used alongside the salt and resides outside the
database (eg. it may be baked into an application, or part of a config
file). I will attempt to clarify this.

> The end of paragraph 4 talks about providing a strong authenticator
> assurance level. In NIST SP 800-63B, authenticator assurance level is
> a categorization of authentication transactions (1-3), and single-
> factor authentication such as a password is only ever AAL1 regardless
> of how it's done. I suggest a different term be used here.

Good eye, I'll fix this. Thanks.

> Hashes that are unsuitable for use with authenticators such as SHA256:=

> Should explain what makes them unsuitable. I gather that's because
> SHA256 is too fast, especially with all the stuff developed for
> cryptocurrency mining. But really all hashes are too fast to be used
> alone; they need to be used iteratively or as part of a key derivation=

> function that is hopefully time- and memory-hard.

I am using my terminology loosely here, you're correct, I should be
saying "hashes are unsuitable, use a KDF" not "some hashes like PBKDF.2
are okay, but other hashes like SHA256 are not", which is not really
accurate enough for this document.

> Salts don't really need to be random; they just need to be unique, and=

> long enough to make it impractical to construct a rainbow table. "If
> it is stored": the salt, I assume? Please be specific.

I think recommending randomness is still probably a good idea, but this
is fair. Will update.

> The pepper value should be stored at arm's length from everything
> else, such as in an HSM or otherwise separate place (example:
> https://github.com/jimfenton/rehash ). Storing the pepper in an
> environment variable seems like a really bad idea to me.

I disagree that storing it in an environment variable is bad (though of
course a HSM would be ideal), the point of the pepper is to provide a
separate value that isn't stolen if eg. the attacker can steal the
database. Of course, if the attacker can steal the DB they *may* be able=

to enumerate environment variables as well, but then again they may not.=


> As I mentioned above, a minimum salt length of 16 bytes seems
> excessive. NIST SP 800-63B requires 32 bits. Similarly, 32 bytes for
> the pepper is more than is really needed; SP 800-63B calls for 112
> bits (but calls it a "salt" which is confusing).

I took these values from OWASP recommendations which are often more up
to date than the SP series, I'll make sure that's cited correctly.

> Paragraph 2, "iteration count" - some algorithms refer to this as a
> work factor so suggest "iteration count or work factor".

I'll make sure the definitions mention this (and are referenced on first=

use of the term).

> Replace blacklist with blocklist, denylist, or something else
> of course.

Good idea; will do.

> "(when paired with the same email or other uniquely identifying
> information)" - This would only result in denial of use of a password
> if it was used by the same account, when really we want to deny the
> use of things like passw0rd entirely. So just compare against the list=

> without identifying information (which you don't want to have anyway).=

> I'd leave out the part about commonly used patterns -- that leads down=

> a slippery slope to the complex composition rules we have today, when
> really we just want to make sure common passwords aren't used. So if
> "aaaaaaaa" is considered a common password, just put it on the
> blocklist.

Good idea; I've done pattern based stuff before for a company I worked
for, and it really does end up just being a mess for very little value
(I suspect).

Thanks for the feedback! I've recently started a new job so I'm not sure=

if/when I'll have time to update this document again, but I am saving
feedback and will attempt to prepare a future update at some point.


=E2=80=94Sam

