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

can't now show digital signature PKCS#7 #828

Closed
sabardotnet opened this issue Oct 25, 2021 · 7 comments
Closed

can't now show digital signature PKCS#7 #828

sabardotnet opened this issue Oct 25, 2021 · 7 comments
Milestone

Comments

@sabardotnet
Copy link

my program generate a watermark or image signed. show in chrome or other pdf application the watermark is visible. but when show in ng2-pdf-viewer the watermark is not visible.

this is the pdf file : https://drive.google.com/file/d/1QR6JJHe8zMmgImeOKUEgplv0fIAwNn8L/view?usp=sharing

thanks for answering

@sabardotnet
Copy link
Author

but when use this plugin https://www.npmjs.com/package/react-pdf the watermark is show. sadly this plugin is for react. my app use angular

@sabardotnet
Copy link
Author

this because the pdf signed with format PKCS#7. this plugin not show it

@sabardotnet sabardotnet changed the title can't now show watermark or image signed can't now show digital signature PKCS#7 Oct 26, 2021
@LAlves91
Copy link
Contributor

Greetings @sabardotnet!

This library uses Mozilla's PDF.js v2.7.570 underneath to render the files. Until v2.9.359, PDF.js didn't show digital signature widgets. I've sent a PR updating it to the latest version, but for now, you have to implement a small 'fix'.

Please, see my comment on the issue #810, where I explain a 'fix' used to render the signature while PDF.js's version isn't updated.

Cheers!

@sebalr
Copy link

sebalr commented Nov 10, 2021

Any update on this? I saw that the PR has conflicts

@LAlves91
Copy link
Contributor

Hey @sebalr !

Actually, my PR updating PDF.js to 2.11.338 was merged! It'll be available in ng2-pdf-viewer's next release!

@VadimDez
Copy link
Owner

Can we close this? 7.0.2 was released, did it fix this issue?

@VadimDez VadimDez added this to the 7.0.2 milestone Nov 17, 2021
@piotrmorek
Copy link

Can we close this? 7.0.2 was released, did it fix this issue?

Hello, I am using 7.0.2 version of ng2-pdf-viewer. This issue with displaying signature seems to be not resolved. I am using pdf with Adobe signature, but the signature is not displayed when the pdf is loaded (other elements are loaded properly like inputs or checkboxes, etc.). When I get annotations from the component API I see that there is an element with fieldType of 'Sig'. I tested it as well on the playground page and the 'Sig' element is not displayed. Any update on this issue?

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

No branches or pull requests

5 participants