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

Steve Lhomme <slhomme@matroska.org> Sun, 10 July 2022 07:46 UTC

Return-Path: <slhomme@matroska.org>
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 D9F8BC14CF05 for <cellar@ietfa.amsl.com>; Sun, 10 Jul 2022 00:46:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.783
X-Spam-Level:
X-Spam-Status: No, score=-3.783 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-1.876, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=matroska-org.20210112.gappssmtp.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 3bGs43gbueAe for <cellar@ietfa.amsl.com>; Sun, 10 Jul 2022 00:46:34 -0700 (PDT)
Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 883D5C14F721 for <cellar@ietf.org>; Sun, 10 Jul 2022 00:46:34 -0700 (PDT)
Received: by mail-wr1-x433.google.com with SMTP id d16so3358765wrv.10 for <cellar@ietf.org>; Sun, 10 Jul 2022 00:46:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=matroska-org.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=HPyF07Cspgg2kcY8JJfAV5ickYb+FNdZOfvraNMaJeY=; b=2uulXxhVsRUOfo6uoARdBqDsPxMbqR+9M3TN1an7EKTeer5gfO8Y46EyNmK0LITqRo 2DZhRgFRd7vq4DIOgHOyb0Uw1U/3EUEekW24uWJlbQx7WdzVAp60cu/EVRyZnLhpHyOc EYhz/9hEIQ7AfwQxjBnt2++NhdUnWoPr7bVWBzqYBd48Glpyznsxx8EzMJfEMtns4Gms mPCrq9JSxf4GEuzzD4CjgHdPgF5WlFBDrDht97dfhUzE2qbMKoGysoAfIk0CZbtsFf+B JNaw04CHVAIY73OjFSHdYs65BzGItBlqhGPcJ2yG1rzN96zNOxpwKIDaFbI2dmLqTje9 Kp4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=HPyF07Cspgg2kcY8JJfAV5ickYb+FNdZOfvraNMaJeY=; b=nLadY5YIVvJ0A+8Ss1XN/o9A6IHyl3SSLyUb6W+Dyh9HnT+Pywno21sPDDF9d4E85K bsIWKmNsfX7U7ogPHJ+/X2Vj+r6BUQSE+S7KoBTxUHI/RkDEfp8AFOuFLGt18Zwy/5Co ZJITqCsqB3eALTgPrh+bYkOKu77XPeSaFk0a6GKR9B6999mfYfq/lkSlH494w01kSbTU ZqPmWQvpmBck3ZZas14rnmA9LQRzqnE2GVXgFkzzsToFG5+tunH6BzbLtVbzTvEHDPk/ 9A7LM/HWglvcfKppph1qSP1xIEnHFqeoGGzwEl3q3yDhZ7K0n+P4PQALQTXRaEShItG+ kA2Q==
X-Gm-Message-State: AJIora98Qtz4p+5tgw7bj2manhfiebEIPOeH8isPeC5KMpjNYO73fozN 95vqbmsXKj098GRp6yZ+P3Ts8Q==
X-Google-Smtp-Source: AGRyM1uaQC3e2MS42ayo/s72jf0rNR8Jb+Gf1IjlGpoPBhsIDBQNGmnx07Z5pEgExki4z1JnQs19hA==
X-Received: by 2002:a5d:6288:0:b0:21d:6c75:82 with SMTP id k8-20020a5d6288000000b0021d6c750082mr11419059wru.218.1657439192988; Sun, 10 Jul 2022 00:46:32 -0700 (PDT)
Received: from ?IPV6:2a01:cb0c:20:e900:810b:2a63:bdf1:10fc? (2a01cb0c0020e900810b2a63bdf110fc.ipv6.abo.wanadoo.fr. [2a01:cb0c:20:e900:810b:2a63:bdf1:10fc]) by smtp.gmail.com with ESMTPSA id k28-20020a5d525c000000b0020fcc655e4asm3088498wrc.5.2022.07.10.00.46.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Jul 2022 00:46:31 -0700 (PDT)
Message-ID: <210ac33a-04d1-9c8c-c7c3-edaffec03e54@matroska.org>
Date: Sun, 10 Jul 2022 09:46:33 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
Content-Language: en-US
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: cellar@ietf.org
References: <1216608.1654521891@dooku> <a0de8e0c-b163-efbf-3c76-9cfd38faa4bc@matroska.org> <01ddd325-18a0-a9be-f3c1-1995bfa97e8b@matroska.org> <10115.1657130343@localhost>
From: Steve Lhomme <slhomme@matroska.org>
In-Reply-To: <10115.1657130343@localhost>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/78lPvs7cH52f4JBziAbM-l1SbwQ>
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: Sun, 10 Jul 2022 07:46:36 -0000

On 2022-07-06 19:59, Michael Richardson wrote:
> 
> 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.

Would that do ?
https://github.com/ietf-wg-cellar/matroska-specification/pull/654

> 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