Skip to content

There was a problem with the PAdES signing code sample. #204

Discussion options

You must be logged in to vote

Hi @projackRK, this is a standard safety measure to disallow signing hybrid xref files by default, since those files can be parsed in more than one way, leading to ambiguity (and therefore potential security issues). Unfortunately, some software still regularly produces such files (MS Word, for example). If you don't care about this, simply pass strict=False to the IncrementalPdfFileWriter.

(I should probably reword that error message to make that a bit more obvious)

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@projackRK
Comment options

@MatthiasValvekens
Comment options

@projackRK
Comment options

@MatthiasValvekens
Comment options

@projackRK
Comment options

Answer selected by projackRK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants