Created
November 17, 2022 17:08
-
-
Save arturboyun/da811b5a5bce581e25a9f6d680aa65ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
if not pIface.IsPrivateKeyReaded(): | |
pIface.ReadPrivateKeyFile(b"Key-6.dat", b"12345677", None) | |
except Exception as e: | |
dError = eval(str(e)) | |
print( | |
"Key reading failed. Error code: " + str(dError['ErrorCode']) + ". Description: " + dError['ErrorDesc'].decode( | |
"utf-8")) | |
pIface.Finalize() | |
EUUnload() | |
exit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment