-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
task: Allow decrypting input files with AESCBC #141
Conversation
Codecov Report
@@ Coverage Diff @@
## main #141 +/- ##
===================================================
- Coverage 11.28876% 10.97504% -0.31372%
===================================================
Files 14 14
Lines 2064 2123 +59
===================================================
Hits 233 233
- Misses 1814 1873 +59
Partials 17 17
Continue to review full report at Codecov.
|
6615e64
to
cfe5bb3
Compare
7cd0cd5
to
7d8547e
Compare
7d8547e
to
89a85af
Compare
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.
self-review LGTM (after the prev fixes lol)
This adds on top of livepeer/studio#1645 to decrypt input files with
AES-256-CBC if a key was provided.
Notice that this should ideally be done in Catalyst for a real implementation, but made this
quickly in order to create an experiment. The file is decrypted and copied to S3 instead of
sent raw to Catalyst.
The experiment name is
vod-encrypted-input
and is checked by the API here: https://github.com/livepeer/livepeer-com/blob/579b4835ebfc15ca4700ac30b86a45159a4ddd1f/packages/api/src/controllers/asset.ts#L579