Browse Source

Atualizando referencia ao signxml

tags/0.1.5
Danimar Ribeiro 9 years ago
parent
commit
947075acd5
  1. 2
      pytrustnfe/nfe/assinatura.py
  2. 2
      requirements.txt

2
pytrustnfe/nfe/assinatura.py

@ -27,7 +27,7 @@ class Assinatura(object):
c14n_algorithm='http://www.w3.org/TR/2001/REC-xml-c14n-20010315')
signed_root = signer.sign(
xml_element, key=key, cert=cert, reference_only=True,
xml_element, key=key, cert=cert,
reference_uri=('#%s' % reference))
if len(signed_root) > 3:
signed_root[2].append(signed_root[3])

2
requirements.txt

@ -6,7 +6,7 @@ coveralls
http://xmlsoft.org/sources/python/libxml2-python-2.6.21.tar.gz
https://github.com/odoo-brazil/pyxmlsec/archive/master.zip
Jinja2
https://github.com/Trust-Code/signxml/archive/sign-by-reference.zip
signxml
pypandoc
suds
suds_requests

Loading…
Cancel
Save