Skip to content
Snippets Groups Projects
Commit ac620079 authored by Moul's avatar Moul
Browse files

[fix] #113: Support libnacl version from v1.7.2

Change libnacl version
Force libnacl minimum version to v1.7.2

To support Py3.9
https://github.com/saltstack/libnacl/issues/120#issuecomment-721336469
https://github.com/saltstack/libnacl/commit/33b22d2edc86edbb1a2dcb0b902428a40cc5e35b
parent 5807c6a3
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import base64
import libnacl
from libnacl.version import version as libnacl_version
import re
from typing import Optional, List, Dict, Any
......@@ -31,7 +32,7 @@ HEADER_PREFIX = "-----"
DASH_ESCAPE_PREFIX = "\x2D\x20"
# Version field value
VERSION_FIELD_VALUE = "Python Libnacl " + libnacl.__version__
VERSION_FIELD_VALUE = "Python Libnacl " + libnacl_version
# Parser cursor status
ON_MESSAGE_FIELDS = 1
......
......@@ -30,7 +30,7 @@ jsonschema = "^3.0.2"
pypeg2 = "^2.15.2"
attrs = "^19.3.0"
base58 = "^2.0.0"
libnacl = "^1.6.1"
libnacl = "^1.7.2"
pyaes = "^1.6.1"
[tool.poetry.dev-dependencies]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment