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

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/>. ...@@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
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
...@@ -31,7 +32,7 @@ HEADER_PREFIX = "-----" ...@@ -31,7 +32,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
......
...@@ -30,7 +30,7 @@ jsonschema = "^3.0.2" ...@@ -30,7 +30,7 @@ jsonschema = "^3.0.2"
pypeg2 = "^2.15.2" pypeg2 = "^2.15.2"
attrs = "^19.3.0" attrs = "^19.3.0"
base58 = "^2.0.0" base58 = "^2.0.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