[jose] W3C project proposal using stacked signatures

Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 26 November 2015 16:58 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 27A481B2C01 for <jose@ietfa.amsl.com>; Thu, 26 Nov 2015 08:58:35 -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 ejblRQYYc1Or for <jose@ietfa.amsl.com>; Thu, 26 Nov 2015 08:58:34 -0800 (PST)
Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 A1E311B2C00 for <jose@ietf.org>; Thu, 26 Nov 2015 08:58:33 -0800 (PST)
Received: by wmuu63 with SMTP id u63so28475899wmu.0 for <jose@ietf.org>; Thu, 26 Nov 2015 08:58:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=OmjGgaCc89BrZpntEQbbmgpJqLbYCS7gR6yQfITMudY=; b=I/yUhjKXT9OCZsrvRt9iRgYF2SGpiYVnTuhPrPiZbX/8Nrz6Yf2iya/vIyfMcIiieA iQ9QYz9kGOqogX3bqWy9YausEVIdRFHtx5KLx0rCXah4VOiK/qmlB6ujLmXxPeAV8xkA RrLlCPHHhZu1DR7cHAgv0azhgEawtPzHljkJ+YPSkTjJwrOK9Uy2VBl2T0av7VF5rm/Q YIi/WjSmUoAzz85+hxg1XqnsngEVfk8eR3L+h90PruA5DmdgdCKKYb/iIagBnXZtPV6d f8/yypWt7dmzlEJGh5AXHx2aVT+e393GgXzfFxSjKjGwzIcw6vqOoNQ07hrwq+oDmSSd muXQ==
X-Received: by 10.28.140.136 with SMTP id o130mr5016093wmd.78.1448557112251; Thu, 26 Nov 2015 08:58:32 -0800 (PST)
Received: from [192.168.1.79] (16.200.130.77.rev.sfr.net. [77.130.200.16]) by smtp.googlemail.com with ESMTPSA id cw3sm28773462wjb.26.2015.11.26.08.58.31 for <jose@ietf.org> (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Nov 2015 08:58:31 -0800 (PST)
From: Anders Rundgren <anders.rundgren.net@gmail.com>
To: "jose@ietf.org" <jose@ietf.org>
Message-ID: <56573A36.4030006@gmail.com>
Date: Thu, 26 Nov 2015 17:58:30 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.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/pV3c3dU-gBLGMMoSIbpuYGwCvBk>
Subject: [jose] W3C project proposal using stacked signatures
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: Thu, 26 Nov 2015 16:58:35 -0000

Disclaimer: I have not been involved in this in any way...
https://www.w3.org/Payments/IG/wiki/Main_Page/ProposalsQ42015/SCAI

Anyway, since the purpose is creating a single object eventually holding all contributions (like a multi-step block-chain), a scheme where signatures effectively hide the content doesn't appear to be the right solution.  Incompatibility with JSON schema and bigger size [1] compared to clear-text solutions may also prove to be a hurdle for JOSE for business messaging.

Personally I think it would be better creating a JOSE2 where the existing JOSE signature algorithms and [most of the] key-words are applied to an ES6-compatible [2] "in-object" JS/JSON signature solution.

- Anders

1] in a scheme using the depicted 6 envelopes the difference may easily be a factor 2.5 or more.

2] As implemented in Chrome, Firefox, and Safari.