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

Commit d85b4aa

Browse files
committed
restore GetPublicKey interface mistakenly removed in 4b555e6
1 parent 4b555e6 commit d85b4aa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)