[jose] Use case for "jku" in JWS

Anders Rundgren <anders.rundgren.net@gmail.com> Mon, 08 May 2017 17:45 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0050D128768 for <jose@ietfa.amsl.com>; Mon, 8 May 2017 10:45:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 aIi7sO9Aivws for <jose@ietfa.amsl.com>; Mon, 8 May 2017 10:45:12 -0700 (PDT)
Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 1A02B126C23 for <jose@ietf.org>; Mon, 8 May 2017 10:45:12 -0700 (PDT)
Received: by mail-wm0-x22c.google.com with SMTP id b84so63360787wmh.0 for <jose@ietf.org>; Mon, 08 May 2017 10:45:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=nhdXnelKMN05y9jgEhT0cYPSHR+bee1//Bdv+TBhGeA=; b=vFzn34xWK/hfzuZFeAiPQ+x9gkmn4DXoPtxK6CzTmdLrEdH+TAvINJfnVuzo3OmUga eHUT/1Q1esuEKR7ChVQzjCIRth8lE6fgkLpW7Q/5Zx5aXOXgEQZVpGl7A2OFjxieGXZx necMfOiZMqtRxETuWPVPHpEsdVYGmgGdCzzCbE71sAIW4CnzflvbdgCTcnMlH+VNK5tJ l/FWf73+0UifWpntA+4Q8qJe7aMWB74/PPR1fa1kInaDZaZjn/mb9czumpKEQQc93BCB ohFm/nkOmJmE+QxCQ8kYLKC1v5qDDI7ZjfhXkYEmCuHb6fz+q7pBVDnf93iVlFyhKQc5 pUXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=nhdXnelKMN05y9jgEhT0cYPSHR+bee1//Bdv+TBhGeA=; b=FWJKubqal/EAis/qOccK2NK/qxHVFjQ3NAFUWLfJTBis0ndMf/L6hzBuOMg8DXCzSv tfP78yxTvY+uTGcE6mt8c/O9VtUXHrMqNktj+JwMxYndMU0j6pYswRkFjdG8mb90FozK vyiFcYiX5sQvdPHFZtJ54mJo0K0VZlXduy0bCvzmpm0HiQnIz0HYbl9M6FYqoYZ6CpQr lASLxMrfDL+EMEwSFOPQLOxdi/p5WOnnEFdrJs0D2x1m2NE+NgPIKv9CUSsD5e4lMewg tkpCgb0hPseh/bY4s3V+/g0/oT6TOdqDR5AJn82LHRNtsZUQchoa0FWTx0h7NP1//duj RN8A==
X-Gm-Message-State: AN3rC/7v1YmuV+ai0MV8a9Ezpicm3TOtOviboyFvtHO07IaOI2QVQFuv t/CPiWigO66PhNQT
X-Received: by 10.28.9.20 with SMTP id 20mr13135187wmj.44.1494265510504; Mon, 08 May 2017 10:45:10 -0700 (PDT)
Received: from [192.168.1.79] (124.25.176.95.rev.sfr.net. [95.176.25.124]) by smtp.googlemail.com with ESMTPSA id x29sm13852923wma.29.2017.05.08.10.45.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 May 2017 10:45:10 -0700 (PDT)
From: Anders Rundgren <anders.rundgren.net@gmail.com>
To: "jose@ietf.org" <jose@ietf.org>
References: <ea29facd-1c27-5ace-0137-282cf30f6230@gmail.com>
Message-ID: <915f610a-8543-fd33-9501-8cc4ba1cb50e@gmail.com>
Date: Mon, 08 May 2017 19:45:07 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <ea29facd-1c27-5ace-0137-282cf30f6230@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/9qbIWTToFQbuwbAabvdNhangbnU>
Subject: [jose] Use case for "jku" in JWS
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 May 2017 17:45:14 -0000

https://tools.ietf.org/html/rfc7515#section-4.1.2

I had planned to implement support for URL-based keys in my JCS specification
to make it even more compatible with JOSE.  However, I haven't done that yet,
and now I'm beginning to actually questioning the value of this concept.

If somebody could provide a compelling real-world use case I would be more than happy!

In the meantime I have toyed with another scheme combining URLs and in-line (JWK)
public key descriptors, coined "Authority Objects".  The core features include:
- Signed objects can always be verified for [technical] correctness including off-line
- Arbitrary extensive issuer information and its associated keys are kept in a consolidated
    document (which in turn may have been signed by another "governing" party)
- Intrinsic revocation support

Actual example (if the server is up and running...): https://mobilepki.org/webpay-acquirer/
Concept specification: https://cyberphone.github.io/doc/defensive-publications/authority-objects.pdf

Comments?

Anders