Skip to content

Commit

Permalink
disable pkcs7 padding in sample-aes demuxer
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Jenkinson committed Jan 20, 2018
1 parent 464c355 commit bff2d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/demux/sample-aes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
constructor(observer, config, decryptdata, discardEPB) {
this.decryptdata = decryptdata;
this.discardEPB = discardEPB;
this.decrypter = new Decrypter(observer, config);
this.decrypter = new Decrypter(observer, config, { removePKCS7Padding: false });
}

decryptBuffer(encryptedData, callback) {
Expand Down

0 comments on commit bff2d30

Please sign in to comment.