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

flateEncode() conflict with PDF integrated signature (eIDAS ) #25

Closed
scaf13 opened this issue May 17, 2022 · 4 comments
Closed

flateEncode() conflict with PDF integrated signature (eIDAS ) #25

scaf13 opened this issue May 17, 2022 · 4 comments

Comments

@scaf13
Copy link

scaf13 commented May 17, 2022

Bonjour,

Depuis la mise à jour 1.12 et notamment ce commit c182e1f (et plus particulièrement les 3 insertions dans facturx/facturx.py), quand j'appose une signature certifiée eIDAS (intégrée au PDF) sur une factur-x, je perds la conformité PDF/A-3.

En empêchant flateEncode(), ma factur-x signée électroniquement est de nouveau valide PDF/A-3.

Serait t'il possible d'avoir une option dans generate_from_file() pour désactiver cette compression ?

Merci pour votre travail.

@scaf13
Copy link
Author

scaf13 commented May 20, 2022

Closed : #23

@scaf13 scaf13 closed this as completed May 20, 2022
@alexis-via
Copy link
Member

If I understand correctly:

  1. you generate a PDF/A
  2. you attach factur-x.xml with this lib
    => here, the document is still PDF/A valid
  3. you add an eIDAS signature
    => it is not PDF/A valid any more

Did I understand correctly ?

@scaf13
Copy link
Author

scaf13 commented Dec 10, 2022

Yes, this is right.

Removing the 3 flateEncode assertions in /usr/local/lib/python3.8/dist-packages/facturx works.

@alexis-via
Copy link
Member

Which tool do you use for the eIDAS signature ?

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

2 participants