Overview
This update allows you to upload encrypted videos and decrypt videos at play time, to better preserve privacy. This allows builders to create private assets on public-by-default dStorage solutions. We've designed this feature to be used in conjunction with Livepeer's Playback Policies so that you can fully control playback permissions - if you specify that an upload is encrypted,
you will be required to select a playback policy (which can be public if desired).
Details
At launch, this feature supports video content encrypted using SubtleCrypto.encrypt with AES-CBC algorithm, which is also the encryption used by other web3 protocols like Lit(opens in a new tab). It can implemented in other environments with regular AES-CBC encryption using PKCS#7 padding.
After encrypting and storing your videos, you'll be able to:
  • Securely share decryption keys with Livepeer for decryption during playback
  • Utilize the existing Livepeer's access control mechanisms to manage playback permissions
Resources
To help you get started, we've created the following resources: