Replies: 5 comments 4 replies
-
Its not * to be compliant* its an advice |
Beta Was this translation helpful? Give feedback.
-
@robwalch : any chance a PR adding those options would be accepted ? |
Beta Was this translation helpful? Give feedback.
-
Hi @jvary, Before accepting, we'd have to review such a PR, considering the implications like library payload increase, browser and device support, and interest from HLS authors and streaming platform vendors. AES-256 is not one of the EXT-X-KEY METHOD values listed in rfc8216. If this is something you want, you should pursue getting it added to the HLS spec via the IETF HLS-Interest group: https://www.ietf.org/mailman/listinfo/Hls-interest. |
Beta Was this translation helpful? Give feedback.
-
It would help to include more practical use cases for clear AES encryption. You may need to provide more of an argument than the NIST standardization. AES encryption does little to protect content compared to encryption and licensing enforced by a content protection system with HW CDM. |
Beta Was this translation helpful? Give feedback.
-
AES-256 and AES-256-CTR support have been added to the master branch, and is expected to be released in the 1.6.0 milestone. |
Beta Was this translation helpful? Give feedback.
-
Hello!
The American government has a 2030 ‘deadline’ to be compliant for the Post-Quantum Cryptography Standardization (NIST).
For video, an easy way to achieve it is with AES-256.
While “within-mp4 ISO/IEC 23001-7” (i.e. HLS EXT-X-KEY ‘SAMPLE-AES’) encryption is handled by the platform/browser video decoders, EXT-X-KEY ‘AES-128’ is handled by the usual browser CryptoAPI (at least with HLS.js).
Given that all browsers natively support AES-256 in their CryptoAPI, I propose to add to HLS.js both “AES-256” (for AES-256 cbc) and "AES-256CTR" to the supported values of #EXT-X-KEY.
New AES-256 .mp4 would not be supported on all embedded players at first, but having a browser option could kick-start the adoption.
(Adding 256bits options to cenc/cbcs is a whole different topic).
Any thoughts ?
Julien Vary, Genetec
(It would be great if DASH ClearKey would also support those modes, but that is irrelevant here 😊)
References:
https://en.wikipedia.org/wiki/NIST_Post-Quantum_Cryptography_Standardization
https://media.defense.gov/2022/Sep/07/2003071834/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS_.PDF
https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.2.4 : EXT-X-KEY
CSA_CNSA extracts:
Beta Was this translation helpful? Give feedback.
All reactions