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

Reopened: I cant sign TCPDF_PARSER ERROR: decodeFilterFlateDecode #1402

Closed
Bolli84 opened this issue Jan 31, 2023 · 3 comments
Closed

Reopened: I cant sign TCPDF_PARSER ERROR: decodeFilterFlateDecode #1402

Bolli84 opened this issue Jan 31, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Bolli84
Copy link

Bolli84 commented Jan 31, 2023

Reopened: from #814 but the error appears only on already signed (outside of libresign) files. On fresh and new files, it is ok.
The issue is visible with the working or broken preview box for the signature.

Nextcloud 25.0.2
Libresign 6.2.5

When tryining to open the visual signature field, it is the symbol for broken files and the error "TCPDF_PARSER ERROR: decodeFilterFlateDecode" appears in the logfiles

When signing anyway, the following error is written into the log:

[libresign] Error: [{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/vendor\/tecnickcom\/tcpdf\/include\/tcpdf_filters.php","line":359,"function":"Error","class":"TCPDF_FILTERS","type":"::"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/vendor\/tecnickcom\/tcpdf\/include\/tcpdf_filters.php","line":94,"function":"decodeFilterFlateDecode","class":"TCPDF_FILTERS","type":"::"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/vendor\/libresign\/tcpdi_parser\/src\/tcpdi_parser.php","line":1170,"function":"decodeFilter","class":"TCPDF_FILTERS","type":"::"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/vendor\/libresign\/tcpdi_parser\/src\/tcpdi_parser.php","line":1058,"function":"decodeStream","class":"LibreSign\\TcpdiParser\\tcpdi_parser","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/vendor\/libresign\/tcpdi_parser\/src\/tcpdi_parser.php","line":1094,"function":"extractObjectStream","class":"LibreSign\\TcpdiParser\\tcpdi_parser","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/vendor\/libresign\/tcpdi_parser\/src\/tcpdi_parser.php","line":198,"function":"findObjectOffsets","class":"LibreSign\\TcpdiParser\\tcpdi_parser","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/vendor\/iio\/libmergepdf\/tcpdi\/tcpdi.php","line":124,"function":"__construct","class":"LibreSign\\TcpdiParser\\tcpdi_parser","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/lib\/Handler\/Pkcs12Handler.php","line":150,"function":"setSourceData","class":"TCPDI","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/lib\/Service\/SignFileService.php","line":790,"function":"writeFooter","class":"OCA\\Libresign\\Handler\\Pkcs12Handler","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/lib\/Service\/SignFileService.php","line":674,"function":"getPdfToSign","class":"OCA\\Libresign\\Service\\SignFileService","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/lib\/Service\/SignFileService.php","line":597,"function":"getFileToSing","class":"OCA\\Libresign\\Service\\SignFileService","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/lib\/Controller\/SignFileController.php","line":202,"function":"sign","class":"OCA\\Libresign\\Service\\SignFileService","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/apps\/libresign\/lib\/Controller\/SignFileController.php","line":180,"function":"sign","class":"OCA\\Libresign\\Controller\\SignFileController","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":225,"function":"signUsingUuid","class":"OCA\\Libresign\\Controller\\SignFileController","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/lib\/private\/AppFramework\/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/lib\/private\/Route\/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/lib\/base.php","line":1047,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"\/var\/www\/vhosts\/SERVER-HOST\/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}]
> 
> POST /index.php/apps/libresign/api/0.1/sign/uuid/1111111111111111111111111111111111111111
@Bolli84 Bolli84 added the bug Something isn't working label Jan 31, 2023
@vitormattos
Copy link
Member

Hi @Bolli84
If you haven't a problem with data protection, could you share the PDF that trigger the problem to be possible reproduce here?

@lhsazevedo
Copy link
Collaborator

lhsazevedo commented Feb 15, 2023

HI @Bolli84. Could you share the PDF file? Without it, we can't reproduce the problem.

@vitormattos
Copy link
Member

Duplicated of #889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants