Re: [Id-event] SAML subject identifier type

Atul Tulshibagwale <atultulshi@google.com> Mon, 13 July 2020 21:12 UTC

Return-Path: <atultulshi@google.com>
X-Original-To: id-event@ietfa.amsl.com
Delivered-To: id-event@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3C0D3A0D2E for <id-event@ietfa.amsl.com>; Mon, 13 Jul 2020 14:12:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 uNgOqmoJq_F4 for <id-event@ietfa.amsl.com>; Mon, 13 Jul 2020 14:12:46 -0700 (PDT)
Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E2A4F3A0B6B for <id-event@ietf.org>; Mon, 13 Jul 2020 14:12:26 -0700 (PDT)
Received: by mail-yb1-xb31.google.com with SMTP id a30so7129687ybj.5 for <id-event@ietf.org>; Mon, 13 Jul 2020 14:12:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Zdm+5gXetR5EXq1N0n0F0dfW1PbpgEFwW0iHvkmWGhM=; b=OuOlCuq2V+YTIsE8Sl6iF3UNARru1FqjJwIKC5ZI+Zo3SwKZFtmM8OYCGpppw9Elta nYDN+ITVR4H3wmdlNJECegxRAoCogSp4oWPezzZVQ+b2weXoljDfr0si5ZVYUELakjdl HUkxtPsqjR124SQk+o08AiRib+/tnhL5BuLPnTF6x+madcMFCXD+DMJlKUYVrlFKlI14 Bavscses9wTBH8SWhcK/CV9YzrODgxkARCDRVSXjh709YIpJsyHejKNJQB1CXo5XOGw8 BogcgfpUITDbznUl8r5qNrVZ8pbqHIiMYd72fN/3B6awVUwXUZDFgqDzPtdKwpVa+O4n NLRg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Zdm+5gXetR5EXq1N0n0F0dfW1PbpgEFwW0iHvkmWGhM=; b=BjkS5FbkSmRIRAH1ov1Y8+04RBEjIVPbjF98vgEuyNcMK22yWz/T3RJ7IwHH5SF/5/ PNSnzhYBsscruDJ+hHgg3Bj0azIKAX2OBo/Jl35n29GvbRQIb+RaJvwubc0rGRaDqUix +sBXb5CGYm0Wmua0NGt0tIzWlRFERto+tPXUJ/Ei97CliGLmGeLPdnUDaCK7dxcN0Af6 58SvT6GTvfoM/WYNo39KGWTe70Ym5cMyq8a9wPg0O3scHBFQPFBqE1Yt/4r/sCxOwhHJ gvENf/tZ9PiFLMCqU68URcFtaYlhm+n2UFLbAHDmd3TdxXT5Tz+y5BVwmhwoT6ScI942 JKtA==
X-Gm-Message-State: AOAM5305wNIuRSpUh/FuCwW5hSDh3o36hXf6JYcpHI5YBxBfzJkpOzrh XIL+9LQ/toSea3TpfvTqo4wbmw48JyyGO7bXuReSJaxS7fs=
X-Google-Smtp-Source: ABdhPJzYSjLnYYEPKNNPtYSPyveR64sTkqpFrwAkW6Qr0GOVinVj/q6/l5+gXPyf9efr9cW6kxOadUFMvjbi08zes+E=
X-Received: by 2002:a25:5ac5:: with SMTP id o188mr3288095ybb.322.1594674745787; Mon, 13 Jul 2020 14:12:25 -0700 (PDT)
MIME-Version: 1.0
References: <CAMCkG5thP1JnyBn5qAK0TLqBoa-y53Qnoq=mf-NPLfzSF2U7VQ@mail.gmail.com> <5B3455F1-9F82-40C5-BE22-2E3B715A0CF1@canarie.ca> <CAMCkG5uSQzTGCmFn6DLeXVbA0B0wrcPou8CEjtCQ5BCp3M+eOw@mail.gmail.com>
In-Reply-To: <CAMCkG5uSQzTGCmFn6DLeXVbA0B0wrcPou8CEjtCQ5BCp3M+eOw@mail.gmail.com>
From: Atul Tulshibagwale <atultulshi@google.com>
Date: Mon, 13 Jul 2020 14:12:14 -0700
Message-ID: <CAMCkG5uff+WwMRLDr+Lph-TagtwL5jWORg5ruvWLOxkNBM2s0A@mail.gmail.com>
To: Chris Phillips <Chris.Phillips@canarie.ca>
Cc: "id-event@ietf.org" <id-event@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c1bcd605aa5925c9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/id-event/K-xoYQncCOxcTQQ7gcpsJWCBkFU>
Subject: Re: [Id-event] SAML subject identifier type
X-BeenThere: id-event@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A mailing list to discuss the potential solution for a common identity event messaging format and distribution system." <id-event.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/id-event>, <mailto:id-event-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/id-event/>
List-Post: <mailto:id-event@ietf.org>
List-Help: <mailto:id-event-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/id-event>, <mailto:id-event-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jul 2020 21:12:54 -0000

Just clarifying the proposal as it stands today (before incorporating
Chris's input):
The following section should be added in the "Subject Identifier Types"
section:
4.9.  SAML Subject Identifier Type

   The SAML [SAML.REF] Subject Identifier Type describes a subject by
   the assertion identifier in the SAML assertion that was used to
   convey the subject's information to the Receiver.  Subject
   Identifiers of this type MUST contain an ` assertion_id"claim.  The
   value of this claim is a string that is equal to the Assertion
   Identifier in the SAML assertion.  The SAML Subject Identifier Type
   is identified by the name "saml`.

   Below is a non-normative example Subject Identifier for the SAML
   Subject Identifier Type:

   {
     "subject_type": "saml",
     "assertion_id": "_f551d88963ab4e3decb7cfe8f4dcc3f5",
   }

     Figure 8: Example: Subject Identifier for SAML Subject Identifier
                                   Type.


On Mon, Jul 13, 2020 at 1:22 PM Atul Tulshibagwale <atultulshi@google.com>
wrote:

> Hi Chris,
> I was proposing using the "assertion id" (SAML Core
> <http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf>
> spec, line 553) in the proposal, not the "subject-id" as defined in SAML
> (spec section 3.3). The main reason was to be able to refer to a session
> that was established using a specific assertion. If it's useful, we could
> perhaps extend the SAML subject identifier type in this spec to include
> either the assertion_id or the subject_id claim.
>
> Thanks,
> Atul
>
>
> On Mon, Jul 13, 2020 at 10:30 AM Chris Phillips <Chris.Phillips@canarie.ca>
> wrote:
>
>> Hi.
>>
>> Quiet lurker observing..
>>
>> Thanks for consider the SAML elements..
>>
>>
>>
>> Atul, are you referring to the actual session identifier that someone may
>> have where the Subject-Id was exchanged OR the actual Subject-id itself in
>> your reference in the proposal with the github link?
>>
>>
>>
>> I’m trying to square what I see on the git delta on line 294-296 in
>> https://github.com/richanna/secevent/pull/1/commits/b20b6692eb50628927476ca78f9be077ace88994
>>
>>
>>
>>
>>
>> And a Subject-id as shown in the example in 3.3.3 here:
>> https://docs.oasis-open.org/security/saml-subject-id-attr/v1.0/cs01/saml-subject-id-attr-v1.0-cs01.html#_Toc536097229
>>
>>
>>
>> What you offered in the example is not a Subject-id  per the OASIS SAML
>> spec as written in section 3.3.1
>>
>>
>>
>> Am I mis-interpreting something?
>>
>>
>>
>> C
>>
>>
>>
>>
>>
>> *From: *Id-event <id-event-bounces@ietf.org> on behalf of Atul
>> Tulshibagwale <atultulshi=40google.com@dmarc.ietf.org>
>> *Date: *Monday, July 13, 2020 at 12:17 PM
>> *To: *"id-event@ietf.org" <id-event@ietf.org>
>> *Subject: *[Id-event] SAML subject identifier type
>>
>>
>>
>> Hi all,
>>
>> Based on the discussions in the SSE working group within the OpenID
>> Foundation, we would like to propose that the subject identifier
>> specification include a SAML subject identifier type. This is so that
>> sessions established across peers using SAML may be identified in events
>> that include the subject identifier.
>>
>>
>>
>>  A SAML subject identifier has only one claim within it, the assertion id
>> of the SAML assertion used to establish the single sign-on session.
>>
>>
>>
>> This change is also included in my proposal here
>> <https://github.com/richanna/secevent/pull/1>.
>>
>>
>>
>> Thanks,
>>
>> Atul
>>
>>
>> _______________________________________________
>> Id-event mailing list
>> Id-event@ietf.org
>> https://www.ietf.org/mailman/listinfo/id-event
>>
>