[jose] JOSE Hash-algorithm Identifiers?

Anders Rundgren <anders.rundgren.net@gmail.com> Wed, 09 December 2015 07:12 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C2DE1AD0B1 for <jose@ietfa.amsl.com>; Tue, 8 Dec 2015 23:12:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 q3urfx16nYyD for <jose@ietfa.amsl.com>; Tue, 8 Dec 2015 23:12:28 -0800 (PST)
Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 E6C2D1AD0AF for <jose@ietf.org>; Tue, 8 Dec 2015 23:12:27 -0800 (PST)
Received: by wmec201 with SMTP id c201so245208051wme.0 for <jose@ietf.org>; Tue, 08 Dec 2015 23:12:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=IY6xnku9yJqb+8h6i3YtHf1e/2W1UzzttZtkQo0H6JU=; b=lzhWt/6AK7Z8S+tOGHz+MUTVMUSRnPkhq8V3h0rTKaOCO91XxWiajCoEV+GucuGKmC ZSS4FKaOkIdNJ31EU9W7aStcOx/TOlvYw+Otkzhg3rX2j1OPYzOCTRsVFxrXI+9NCOKm PcKzafQ6Rv9zIBFaNwZzpk95YWDXuT5134IMTqJJGwZGX36ipvOsiJ7MNlyrQ62kePJG z2ehWLqQ8+5TBVbCB15Pp3mehVfOgsG1mTbb7ZSOP4n4g+YUC+ABjmoOVbQ/rBD84UeM /proj7SR/nz3P18dBEzp8kZKiR3K4u8m1sNA1XsMMUmm96tgGZNMCnOj95gdWEuTlQsS 0QPg==
X-Received: by 10.28.68.133 with SMTP id r127mr9456304wma.71.1449645146420; Tue, 08 Dec 2015 23:12:26 -0800 (PST)
Received: from [192.168.1.79] (247.199.130.77.rev.sfr.net. [77.130.199.247]) by smtp.googlemail.com with ESMTPSA id t2sm26229180wmt.1.2015.12.08.23.12.25 for <jose@ietf.org> (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Dec 2015 23:12:25 -0800 (PST)
To: "jose@ietf.org" <jose@ietf.org>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <5667D450.7090503@gmail.com>
Date: Wed, 09 Dec 2015 08:12:16 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/jose/nUCiTgD6VJYxw31KXH6euPu8qPc>
Subject: [jose] JOSE Hash-algorithm Identifiers?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 09 Dec 2015 07:12:29 -0000

The following extract from a recent ACME posting indicates that I'm not the only one who see use-cases for such:

It's not a bad idea to specify the agreement-integrity as a dictionary
instead so in that future case, there's not problem of checksum
negotiation:
"agreement-integrity": {"sha512":
"3Ys8QL9di54ggXIGBAS2RHr_W6cMurZPizhZihkQjwl3VG2dpXZYmsYZ0B7LG-tWlVE9-
Hwp9hL3Mosvbr6lCA"}

In my work I used the names S128, S256, and S512.

Anders