-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Correctly pad strings when saving an encrypted pdf (bug 1726789) #13959
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
Conversation
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://3.101.106.178:8877/72618ade8d68d34/output.txt |
Would it be possible to add a unit test for this since this is core functionality? This particular function can be called with the input that failed before and there is even a helper function that asserts that it can also be decoded again: pdf.js/test/unit/crypto_spec.js Lines 584 to 591 in 7d9a830
Something like this make work here since the code path in this PR is limited to AES: pdf.js/test/unit/crypto_spec.js Lines 824 to 845 in 0a366dd
|
Before the patch, pdf.js, evince, mupdf and qpdf were able to decrypt correctly the string but not foxit, chrome and acrobat. |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/72618ade8d68d34/output.txt Total script time: 39.76 mins
Image differences available at: http://3.101.106.178:8877/72618ade8d68d34/reftest-analyzer.html#web=eq.log |
/botio unittest |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @calixteman received. Current queue size: 0 Live output at: http://3.101.106.178:8877/7bcb7f6b44dd480/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/6b12066d178e9eb/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/6b12066d178e9eb/output.txt Total script time: 2.74 mins
|
From: Bot.io (Windows)SuccessFull output at http://3.101.106.178:8877/7bcb7f6b44dd480/output.txt Total script time: 5.43 mins
|
No description provided.