Re: [Cellar] shepherd review of Matroska: part 1

Michael Richardson <mcr+ietf@sandelman.ca> Wed, 06 July 2022 17:59 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 09667C15A745 for <cellar@ietfa.amsl.com>; Wed, 6 Jul 2022 10:59:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.706
X-Spam-Level:
X-Spam-Status: No, score=-6.706 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, 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=neutral reason="invalid (public key: not available)" header.d=sandelman.ca
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 I4crM-VCuHnD for <cellar@ietfa.amsl.com>; Wed, 6 Jul 2022 10:59:05 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DED6EC15A742 for <cellar@ietf.org>; Wed, 6 Jul 2022 10:59:04 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 9F2DC39A30; Wed, 6 Jul 2022 14:16:07 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id T7I7UdnyPmfS; Wed, 6 Jul 2022 14:16:06 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 77C5839A2C; Wed, 6 Jul 2022 14:16:06 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sandelman.ca; s=mail; t=1657131366; bh=n4oaphR+rrcS+opww3BImWp0qMDt09VH/aOkLx8OKQw=; h=From:To:cc:Subject:In-Reply-To:References:Date:From; b=PG/Pjd2VlLfs0hijin0tkxlErGre20FaHyRXBA1W1QeedLAO9gA+I+yfdwTspXymv HoQyEr0LuypRpeqFRNI0wwyXQ7+Vh0JqhHITVRliZ5NpzGtE4DijYmP9V4Uc1yaUxZ hC7OMkAhbYNaEeG1kWGqMUPzQyPDypmaoOnwS6I4EWCz4qHo8V+iqm6F272VUQxZFb rYTybv2nwaumzGq+BAWrfB/Wil9C8+DcKzXLVGT5HTair8CnfM0HoFUuMqJc7hrrMX 4zTF6ZJfLiGUOT2haTXPqRtRXg6iZD3m/BOUBDhUbwPQpuv36QBhhOnkUt7xfUHGX/ RKUXDh6oaJ13Q==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 10AE75DF; Wed, 6 Jul 2022 13:59:03 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Steve Lhomme <slhomme@matroska.org>
cc: cellar@ietf.org
In-Reply-To: <01ddd325-18a0-a9be-f3c1-1995bfa97e8b@matroska.org>
References: <1216608.1654521891@dooku> <a0de8e0c-b163-efbf-3c76-9cfd38faa4bc@matroska.org> <01ddd325-18a0-a9be-f3c1-1995bfa97e8b@matroska.org>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 27.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Wed, 06 Jul 2022 13:59:03 -0400
Message-ID: <10115.1657130343@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/FcrvQdeTTWc7wwvhsXBFj4R_Ycc>
Subject: Re: [Cellar] shepherd review of Matroska: part 1
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Codec Encoding for LossLess Archiving and Realtime transmission <cellar.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cellar>, <mailto:cellar-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cellar/>
List-Post: <mailto:cellar@ietf.org>
List-Help: <mailto:cellar-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cellar>, <mailto:cellar-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Jul 2022 17:59:09 -0000

Steve Lhomme <slhomme@matroska.org> wrote:
    > On 2022-06-12 10:01, Steve Lhomme wrote:
    >>> } 5.1.4.1.34.9. ContentEncAlgo Element
    >>> questions will be asked about 1DES, and 3DES.
    >>> 1) We need a note about how legacy files might be encrypted, and we need
    >>>     those definitions for history.

    > AFAIK Matroska files are not encrypted. WebM on the other hand is very
    > common. But we're not making the WebM spec. Content Compression which is
    > parallel to this is however common.

    > In WebM it also depends on the codec what kind of information is actually
    > encrypted. The frame headers are usually not encrypted so they can be parsed
    > without dealing with encryption. Only the actual content part is
    > encrypted.

I think that what we need to explain is that *THIS DOCUMENT* does not define
any encryption scheme.  That is reserves a container/element for schemes that
third parties (WebM) have used, and yes, have an informational reference to
that.

That's all we need to say.

    > defined in Matroska. In the case of WebM, the AES-CTR
    > (AESSettingsCipherMode=1) really tells the whole story of how the
    > encrypted data fill the Block.

Yes, but not how/where the key comes from, which is where we will get into trouble.

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide