Skip to content

Commit a0ae0e3

Browse files
David ArnoldDeiber Rincón
authored andcommitted
WIP WIP
1 parent 1dcacd7 commit a0ae0e3

File tree

3 files changed

+460
-56
lines changed

3 files changed

+460
-56
lines changed

setup.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
description='Python XML Signature library',
1313
long_description=open('README.rst').read(),
1414
install_requires=[
15-
'lxml >= 4.2.1, < 5',
16-
'defusedxml >= 0.5.0, < 1',
15+
'lxml >= 4.4.1, < 5',
16+
'defusedxml >= 0.6.0, < 1',
1717
'eight >= 0.4.2, < 1',
18-
'cryptography >= 2.1.4, < 3',
19-
'asn1crypto >= 0.24.0',
20-
'pyOpenSSL >= 17.5.0, < 19',
21-
'certifi >= 2018.1.18'
18+
'cryptography >= 2.8, < 3',
19+
'asn1crypto >= 1.2.0',
20+
'pyOpenSSL >= 18.0.0, < 19',
21+
'certifi >= 2019.9.11',
22+
'wdb.server >= 3.3.0' #TODO: remove
2223
],
2324
extras_require={
2425
':python_version == "2.7"': [

signxml/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ def __init__(self, method=methods.enveloped, signature_algorithm="rsa-sha256", d
279279
self.c14n_alg = c14n_algorithm
280280
self.namespaces = dict(ds=namespaces.ds)
281281
self._parser = None
282+
self.prefix = "xmldsig"
282283

283284
def sign(self, data, key=None, passphrase=None, cert=None, reference_uri=None, key_name=None, key_info=None,
284285
id_attribute=None):

0 commit comments

Comments
 (0)