Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit d0be33c

Browse files
authored
Merge pull request #165 from bif-g/master
restore GetPublicKey interface mistakenly removed
2 parents 0e50795 + d85b4aa commit d0be33c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adb/sign_cryptography.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ def __init__(self, rsa_key_path):
3535
def Sign(self, data):
3636
return self.rsa_key.sign(
3737
data, padding.PKCS1v15(), utils.Prehashed(hashes.SHA1()))
38+
39+
def GetPublicKey(self):
40+
return self.public_key

0 commit comments

Comments
 (0)