Skip to content
Snippets Groups Projects

Support libnacl v1.9.0 onward

Merged Moul requested to merge libnacl into main
2 files
+ 3
2
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
1
@@ -14,11 +14,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import base64
import importlib.metadata
import re
from typing import Any, Dict, List, Optional
import libnacl
from libnacl.version import version as libnacl_version
from .encryption_key import PublicKey
from .signing_key import SigningKey
@@ -33,6 +33,7 @@ HEADER_PREFIX = "-----"
DASH_ESCAPE_PREFIX = "\x2D\x20"
# Version field value
libnacl_version = importlib.metadata.version("libnacl")
VERSION_FIELD_VALUE = f"Python Libnacl {libnacl_version}"
# Parser cursor status
Loading