Skip to content

Commit 64c5d56

Browse files
committed
[LEG] License update to LGPL-3 and push of version 1.0
1 parent e50a3b6 commit 64c5d56

File tree

15 files changed

+200
-674
lines changed

15 files changed

+200
-674
lines changed

.github/workflows/lint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-python@v2
17+
with:
18+
python-version: 3.9
1719
- uses: pre-commit/[email protected]

.github/workflows/test.yml

+22-5
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,31 @@ on:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
PYTHON_VERSION: ["3.6", "3.7", "3.8", "3.9"]
17-
LXML_VERSION: ["4.3.0", "4.6.4"]
18-
exclude:
19-
- PYTHON_VERSION: "3.9"
16+
include:
17+
- PYTHON_VERSION: "3.6"
18+
LXML_VERSION: "4.3.0"
19+
os: ubuntu-20.04
20+
- PYTHON_VERSION: "3.6"
21+
LXML_VERSION: "4.6.4"
22+
os: ubuntu-20.04
23+
- PYTHON_VERSION: "3.7"
2024
LXML_VERSION: "4.3.0"
25+
os: ubuntu-latest
26+
- PYTHON_VERSION: "3.7"
27+
LXML_VERSION: "4.6.4"
28+
os: ubuntu-latest
29+
- PYTHON_VERSION: "3.8"
30+
LXML_VERSION: "4.3.0"
31+
os: ubuntu-latest
32+
- PYTHON_VERSION: "3.8"
33+
LXML_VERSION: "4.6.4"
34+
os: ubuntu-latest
35+
- PYTHON_VERSION: "3.9"
36+
LXML_VERSION: "4.6.4"
37+
os: ubuntu-latest
2138
steps:
2239
- uses: actions/checkout@v2
2340
- name: Set up Python

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ repos:
4747
- id: check-xml
4848
- id: mixed-line-ending
4949
args: ["--fix=lf"]
50-
- repo: https://gitlab.com/pycqa/flake8
50+
- repo: https://github.com/pycqa/flake8
5151
rev: 3.9.2
5252
hooks:
5353
- id: flake8

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"esbonio.sphinx.confDir": ""
3+
}

LICENSE

+161-657
Large diffs are not rendered by default.

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ ECDSA and DSA is still being implemented
5757
License
5858
=======
5959

60-
This library is published under the AGPL-3 license.
60+
This library is published under the LGPL-3 license.
6161

6262
Contributors
6363
============

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
setup(
2727
name="xmlsig",
28-
version="0.1.9",
28+
version="1.0.0",
2929
description="Python based XML signature",
3030
long_description="XML Signature created with cryptography and lxml",
3131
author="Enric Tobella Alomar",
@@ -38,7 +38,7 @@
3838
package_dir={"": "src"},
3939
packages=find_packages("src"),
4040
include_package_data=True,
41-
license="AGPL-3",
41+
license="LGPL-3",
4242
classifiers=[
4343
"Development Status :: 4 - Beta",
4444
"License :: OSI Approved :: GNU Affero General Public License v3",

src/xmlsig/algorithms/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# © 2017 Creu Blanca
2-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
33

44

55
import base64

src/xmlsig/algorithms/hmac.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# © 2017 Creu Blanca
2-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
33

44
import base64
55

src/xmlsig/algorithms/rsa.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# © 2017 Creu Blanca
2-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
33

44
from base64 import b64decode, b64encode
55

src/xmlsig/constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# © 2017 Creu Blanca
2-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
33

44
from cryptography.hazmat.primitives import hashes
55

src/xmlsig/ns.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# © 2017 Creu Blanca
2-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
33

44
DSigNs = "http://www.w3.org/2000/09/xmldsig#"
55
DSigNs11 = "http://www.w3.org/2009/xmldsig11#"

src/xmlsig/signature_context.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# © 2017 Creu Blanca
2-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
33

44
import base64
55
import hashlib

src/xmlsig/template.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# © 2017 Creu Blanca
2-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
33

44
from lxml import etree
55

src/xmlsig/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# © 2017 Creu Blanca
2-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
33

44
import struct
55
import sys

0 commit comments

Comments
 (0)