Re: [stir] "rcdi" vs MIME Content-Encoding

Orie Steele <orie@transmute.industries> Tue, 02 April 2024 23:13 UTC

Return-Path: <orie@transmute.industries>
X-Original-To: stir@ietfa.amsl.com
Delivered-To: stir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6B46C14E513 for <stir@ietfa.amsl.com>; Tue, 2 Apr 2024 16:13:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.085
X-Spam-Level:
X-Spam-Status: No, score=-2.085 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_MIME_MALF=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=transmute.industries
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 f8DO_O2Y-2H1 for <stir@ietfa.amsl.com>; Tue, 2 Apr 2024 16:13:41 -0700 (PDT)
Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 17CE8C14CEF9 for <stir@ietf.org>; Tue, 2 Apr 2024 16:12:57 -0700 (PDT)
Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-2a209b8af12so3941344a91.3 for <stir@ietf.org>; Tue, 02 Apr 2024 16:12:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=transmute.industries; s=google; t=1712099576; x=1712704376; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FJNJXcNkWtdY/GETAPOkkcUdQYE8cSvuPR1K+Akx4js=; b=O/BhNvH8BzVVhtnV8fgdipb8D5HrHMfcQMfRNwRMSO4iLfhXbrr5y5kp/pGaw+e7rL 5EA4X8+gBGe2xbQua0X1DpKFW9mr9V9EHNDoDPPF0oaAATbyQkKwLvVp9UCe5PVW1vKQ znVlF3twIeIuHBdYPC847wfWBHLLwyrhyDVa8xhew/CjWGca1L9SRKANffhyLvlEXHkZ epTH8MQyJD4xhZubxj0xVRll4oZTfE5BPSTsQGYD8p7doBwCX1/+zJJ9m6rGsHJuVxIe /mGAAG3Yk7LiDk6kcE7VInorx9S1QOru+SoVMs3gUEJXZj4uQtO5D6ixuZOgqZtsrBKX fw8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712099576; x=1712704376; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FJNJXcNkWtdY/GETAPOkkcUdQYE8cSvuPR1K+Akx4js=; b=q/5MOxw2kLVppBqbntvTdjVkUj1SPagDsmxXaUwRPHrcqfLv1Zg9vKnp38F1MgrcWY 5UgN84ggvXs+MYtqk8QYhAdf6BmwC1IaoBcsxKSiQazuH1EeXaGc+OGrpWi7o6ZikxnZ uhWIfFdliYlbDcr7FJR+b5JmjkbH6x2b1Jx06qr0HjI98mm3dIP2QLFXzm5dH4r1dycK gRCfkv6OCExx4ZLyN9DFUlRW5btWPZafa3uSJZ0idDViPT4NBa1hoI/mrCxqW0K5rLrx RJRMOlpFYdG6P3mVf1+KvP5ZMAvzbFxIStUoqbIRzLcicR91iW5CeIjAlbudZ35N6MqA rpcw==
X-Forwarded-Encrypted: i=1; AJvYcCUGpqIK/MAZq2ltRKm5f0bMjXIRCd+oT0Tts6tQongADTTOGamtDXMLkM2ghzBFihuE6unNLdtf8OtjChM1
X-Gm-Message-State: AOJu0YxZOU9sOh9dHuSzp0taRektGDY6BznRz0WJP156irLYZClEqI5C KkVp+O1EKR0/h4jqwGzdp5ffiDigVCfTUcDlTUPMPrsDSrmUckJ1AMa8AUiTXUt6Mqhp+i8WAh4 oXOee09xw2e8YDH9TNaZqbOBXMRAqFnji2Ku6nQ==
X-Google-Smtp-Source: AGHT+IHxa/QaZxzrK6YU1donLRpEW2E3D8MRbRivKD8iFWu87pyu5X2rxjvWT8ubxvK6YR6uaPri93TCOOlC2TuiXG0=
X-Received: by 2002:a17:90a:71c2:b0:29b:f2b1:6973 with SMTP id m2-20020a17090a71c200b0029bf2b16973mr12876613pjs.20.1712099576158; Tue, 02 Apr 2024 16:12:56 -0700 (PDT)
MIME-Version: 1.0
References: <E7B3FBBB-672B-4CC2-AB32-B13C7759D861@nostrum.com> <SJ2PR11MB84027F8DE9935943D8652002993F2@SJ2PR11MB8402.namprd11.prod.outlook.com> <A158B773-4100-4AB6-BB67-EB369303266F@nostrum.com> <SJ2PR11MB84028DB1EC1A6B11F1E0CEC6993F2@SJ2PR11MB8402.namprd11.prod.outlook.com>
In-Reply-To: <SJ2PR11MB84028DB1EC1A6B11F1E0CEC6993F2@SJ2PR11MB8402.namprd11.prod.outlook.com>
From: Orie Steele <orie@transmute.industries>
Date: Tue, 02 Apr 2024 18:12:44 -0500
Message-ID: <CAN8C-_Lnfrw3Sk0pY3oE--kP1BLbYynBOMAVT=WWxK3gVD9yGw@mail.gmail.com>
To: Alec Fenichel <alec.fenichel=40transnexus.com@dmarc.ietf.org>
Cc: Ben Campbell <ben@nostrum.com>, IETF STIR Mail List <stir@ietf.org>, "Peterson, Jon" <jon.peterson@transunion.com>, Chris Wendt <cwendt@somos.com>
Content-Type: multipart/alternative; boundary="0000000000000eb6aa0615253fca"
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/j0iqL_r3ePgaEmivAX9Pbn7s_Ug>
Subject: Re: [stir] "rcdi" vs MIME Content-Encoding
X-BeenThere: stir@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Secure Telephone Identity Revisited <stir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stir>, <mailto:stir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/stir/>
List-Post: <mailto:stir@ietf.org>
List-Help: <mailto:stir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stir>, <mailto:stir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Apr 2024 23:13:45 -0000

Is this reference helpful?

https://datatracker.ietf.org/doc/html/rfc9399#section-7

If you believe you have a use case for multiple suffixes, like this
example, I would like to understand it.

Regards,

OS

On Mon, Apr 1, 2024, 4:17 PM Alec Fenichel <alec.fenichel=
40transnexus.com@dmarc.ietf.org> wrote:

> Ben,
>
>
>
> I had not thought about this until you sent this email and this is an
> important point, so I think it should be clarified.
>
>
>
> Sincerely,
>
>
>
> Alec Fenichel
>
> Chief Technology Officer
>
> TransNexus <https://transnexus.com/>
>
> alec.fenichel@transnexus.com
>
> +1 (404) 369-2407 <+14043692407>
>
>
>
> *From: *Ben Campbell <ben@nostrum.com>
> *Date: *Monday, April 1, 2024 at 17:09
> *To: *Alec Fenichel <alec.fenichel@transnexus.com>
> *Cc: *IETF STIR Mail List <stir@ietf.org>, Peterson, Jon <
> jon.peterson@transunion.com>, Chris Wendt <cwendt@somos.com>
> *Subject: *Re: [stir] "rcdi" vs MIME Content-Encoding
>
> Yeah, I was just thinking that after sending the question.
>
>
>
> Does draft-ietf-stir-passport-rcd need to say something about
> Content-Encoding? Or is that sufficiently understood by everyone (other
> than myself)?
>
>
>
>
>
> On Apr 1, 2024, at 3:29 PM, Alec Fenichel <alec.fenichel@transnexus.com>
> wrote:
>
>
>
> It needs to be the decoded data. At the time the rcdi is sent, the content
> encoding is not necessarily known. A web server may support multiple
> content encodings and return the best encoding supported by the client
> (indicated by the Accept-Encoding header).
>
>
>
> Sincerely,
>
>
>
> Alec Fenichel
>
> Chief Technology Officer
>
> TransNexus <https://transnexus.com/>
>
> alec.fenichel@transnexus.com
>
> +1 (404) 369-2407 <+14043692407>
>
>
>
> *From: *stir <stir-bounces@ietf.org> on behalf of Ben Campbell <
> ben@nostrum.com>
> *Date: *Monday, April 1, 2024 at 16:21
> *To: *IETF STIR Mail List <stir@ietf.org>
> *Cc: *Peterson, Jon <jon.peterson@transunion.com>, Chris Wendt <
> cwendt@somos.com>
> *Subject: *[stir] "rcdi" vs MIME Content-Encoding
>
> Hi,
>
>
>
> In thinking about the “rcdi” hashes and  RCD “icn” keys:
>
>
>
> What if the target has Content-Encoding? Would the “rcdi” hash be over the
> raw or decoded data?
>
>
>
> For example, lets say that I get the following headers when dereferencing
> the “icn” key:
>
>
>
> Content-Type: image/svg+xml
>
> Content-Encoding: gzip
>
>
>
> Should the “rcdi” hash be over the compressed or uncompressed version of
> the data? I assume since draft-ietf-stir-passport-rcd-26 does not mention
> content-encoding, that the hash would be over the actual octets we get back
> on the wire prior to decoding.
>
>
>
> But I see that RFC 9399 (Certificate Logotypes), which seems like a
> similar-if-not-identical application, says the opposite for this specific
> example:
>
>
>
> Whether the SVG image is GZIP-compressed or uncompressed, the hash value
> for the SVG image is calculated over the uncompressed SVG content with
> canonicalized EOL characters, as specified above.
>
>
>
> Thoughts?
>
>
>
> Thanks!
>
>
>
> Ben.
>
>
> _______________________________________________
> stir mailing list
> stir@ietf.org
> https://www.ietf.org/mailman/listinfo/stir
>