Re: [OAUTH-WG] draft-fett-oauth-dpop-00

Ludwig Seitz <ludwig.seitz@ri.se> Wed, 03 April 2019 06:28 UTC

Return-Path: <ludwig.seitz@ri.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 E30E8120494 for <oauth@ietfa.amsl.com>; Tue, 2 Apr 2019 23:28:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=risecloud.onmicrosoft.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 pF-QJoO6PF_x for <oauth@ietfa.amsl.com>; Tue, 2 Apr 2019 23:28:31 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140085.outbound.protection.outlook.com [40.107.14.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4CF89120059 for <oauth@ietf.org>; Tue, 2 Apr 2019 23:28:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RISEcloud.onmicrosoft.com; s=selector1-ri-se; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3mRoYef7JiWiD8ZxwYkLtX0C0GbohNs2dH+JG55A/+k=; b=TnCCHrGiExfVgu9s5uDTtBwA484ULrCTW/7/4qetOccPOhOE+wg1WnC7eLRhCw2l3V2Zp6yYnPYpzcEY2I0g3Mn3J2m10jZEgkHsEJQDxGU3M3DtruuQrpLzMOuIo/WEYEhklqlQQ/zo+5hx3YZ0Nr9VMWX/cOiTD3nhNvlN8Nc=
Received: from VI1P189CA0031.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::44) by HE1P18901MB0106.EURP189.PROD.OUTLOOK.COM (2603:10a6:3:9b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.16; Wed, 3 Apr 2019 06:28:26 +0000
Received: from AM5EUR02FT056.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e1e::203) by VI1P189CA0031.outlook.office365.com (2603:10a6:802:2a::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.17 via Frontend Transport; Wed, 3 Apr 2019 06:28:25 +0000
Authentication-Results: spf=pass (sender IP is 194.218.146.197) smtp.mailfrom=ri.se; ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=bestguesspass action=none header.from=ri.se;
Received-SPF: Pass (protection.outlook.com: domain of ri.se designates 194.218.146.197 as permitted sender) receiver=protection.outlook.com; client-ip=194.218.146.197; helo=mail.ri.se;
Received: from mail.ri.se (194.218.146.197) by AM5EUR02FT056.mail.protection.outlook.com (10.152.9.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.1750.20 via Frontend Transport; Wed, 3 Apr 2019 06:28:25 +0000
Received: from [10.112.134.122] (10.100.0.158) by sp-mail-2.sp.se (10.100.0.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 3 Apr 2019 08:28:24 +0200
To: Brian Campbell <bcampbell@pingidentity.com>, Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>
CC: oauth <oauth@ietf.org>
References: <0a9af6f6-1b5d-244d-06af-9d14461b1d69@yes.com> <22f70452-ae33-17a8-317e-1efbfc44d508@ri.se> <BL0PR00MB0292CA3C921F1E21A3E96ED7F5590@BL0PR00MB0292.namprd00.prod.outlook.com> <CA+k3eCRsJ9UJS3uZy6nSBrJ2QX21RSW-z_SBBdK5g=6AEu1HkQ@mail.gmail.com>
From: Ludwig Seitz <ludwig.seitz@ri.se>
Message-ID: <4563969a-e4b9-2092-ea73-d3342db65e27@ri.se>
Date: Wed, 03 Apr 2019 08:28:11 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <CA+k3eCRsJ9UJS3uZy6nSBrJ2QX21RSW-z_SBBdK5g=6AEu1HkQ@mail.gmail.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms050609090508020504070504"
X-Originating-IP: [10.100.0.158]
X-ClientProxiedBy: sp-mail-2.sp.se (10.100.0.162) To sp-mail-2.sp.se (10.100.0.162)
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:194.218.146.197; IPV:NLI; CTRY:SE; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(346002)(136003)(39860400002)(376002)(2980300002)(189003)(199004)(11346002)(7736002)(64126003)(126002)(44832011)(106002)(58126008)(305945005)(93886005)(486006)(478600001)(31686004)(5660300002)(6666004)(966005)(16576012)(97736004)(110136005)(5024004)(14444005)(74482002)(6306002)(6246003)(16586007)(6116002)(235185007)(3846002)(69596002)(568964002)(68736007)(356004)(65806001)(53546011)(336012)(104016004)(53936002)(8936002)(186003)(26005)(5000100001)(2906002)(4326008)(16526019)(22746008)(81156014)(40036005)(229853002)(22756006)(476003)(386003)(2616005)(33964004)(86362001)(316002)(76176011)(106466001)(8676002)(31696002)(65826007)(65956001)(446003)(84326002)(77096007)(36756003)(81166006)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1P18901MB0106; H:mail.ri.se; FPR:; SPF:Pass; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1;
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 2b2e23c8-4343-4d95-ed16-08d6b7fd93c8
X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4709054)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:HE1P18901MB0106;
X-MS-TrafficTypeDiagnostic: HE1P18901MB0106:
X-Microsoft-Antispam-PRVS: <HE1P18901MB0106CF968EDD36CD7EF5440582570@HE1P18901MB0106.EURP189.PROD.OUTLOOK.COM>
X-Forefront-PRVS: 0996D1900D
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Message-Info: NlOJ2S09A235OgEosROGzq0S9+dXwiYVvAeNlMvxNs7zyEsVR9U7/m8fLDzkFTg0SnXQzBJRwB1q00X7wW0VkDyKxvoytgIDVW+bBV/6sgykweTQrvzWSmG6zqW/ufM7PrbtO+paZbfRgbYT6tbeA6UWcpXNZ357CvyQ44Y55TqXij4vHzseZfhxipZnBqUaoVW9GBOGTlmTb8Qa2NNwUzAYcv/6lHX0D4XwFc71H4vfJEz8SRUsJ8gILGmnBw549pRj0RydEJfgFEH9/LlLK1W72nhLJFU1Ar3Daw9thhg2hz9GQ7epkglHUue8ZUCMLr4K7fxgc83gbRcK2WaEJbm2/CmTcM0jZwlrtULv5wQhLmrAppgwRLK6fSRmltuU1fqsdh/Me0l4chtrwidfpyeo9hntUPsNQcDqmkfqpaU=
X-OriginatorOrg: ri.se
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2019 06:28:25.2370 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 2b2e23c8-4343-4d95-ed16-08d6b7fd93c8
X-MS-Exchange-CrossTenant-Id: 5a9809cf-0bcb-413a-838a-09ecc40cc9e8
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5a9809cf-0bcb-413a-838a-09ecc40cc9e8; Ip=[194.218.146.197]; Helo=[mail.ri.se]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1P18901MB0106
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/LKtMukFLF87wKkG21-OgMIrYgLU>
Subject: Re: [OAUTH-WG] draft-fett-oauth-dpop-00
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 03 Apr 2019 06:28:35 -0000

On 02/04/2019 17:35, Brian Campbell wrote:
> Except that the jwk header is more appropriate in the given context 
> https://tools.ietf.org/html/rfc7515#section-4.1.3 - it is the public key 
> that corresponds to the key used to digitally sign the JWS.  Which is 
> what it is.
> 
> 

>     A quick nit:
> 
>     in figure 3 you seem to be using the "jwk" claim to include the
>     pop-key in the token. Any reason for not using the "cnf" claim from
>     RFC 7800?
> 
>     /Ludwig
> 

My bad, figure 3 is not a token (although it looks like one) it's the 
token request (encapsulated in a JWS).

/Ludwig

-- 
Ludwig Seitz, PhD
Security Lab, RISE
Phone +46(0)70-349 92 51