Re: [jose] JWK-specific key fingerprints?

Stephen Farrell <stephen.farrell@cs.tcd.ie> Tue, 12 February 2013 19:09 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
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 2B4CE21F90E8 for <jose@ietfa.amsl.com>; Tue, 12 Feb 2013 11:09:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MzmceNNnafFc for <jose@ietfa.amsl.com>; Tue, 12 Feb 2013 11:09:57 -0800 (PST)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) by ietfa.amsl.com (Postfix) with ESMTP id 95C3D21F90E7 for <jose@ietf.org>; Tue, 12 Feb 2013 11:09:57 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id D3AD2BE20; Tue, 12 Feb 2013 19:09:35 +0000 (GMT)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F5yK5bYvXFqT; Tue, 12 Feb 2013 19:09:34 +0000 (GMT)
Received: from [10.87.48.11] (unknown [86.44.65.77]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id D68EDBDCA; Tue, 12 Feb 2013 19:09:34 +0000 (GMT)
Message-ID: <511A936E.3040705@cs.tcd.ie>
Date: Tue, 12 Feb 2013 19:09:34 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
MIME-Version: 1.0
To: Daniel Holth <dholth@gmail.com>
References: <CAG8k2+4xaAUBPs=Kw-=eBHZNyOMs6VYByPEb1jnAv1aGjLupng@mail.gmail.com>
In-Reply-To: <CAG8k2+4xaAUBPs=Kw-=eBHZNyOMs6VYByPEb1jnAv1aGjLupng@mail.gmail.com>
X-Enigmail-Version: 1.5
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: jose <jose@ietf.org>
Subject: Re: [jose] JWK-specific key fingerprints?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 12 Feb 2013 19:09:58 -0000

On 02/12/2013 06:56 PM, Daniel Holth wrote:
> Is there an interest here in defining a standard way to canonicalize and
> fingerprint (sha-256 hash) JWKs? You would take out the kid, encode the JWK
> with bencode or canonical json, and hash.

If you do that, please do it compatibly with e.g. DANE.

Or (self promotion:-) if it worked for you, you could
use [1] :-) which is in the RFC editor's queue.

S.

[1] http://tools.ietf.org/html/draft-farrell-decade-ni

> 
> 
> 
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>