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

[fix] Support libnacl version from v1.7.2

parent 13bf5da5
No related branches found
No related tags found
2 merge requests!119Release 0.61.0,!116#113: Support libnacl version from v1.7.2
Pipeline #10138 waiting for manual action
...@@ -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.2.0" ...@@ -30,7 +30,7 @@ jsonschema = "^3.2.0"
pypeg2 = "^2.15.2" pypeg2 = "^2.15.2"
attrs = "^20.2.0" attrs = "^20.2.0"
base58 = "^2.0.0" base58 = "^2.0.0"
libnacl = "^1.7.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