-
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
Pad rev 4 encryption keys to be >= 16 bytes (issue 19484) #19555
Conversation
|
…ndocumented but matches Acrobat behavior (issue mozilla#19484)
Mostly, except for:
Updated
Updated |
That one should have been fixed by a PR earlier today.
We've seen that occasionally failing on the bots, but as long as Firefox works that's fine.
We actually had so much trouble with unstable reference tests in Chrome that we nowadays only test in Firefox for that reason. |
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/b675d134bbf2b40/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/4c0dec0495c1e79/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/b675d134bbf2b40/output.txt Total script time: 2.35 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/4c0dec0495c1e79/output.txt Total script time: 7.63 mins
|
/botio browsertest |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/2fd0ab3b5122714/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/7ed13e22fbb43d1/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/2fd0ab3b5122714/output.txt Total script time: 16.86 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/7ed13e22fbb43d1/output.txt Total script time: 30.49 mins
Image differences available at: http://54.193.163.58:8877/7ed13e22fbb43d1/reftest-analyzer.html#web=eq.log |
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.
Hopefully we have enough test-coverage for this part of the code-base, since we're trying to match unspecified Adobe Reader behaviour here (rather than fixing an "actual" bug).
However, I suppose that we have to land this to actually find out if there's any breakage :-)
r=me, thank you.
/botio makeref |
From: Bot.io (Linux m4)ReceivedCommand cmd_makeref from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/a652726527fb822/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/4855bcef8426829/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/a652726527fb822/output.txt Total script time: 16.81 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/4855bcef8426829/output.txt Total script time: 30.33 mins
|
This PR fixes issue #19484 by extending too-short keys to 16 bytes (padded with 0s) for revision 4 encryption. This key-extension behavior seems undocumented, but is necessary to properly decrypt string & stream data of problematic files found in the wild (supposedly generated by InDesign).