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

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

parent e20618a4
No related branches found
No related tags found
No related merge requests found
import base64 import base64
import libnacl import libnacl
from libnacl.version import version as libnacl_version
import re import re
from typing import Optional, List, Dict, Any from typing import Optional, List, Dict, Any
...@@ -14,7 +15,7 @@ HEADER_PREFIX = "-----" ...@@ -14,7 +15,7 @@ HEADER_PREFIX = "-----"
DASH_ESCAPE_PREFIX = "\x2D\x20" DASH_ESCAPE_PREFIX = "\x2D\x20"
# Version field value # Version field value
VERSION_FIELD_VALUE = "Python Libnacl " + libnacl.__version__ VERSION_FIELD_VALUE = "Python Libnacl " + libnacl_version
# Parser cursor status # Parser cursor status
ON_MESSAGE_FIELDS = 1 ON_MESSAGE_FIELDS = 1
......
...@@ -31,7 +31,7 @@ pypeg2 = "^2.15.2" ...@@ -31,7 +31,7 @@ pypeg2 = "^2.15.2"
attrs = "^19.3.0" attrs = "^19.3.0"
base58 = "^2.0.0" base58 = "^2.0.0"
pylibscrypt = "^1.8.0" pylibscrypt = "^1.8.0"
libnacl = "^1.6.1" libnacl = "^1.7.2"
pyaes = "^1.6.1" pyaes = "^1.6.1"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment