-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
AES cipher: make padding optional #5154
Conversation
/botio-linux preview |
From: Bot.io (Linux)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.21.233.14:8877/cd2aacf332d681b/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/cd2aacf332d681b/output.txt Total script time: 0.75 mins Published
|
AES cipher: make padding optional
Looks good. Thanks |
Ops, forgot testing :) /botio test |
From: Bot.io (Linux)ReceivedCommand cmd_test from @yurydelendik received. Current queue size: 1 Live output at: http://107.21.233.14:8877/06a8eaf950b3977/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @yurydelendik received. Current queue size: 1 Live output at: http://107.22.172.223:8877/594f23fc311e730/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/594f23fc311e730/output.txt Total script time: 19.59 mins
|
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/06a8eaf950b3977/output.txt Total script time: 22.55 mins
|
In the bad PDF of #5152, there is a block at some point without padding. This can be found by setting a breakpoint at
pdf.js/src/core/crypto.js
Line 981 in 669a4d1
I've fixed this by checking whether the tail is really a padding before removing it from the output.