Re: feedback on draft-ietf-httpbis-message-signatures-13
Anders Rundgren <anders.rundgren.net@gmail.com> Mon, 17 October 2022 16:30 UTC
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97DD4C1524BE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 17 Oct 2022 09:30:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.061
X-Spam-Level:
X-Spam-Status: No, score=-5.061 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21VnpgruPKo6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 17 Oct 2022 09:30:06 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F6EEC1524BC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 17 Oct 2022 09:30:05 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1okSxT-00FGUK-GB for ietf-http-wg-dist@listhub.w3.org; Mon, 17 Oct 2022 16:27:19 +0000
Resent-Date: Mon, 17 Oct 2022 16:27:19 +0000
Resent-Message-Id: <E1okSxT-00FGUK-GB@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <anders.rundgren.net@gmail.com>) id 1okSxS-00FGTM-Bt for ietf-http-wg@listhub.w3.org; Mon, 17 Oct 2022 16:27:18 +0000
Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <anders.rundgren.net@gmail.com>) id 1okSxQ-00EYQg-SF for ietf-http-wg@w3.org; Mon, 17 Oct 2022 16:27:18 +0000
Received: by mail-wm1-x32a.google.com with SMTP id iv17so8987511wmb.4 for <ietf-http-wg@w3.org>; Mon, 17 Oct 2022 09:27:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GgfEnbwFF6Npl088FtrzKvj3tmUjvBbFrD91H8S7rAQ=; b=Aii5X0xQlRQY//C87yIzTAxqtMEZ5dLuy5QKws/UvEE22M0IK4SZRRHTWvK0yBjIR7 JAsh55vGAxpDJjmMjmFjXAfDC+AaDBmDqZvhP5PksZUkM/Qjy9s1Wm+gASXUHjZti/DH 89z0XtAPTjcpt3qk27OjJqc85N7edJmsPxlV8DzvIAifgHr7BET6cQy30gRSVBSZ1bXb eo03CoPTcVRT9zxKXO/TMPPJM+l+vZtETqFucxSYSq9RBDbjFnDzaUQ0xpkKyYSnsGYc nRGGpfw1KbzVWdVzN+2stJCKoaf+ylYXLnaeNm4t+9PvPyJKys19TOTHj+EBmbRt/NVD qZLQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GgfEnbwFF6Npl088FtrzKvj3tmUjvBbFrD91H8S7rAQ=; b=gXqrnMHchJu24Pc5R0p6rmXhgscXYyXrFiSIMdsfD4haJXyyUG9ANcGDsY0AKZFC+v +jo1OpwZ8WYTmA5OcSRCU0sSuApCoTJM8CzgEoTBEr+f3V4QFKcHjEFzIvkwso0HvpB7 SeIaS26AuFLylXp29+2PGtfztyCewLUXvWCRxPsnVJapkP//CfbaYndD7HIdOHPCmycN eaPP8cJEQc9N3qCXBxT4Wu8rIKRfO/gHouhkIv1me/AU3LNh5/1DGmf/++DsPEr/rZZr bqCwpJf97sjSsXGnKYiXq+LqfV8I6iMj6x87DOhqO5xMfkCJvdo8BRUwXeBm1HMQylUt sEMg==
X-Gm-Message-State: ACrzQf1NQmyQIt7V4OxPNFQlnls+UQVyFM1Ff622OtuLEBAm0VW9Z/+j 4w3qaUj0Kpsg0u7vJ+BRCqEEWs0rkco=
X-Google-Smtp-Source: AMsMyM7JVHK/E6MT2cO8ZAQDI8naQY/F6T1aTLTxm7b5Y6ChVuASK/ONtVKIfgUbwIL+DkXrkP7c1w==
X-Received: by 2002:a05:600c:4611:b0:3c5:e3a3:942a with SMTP id m17-20020a05600c461100b003c5e3a3942amr20308413wmo.82.1666024025518; Mon, 17 Oct 2022 09:27:05 -0700 (PDT)
Received: from ?IPV6:2a01:e34:ec4e:5670:4c67:9df8:3c18:a7ca? ([2a01:e34:ec4e:5670:4c67:9df8:3c18:a7ca]) by smtp.googlemail.com with ESMTPSA id j12-20020a05600c190c00b003a601a1c2f7sm16421492wmq.19.2022.10.17.09.27.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Oct 2022 09:27:04 -0700 (PDT)
Message-ID: <1942525e-0ea6-7519-4dd6-c2a9af04415b@gmail.com>
Date: Mon, 17 Oct 2022 18:27:05 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3
Content-Language: en-US
To: Julian Reschke <julian.reschke@gmx.de>, ietf-http-wg@w3.org
References: <CAD9ie-uvOK_-JxDjtZrPXGqdHUSYFNdKsaGKp6jNNhZB5bVXuA@mail.gmail.com> <37363932-a747-8d28-0f6e-f3fedfcef7f4@gmail.com> <4e77390f-f5d0-18b1-23d6-8b254c87815f@gmx.de>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
In-Reply-To: <4e77390f-f5d0-18b1-23d6-8b254c87815f@gmx.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=anders.rundgren.net@gmail.com; helo=mail-wm1-x32a.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=anders.rundgren.net@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-6.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1okSxQ-00EYQg-SF b3e0d1ae172a6494c0d334b87fd67182
X-Original-To: ietf-http-wg@w3.org
Subject: Re: feedback on draft-ietf-httpbis-message-signatures-13
Archived-At: <https://www.w3.org/mid/1942525e-0ea6-7519-4dd6-c2a9af04415b@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40456
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
On 2022-10-17 13:59, Julian Reschke wrote: > On 17.10.2022 12:44, Anders Rundgren wrote: >> +1 >> >> Target URI and Method (as well as other data related to the message), >> may equally well be put in the payload. HTTP header signing is an >> unnecessary complication. >> ... > > Can you elaborate? You might have a media type that allows adding a > *copy* of that information, but that's not the same thing. Hi Julian, It is quite possible that I misunderstand what you write but I don't see a problem with having a copy of targetUri in the payload. An RP may (depending on proxying etc) compare this data with the HTTP header counterpart and fail if there is a mismatch. An additional advantage with this arrangement is that signed messages become serializable and thus can easily be stored in databases, embedded in other objects, etc. Regards, Anders See "recipientUrl" in: https://cyberphone.github.io/doc/saturn/bank2bank-payment.html#4 > > Best regards, Julian >
- feedback on draft-ietf-httpbis-message-signatures… Dick Hardt
- Re: feedback on draft-ietf-httpbis-message-signat… Anders Rundgren
- Re: feedback on draft-ietf-httpbis-message-signat… Julian Reschke
- Re: feedback on draft-ietf-httpbis-message-signat… Anders Rundgren
- Re: feedback on draft-ietf-httpbis-message-signat… Julian Reschke
- Re: feedback on draft-ietf-httpbis-message-signat… Anders Rundgren
- Re: feedback on draft-ietf-httpbis-message-signat… Backman, Annabelle
- Re: feedback on draft-ietf-httpbis-message-signat… Dick Hardt
- extension for feedback on draft-ietf-httpbis-mess… Henry Story
- CBOR versus HTTP Message Signature Anders Rundgren
- Re: CBOR versus HTTP Message Signature Justin Richer
- Re: CBOR versus HTTP Message Signature Anders Rundgren
- Re: CBOR versus HTTP Message Signature Justin Richer
- Re: CBOR versus HTTP Message Signature Anders Rundgren