bugfix
This commit is contained in:
parent
c923c1670d
commit
0b635af0be
@ -13,7 +13,7 @@ class RSA:
|
||||
|
||||
def publickeyText(self,public_key):
|
||||
bd = public_key.save_pkcs1()
|
||||
return bd.encode(self.coding)
|
||||
return bd.decode(self.coding)
|
||||
|
||||
def write_publickey(self,public_key,fname):
|
||||
bd = public_key.save_pkcs1()
|
||||
|
@ -3,6 +3,8 @@
|
||||
# add country name Chinese English convert functions
|
||||
# __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'
|
||||
# __version__ = '5.1.14'
|
||||
# keep 5.1.14 version's change
|
||||
__version__ = '5.1.15'
|
||||
# __version__ = '5.1.15'
|
||||
# keep 5.1.14 version's change
|
||||
__version__ = '5.1.16'
|
||||
|
Loading…
Reference in New Issue
Block a user