From 5312cef54d22949b25df42929505f402788ae3a0 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 28 Jun 2022 20:06:59 +0800 Subject: [PATCH] replace cryptography with rsa module --- appPublic/version.py | 4 +++- test/create_private_file.py | 2 +- test/dataencoder_test.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/appPublic/version.py b/appPublic/version.py index f86c635..6c28451 100644 --- a/appPublic/version.py +++ b/appPublic/version.py @@ -1,4 +1,6 @@ # initial version # __version__ = '5.1.12' # add country name Chinese English convert functions -__version__ = '5.1.13' +# __version__ = '5.1.13' +# replace cryptography with rsa module, because ONLY using rsa modulde in cryptography and cryptography not easy to compile for ios +__version__ = '5.1.14' diff --git a/test/create_private_file.py b/test/create_private_file.py index b290cfa..9c7a199 100644 --- a/test/create_private_file.py +++ b/test/create_private_file.py @@ -1,5 +1,5 @@ import sys -from appPublic.rsa import RSA +from appPublic.rsawrap import RSA def gen(filename): rsa = RSA() diff --git a/test/dataencoder_test.py b/test/dataencoder_test.py index fbc015d..ea8cf42 100644 --- a/test/dataencoder_test.py +++ b/test/dataencoder_test.py @@ -1,5 +1,5 @@ -from appPublic.rsa import RSA +from appPublic.rsawrap import RSA from appPublic.dataencoder import DataEncoder Nodes = {