Re: [OAUTH-WG] New Version Notification for draft-lodderstedt-oauth-jwt-introspection-response-00.txt

Samuel Erdtman <samuel@erdtman.se> Mon, 19 March 2018 11:41 UTC

Return-Path: <samuel@erdtman.se>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D0E2912E036 for <oauth@ietfa.amsl.com>; Mon, 19 Mar 2018 04:41:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=erdtman-se.20150623.gappssmtp.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 GjDbaA4jcAML for <oauth@ietfa.amsl.com>; Mon, 19 Mar 2018 04:41:01 -0700 (PDT)
Received: from mail-pg0-x235.google.com (mail-pg0-x235.google.com [IPv6:2607:f8b0:400e:c05::235]) (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 43BDB12D870 for <oauth@ietf.org>; Mon, 19 Mar 2018 04:41:01 -0700 (PDT)
Received: by mail-pg0-x235.google.com with SMTP id g12so6789470pgs.0 for <oauth@ietf.org>; Mon, 19 Mar 2018 04:41:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=erdtman-se.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yt1vn0LNSFp8kgKPJrMfOzwvFlvQvrFpYICGHdYMnv0=; b=mcw5pcemGAik6aduJ0Ae0riqd7HGgvkmoeDgeLecDMrF0d/V9RZ3/Zy3q8ppa49F2U RJwx5csRoe5qKlExXKO/BJAtZpfcpufiC5TWxNnGnthw8Ebzdefmv2rsv1wh+LgeZQkz HdcWBW9gxA7O2hS7RyIbw+J88baffACtsjnbDmpdg4Ow2pjNS4xz+Gnw6UuB4786CKXs pTn/XigRsd0Y3hAIZh8HTSEz9xbgeZfxlvTqEZRFFRhOrb7qHCsGGrk2gjWoiqUtbp6B NFPDOTJ4AYIswsZ+H3+x5d6Q7PMxblskUZ3twy2S5+vNORFVktQo5IhIk6Q4EP/kp7qv revQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yt1vn0LNSFp8kgKPJrMfOzwvFlvQvrFpYICGHdYMnv0=; b=EGtsQ4Mt+2v1DOmVU1GjB8OTacYKwvfSAu/XfCOHPWHubN3Zm+H/PD8uhyPH3quPrH JERpdq0eRv+fmV/Q4BQluTDrNwgt+EQaXQLBQpJHtumNmA3yt62C4TXwz6haaM/hCggk YDbYxOqPU+o0NfVO3HgHiWL8VW2AEi0sJhnNvd04SbEjFqfZUgI67Wy11RPGSzPisrsi 79xz9T028MUIJI9PQxQZb1dtHPIkJojH3WxXXoZ20sygNbnWQIVEINdESgo5Ny+MjELo LtK4z6FhiZgS24c7muUh63DxMhZM0d3lycDmnuqF8lZ+2uUVzuRYEfgVHZRnGPvVzL1F bj5Q==
X-Gm-Message-State: AElRT7Gm4zd32xNupk1hX8pO11HqpDhGKg8EatDFEj36kuNlGeSXcoX6 CUzO7VNiGJ7QoMfgoBthkMcAbpNg5HBsK+o8Wq5yUA==
X-Google-Smtp-Source: AG47ELvpfhmhgsLWcVVVkt9IizHCXkxapzKU9Uey03sCfjw7T5AoW2oGjROVOO743QtZ0LDMmMG+zzMH7mKhvfPhRYg=
X-Received: by 10.99.155.2 with SMTP id r2mr2931129pgd.450.1521459660668; Mon, 19 Mar 2018 04:41:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.236.141.24 with HTTP; Mon, 19 Mar 2018 04:41:00 -0700 (PDT)
In-Reply-To: <84E8CEAD-98D3-48D2-AC48-0899BAC4419C@oracle.com>
References: <152140077785.15835.11388192447917251931.idtracker@ietfa.amsl.com> <2A1E98B8-973E-44F0-96F0-E319FD6969A8@lodderstedt.net> <308c1c61-a2ba-4e45-9fe6-9d525e554fb7@getmailbird.com> <DB5PR03MB1191DFA3BACC2806E2C07899F6D40@DB5PR03MB1191.eurprd03.prod.outlook.com> <85274C99-A8AA-452C-B8BC-46E7869642EB@oracle.com> <D5EA9141-08A3-427A-A4E7-A69DD5138327@lodderstedt.net> <84E8CEAD-98D3-48D2-AC48-0899BAC4419C@oracle.com>
From: Samuel Erdtman <samuel@erdtman.se>
Date: Mon, 19 Mar 2018 12:41:00 +0100
Message-ID: <CAF2hCbaKkR0mQR8Qo9hWEqC+J26QovED=P+iLHNF8j74FQ2gFg@mail.gmail.com>
To: Phil Hunt <phil.hunt@oracle.com>
Cc: Torsten Lodderstedt <torsten@lodderstedt.net>, "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="f403045e3bd09d59290567c26eaa"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/3gUL1TRguKWfTRSBEHSJ5Vz4ItU>
Subject: Re: [OAUTH-WG] New Version Notification for draft-lodderstedt-oauth-jwt-introspection-response-00.txt
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Mar 2018 11:41:05 -0000

Hi,

Adding an additional proposal to the table. Mike Jones, Anders Rundgren and
I have created a version of JWS there the signed JSON data does not have to
be Base64url encoded (the JSON is signed using ES6 serialization rules).
One of the benefits to this approach would be that the introspection data
is transferred in cleartext while still fully protected. Since it is
transferred in the response body and not in a URL there is no need for the
Base64url encoding.

The draft can be fond here
https://tools.ietf.org/html/draft-erdtman-jose-cleartext-jws-00

And the example from your draft would look like this (the signature is not
valid, I just copied it from another place)
{
  "sub": "Z5O3upPC88QrAjx00dis",
  "aud": "https://protected.example.net/resource",
  "extension_field": "twenty-seven",
  "scope": "read write dolphin",
  "iss": "https://server.example.com/",
  "active": true,
  "exp": 1419356238,
  "iat": 1419350238,
  "client_id": "l238j323ds-23ij4",
  "username": "jdoe"
  "__cleartext_signature": {
    "alg": "ES256",
    "kid": "example.com:p256",
    "signature": "pXP0GFHms0SntctNk1G1pHZfccVYdZkmAJktY_hpMsI
                  AckzX7wZJIJNlsBzmJ1_7LmKATiW-YHHZjsYdT96JZw"
  }
}




On Mon, Mar 19, 2018 at 11:22 AM, Phil Hunt <phil.hunt@oracle.com> wrote:

> +1.  This is what I expected.
>
> Phil
>
> Oracle Corporation, Identity Cloud Services Architect
> @independentid
> www.independentid.com
> phil.hunt@oracle.com
>
> On Mar 19, 2018, at 10:16 AM, Torsten Lodderstedt <torsten@lodderstedt.net>
> wrote:
>
> We explicitly want the token (JSON object) to be signed not the HTTP
> response. I think using JWS is the most generic way to achieve that goal.
>
> Am 19.03.2018 um 09:57 schrieb Phil Hunt <phil.hunt@oracle.com>:
>
> This draft has similar issues to https://tools.ietf.org/
> html/draft-richer-oauth-signed-http-request-01
>
> Rather than *try* sign HTTP, a signed JWT object is more reliably returned.
>
> Phil
>
>
> On Mar 19, 2018, at 8:25 AM, LARMIGNAT Louis <
> Louis.LARMIGNAT@wavestone.com> wrote:
>
> Hi,
>
> The draft *Signing HTTP Messages** (https://tools.ietf.org/html/draft-cavage-http-signatures-09
> <https://tools.ietf.org/html/draft-cavage-http-signatures-09>)* could not
> meet this requirement in a more generic way ?
>
> Regards,
> Louis
>
> *De :* OAuth <oauth-bounces@ietf.org> *De la part de* Brock Allen
> *Envoyé :* dimanche 18 mars 2018 20:40
> *À :* Torsten Lodderstedt <torsten@lodderstedt.net>; oauth@ietf.org
> *Objet :* Re: [OAUTH-WG] Fwd: New Version Notification for
> draft-lodderstedt-oauth-jwt-introspection-response-00.txt
>
> Why is TLS to the intospection endpoint not sufficient? Are you thinking
> there needs to be some multi-tenancy support of some kind?
>
> -Brock
>
>
> On 3/18/2018 3:33:16 PM, Torsten Lodderstedt <torsten@lodderstedt.net>
> wrote:
> Hi all,
>
> I just submitted a new draft that Vladimir Dzhuvinov and I have written.
> It proposes a JWT-based response type for Token Introspection. The
> objective is to provide resource servers with signed tokens in case they
> need cryptographic evidence that the AS created the token (e.g. for
> liability).
>
> I will present the new draft in the session on Wednesday.
>
> kind regards,
> Torsten.
>
>
> Anfang der weitergeleiteten Nachricht:
>
> *Von: *internet-drafts@ietf.org
> *Betreff: New Version Notification for
> draft-lodderstedt-oauth-jwt-introspection-response-00.txt*
> *Datum: *18. März 2018 um 20:19:37 MEZ
> *An: *"Vladimir Dzhuvinov" <vladimir@connect2id.com>, "Torsten
> Lodderstedt" <torsten@lodderstedt.net>
>
>
>
> A new version of I-D, draft-lodderstedt-oauth-jwt-
> introspection-response-00.txt
> has been successfully submitted by Torsten Lodderstedt and posted to the
> IETF repository.
>
> Name:           draft-lodderstedt-oauth-jwt-introspection-response
> Revision: 00
> Title:          JWT Response for OAuth Token Introspection
> Document date:  2018-03-15
> Group:          Individual Submission
> Pages:          5
> URL:            https://www.ietf.org/internet-drafts/draft-
> lodderstedt-oauth-jwt-introspection-response-00.txt
> Status:         https://datatracker.ietf.org/doc/draft-
> lodderstedt-oauth-jwt-introspection-response/
> Htmlized:       https://tools.ietf.org/html/draft-lodderstedt-oauth-
> jwt-introspection-response-00
> Htmlized:       https://datatracker.ietf.org/doc/html/draft-
> lodderstedt-oauth-jwt-introspection-response
> <https://datatracker..ietf.org/doc/html/draft-lodderstedt-oauth-jwt-introspection-response>
>
>
> Abstract:
>   This draft proposes an additional JSON Web Token (JWT) based response
>   for OAuth 2.0 Token Introspection.
>
>
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> The IETF Secretariat
>
>
>
> The information transmitted in the present email including the attachment
> is intended only for the person to whom or entity to which it is addressed
> and may contain confidential and/or privileged material. Any review,
> retransmission, dissemination or other use of, or taking of any action in
> reliance upon this information by persons or entities other than the
> intended recipient is prohibited. If you received this in error, please
> contact the sender and delete all copies of the material.
>
> Ce message et toutes les pièces qui y sont éventuellement jointes sont
> confidentiels et transmis à l'intention exclusive de son destinataire.
> Toute modification, édition, utilisation ou diffusion par toute personne ou
> entité autre que le destinataire est interdite. Si vous avez reçu ce
> message par erreur, nous vous remercions de nous en informer immédiatement
> et de le supprimer ainsi que les pièces qui y sont éventuellement jointes.
>  _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
>
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
>