Skip to content

Commit 626d3c0

Browse files
authored
Merge pull request #2 from mind-network/patch_1.0.0
v1.0.1 release
2 parents d63b07c + 43a7b1e commit 626d3c0

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ Full doc: [https://mind-network.gitbook.io/mind-lake-sdk](https://mind-network.g
6262

6363
* v1.0
6464
* Initial Release
65+
* v1.0.1
66+
* Fix bug
6567

6668
## License
6769

mindlakesdk/keyhelper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def prepareKeys(web3, walletAccount):
9696
else:
9797
mk = mindlakesdk.utils.genAESKey()
9898
sk = mindlakesdk.utils.genRSAKey()
99-
skBytes = sk.exportKey('DER')
99+
skBytes = sk.exportKey('DER', pkcs=8)
100100
skIV = mindlakesdk.utils.get_random_bytes(16)
101101
skCipher = mindlakesdk.utils.aesEncrypt(mk, skIV, skBytes)
102102
skCipher = skIV + skCipher

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "mindlakesdk"
7-
version = "v1.0.0"
7+
version = "v1.0.1"
88
authors = [
99
{ name="Mind Labs", email="biz@mindnetwork.xyz" },
1010
]

0 commit comments

Comments
 (0)