[jose] JWK-specific key fingerprints?

Daniel Holth <dholth@gmail.com> Tue, 12 February 2013 18:56 UTC

Return-Path: <dholth@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 A51B221F90BC for <jose@ietfa.amsl.com>; Tue, 12 Feb 2013 10:56:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level:
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 WLs4StjMxdN6 for <jose@ietfa.amsl.com>; Tue, 12 Feb 2013 10:56:40 -0800 (PST)
Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by ietfa.amsl.com (Postfix) with ESMTP id C65F421F90A0 for <jose@ietf.org>; Tue, 12 Feb 2013 10:56:39 -0800 (PST)
Received: by mail-wi0-f176.google.com with SMTP id hm14so4812899wib.9 for <jose@ietf.org>; Tue, 12 Feb 2013 10:56:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=12JAvtegDjxlwvgSJtqwK+mxFYuvjmk4U7vxHKpeOD0=; b=hTXW2ZacS7OqA8p/PiMeNhrxQT2L/vpxbegJZewPnUAadF5sJJK2NGC00f2sX/JRrN iFIzRVRktqS2998N54wOZ9ceNVSZfMSIM55NrwMV4aX792YQSdocfZTrvRabL7kSGke9 iG9i0gZw56+EU52puGRQbcfMK1NNB3zNmMJ6p+5IJGIq2MzOYWeKCf0d+UTl3gbJ0VaN roffCRRZi4CAKV15wqHbbSPRWVBUnx8pvMzsWEzOUg/ZCx7yRieV7q1dF1tOQjpnwY88 qtUDJNeoNtcKCCxtYzuJGdKI/4xqjY2JGAsUEPjv47rOsnBb5YmxQ33+kUP4hJEVSS1f Bl7w==
MIME-Version: 1.0
X-Received: by 10.180.104.10 with SMTP id ga10mr5316090wib.23.1360695385779; Tue, 12 Feb 2013 10:56:25 -0800 (PST)
Received: by 10.195.12.70 with HTTP; Tue, 12 Feb 2013 10:56:25 -0800 (PST)
Date: Tue, 12 Feb 2013 13:56:25 -0500
Message-ID: <CAG8k2+4xaAUBPs=Kw-=eBHZNyOMs6VYByPEb1jnAv1aGjLupng@mail.gmail.com>
From: Daniel Holth <dholth@gmail.com>
To: jose <jose@ietf.org>
Content-Type: multipart/alternative; boundary=f46d04374a091dec7304d58b95cc
Subject: [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 18:56:41 -0000

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.