Skip to content
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

fix(pdf): Re-enable support for unverified signatures in PDF files #1059

Merged
merged 1 commit into from
Aug 29, 2019

Conversation

jstoffan
Copy link
Collaborator

@jstoffan jstoffan commented Aug 29, 2019

I accidentally tested this feature using a file with an image signature rather than an e-signature, which led to a false positive. I believe these assets will be deployed to the CDN with the next box-content-preview release, which means 2.17.0 should still be viable, as it's using the the 2.16.0 assets.

@jstoffan jstoffan requested a review from a team as a code owner August 29, 2019 00:15
@boxcla
Copy link

boxcla commented Aug 29, 2019

Verified that @jstoffan has signed the CLA. Thanks for the pull request!

echo "-----------------------------------------------------------------------------------"
echo "Tweaking pdf.js for Chrome..."
echo "-----------------------------------------------------------------------------------"
sed -e 's/function supportsMozChunkedClosure/!\(\/Chrome\/\.test\(navigator\.userAgent\)\) \&\& function supportsMozChunkedClosure/' -i '' src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}/pdf.js
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This modification is no longer needed, as the code it references was removed from PDF.js a few versions ago.

@jstoffan jstoffan merged commit da531a9 into box:master Aug 29, 2019
@jstoffan jstoffan deleted the fix-pdf-signatures branch August 29, 2019 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants