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

Correção da assinatura digital com signxml #227

Merged
merged 1 commit into from
Oct 13, 2022

Conversation

leogregianin
Copy link
Collaborator

A partir da versão 2.10 da biblioteca signxml os arquivos XML de NFe assinados ocorrem erro de assinatura inválida.

Um novo parâmetro chamado excise_empty_xmlns_declarations foi adicionado a versão 2.10 que alterou o comportamento padrão até a versão 2.9.

A discussão está sendo feita nesse tópico XML-Security/signxml#197.

Enquanto isso, para assinar corretamente os arquivos XML deve passar explicitamente o parâmetro excise_empty_xmlns_declarations = True e garantir que esteja utilizando as últimas versões do signxml, pyopenssl e cryptography.

@juniortada juniortada requested a review from leotada October 8, 2022 17:55
@leogregianin
Copy link
Collaborator Author

Discussões relacionadas: #226, #216

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.

2 participants