Re: [Hls-interest] fMP4 encrypted with AES-128

Roger Pantos <rpantos@apple.com> Sat, 02 May 2020 05:24 UTC

Return-Path: <rpantos@apple.com>
X-Original-To: hls-interest@ietfa.amsl.com
Delivered-To: hls-interest@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F3843A00C9 for <hls-interest@ietfa.amsl.com>; Fri, 1 May 2020 22:24:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.com
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 eCArV-1hbtw7 for <hls-interest@ietfa.amsl.com>; Fri, 1 May 2020 22:24:50 -0700 (PDT)
Received: from nwk-aaemail-lapp01.apple.com (nwk-aaemail-lapp01.apple.com [17.151.62.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 969D73A00C4 for <hls-interest@ietf.org>; Fri, 1 May 2020 22:24:50 -0700 (PDT)
Received: from pps.filterd (nwk-aaemail-lapp01.apple.com [127.0.0.1]) by nwk-aaemail-lapp01.apple.com (8.16.0.42/8.16.0.42) with SMTP id 0425MGLZ051232; Fri, 1 May 2020 22:24:48 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : message-id : content-type : mime-version : subject : date : in-reply-to : cc : to : references; s=20180706; bh=q7Hx/jOxIR7e0bmLpc3NflyrYHf60cpRVLm+/Ky7Gvo=; b=WuPXArhzi2lTIkT0jfbQi/W5bim8fxyhfc5YrAin4/BAF4StHJtj2TM1FRcU2DUkStR/ 1MBu2vsgUNoE9O9KKV/EkjiA0zG7EEZyVA7W9FaiPb/iFiCsX+uxLSCcJpeRBHl0Ok6F ksO5S8PRICZSX2zufAsc9LbqG6LpsfAVX3bR8u4LMl4ABLHBOR+9Agj2omDCmOEhiOlx Mh0MVY1y+3Wp0vU2yvs0S0MTsgRv+vDQZbZBiZawR74RrSEjZSg01oe+S6wxWtZo+ciI 7MVms3dXscOPcz4+CskgmcYBy1SFTJM6iXeFPjNdwsG2MdX7YxSTMz1gZl6Jk2+pzoJT wA==
Received: from rn-mailsvcp-mta-lapp01.rno.apple.com (rn-mailsvcp-mta-lapp01.rno.apple.com [10.225.203.149]) by nwk-aaemail-lapp01.apple.com with ESMTP id 30r7jm0b05-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 01 May 2020 22:24:48 -0700
Received: from rn-mailsvcp-mmp-lapp01.rno.apple.com (rn-mailsvcp-mmp-lapp01.rno.apple.com [17.179.253.14]) by rn-mailsvcp-mta-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) with ESMTPS id <0Q9O007RVV1CMN20@rn-mailsvcp-mta-lapp01.rno.apple.com>; Fri, 01 May 2020 22:24:48 -0700 (PDT)
Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp01.rno.apple.com by rn-mailsvcp-mmp-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) id <0Q9O00X00UK8BM00@rn-mailsvcp-mmp-lapp01.rno.apple.com>; Fri, 01 May 2020 22:24:48 -0700 (PDT)
X-Va-A:
X-Va-T-CD: a344639306cc75ccc2a9544bf115142d
X-Va-E-CD: b7dc08fa33f5c22703bd817b8a8442eb
X-Va-R-CD: 2e67338becfa5099c569eeb4feb0a20d
X-Va-CD: 0
X-Va-ID: ef088780-0a06-4e4e-993e-2a886913c189
X-V-A:
X-V-T-CD: a344639306cc75ccc2a9544bf115142d
X-V-E-CD: b7dc08fa33f5c22703bd817b8a8442eb
X-V-R-CD: 2e67338becfa5099c569eeb4feb0a20d
X-V-CD: 0
X-V-ID: 496983b1-98a4-4b69-9a37-53429b472535
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-05-02_02:2020-05-01, 2020-05-02 signatures=0
Received: from [17.235.62.156] (unknown [17.235.62.156]) by rn-mailsvcp-mmp-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) with ESMTPSA id <0Q9O00SPYV1BHP00@rn-mailsvcp-mmp-lapp01.rno.apple.com>; Fri, 01 May 2020 22:24:48 -0700 (PDT)
From: Roger Pantos <rpantos@apple.com>
Message-id: <7B33A46C-2D4C-45B5-AB6F-882DE67EFD10@apple.com>
Content-type: multipart/alternative; boundary="Apple-Mail=_A154021F-0586-4B99-BF39-940D4ACC656C"
MIME-version: 1.0 (Mac OS X Mail 13.0 \(3638.0.7\))
Date: Fri, 01 May 2020 22:24:47 -0700
In-reply-to: <CAG8=1DCj53+12rcVNwpWvnEzmCvubxQ_4htrvy=AX1s70=MaOg@mail.gmail.com>
Cc: hls-interest@ietf.org
To: Peter Tseng <peter@eluv.io>
References: <CAG8=1DCj53+12rcVNwpWvnEzmCvubxQ_4htrvy=AX1s70=MaOg@mail.gmail.com>
X-Mailer: Apple Mail (2.3638.0.7)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-05-02_02:2020-05-01, 2020-05-02 signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/hls-interest/b_s0475cigUChhiBsEAXab04udg>
Subject: Re: [Hls-interest] fMP4 encrypted with AES-128
X-BeenThere: hls-interest@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussions about HTTP Live Streaming \(HLS\)." <hls-interest.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hls-interest>, <mailto:hls-interest-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hls-interest/>
List-Post: <mailto:hls-interest@ietf.org>
List-Help: <mailto:hls-interest-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hls-interest>, <mailto:hls-interest-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 02 May 2020 05:24:54 -0000

Hello Peter,

> On May 1, 2020, at 5:02 PM, Peter Tseng <peter@eluv.io> wrote:
> 
> @Apple
> 
> The most recent update to MacOS/iOS/tvOS broke our HLS content encrypted with AES-128. I'm guessing the reason is that we are using fMP4 (no DRM) instead of MPEG-TS. However, this worked before, and also works on most players.
> 
> I noticed that the March 20, 2020 revision of the spec added, "fMP4 Media Segments are encrypted using the 'cbcs' scheme of Common Encryption [COMMON_ENC]." Was it your intention for fMP4 to only work with SAMPLE-AES going forward?

No, METHOD=AES-128 is intended to work with fMP4. Please file a bug and include a sample stream and a sysdiagnose. http://feedbackassistant.apple.com <http://feedbackassistant.apple.com/>


Roger Pantos
Apple Inc.

> -- 
> Hls-interest mailing list
> Hls-interest@ietf.org
> https://www.ietf.org/mailman/listinfo/hls-interest