-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Adding AES-256 and AES-256-CTR encryption methods #6018
Conversation
Test playlist can be found here: https://jvaryhlstests.blob.core.windows.net/hlstestdata/playlist_encrypted.m3u8 |
Note: This functionality has already been added to ShakaPlayer and will appear in version 5.0 |
Please rebase once #6015 is merged. |
7dcc65c
to
a93ad26
Compare
@@ -262,4 +262,9 @@ module.exports = { | |||
NAL units are not starting right at the beginning of the PES packet when using hardware accelerated decoding.`, | |||
abr: false, | |||
}, | |||
aes256: { | |||
url: 'https://jvaryhlstests.blob.core.windows.net/hlstestdata/playlist_encrypted.m3u8', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@robwalch thanks for adding this! Did you encode this video? I would love to know what program you used. The ffmpeg still does not support AES-256.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was @jvary, the PR author.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcalfee : Hello! This is full segment encryption (not Common Encryption), so I just encrypted the whole file with OpenSSL.
Description
Adding AES-256 and AES-256-CTR encryption methods (full segment, as AES-128)
Context
Need stronger encryption scheme than AES-128 for CCTV scenario, in the short-mid term.
See more context & informal addendum to rfc8216 at :
https://mailarchive.ietf.org/arch/msg/hls-interest/RZBgatOvI4W0M0J5cShuXWzdigg/
Are there any points in the code the reviewer needs to double check?
Limitations
Checklist
- Not an official change yet?