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

Commit

Permalink
restore GetPublicKey interface mistakenly removed in 4b555e6
Browse files Browse the repository at this point in the history
  • Loading branch information
bif-g committed Jul 16, 2019
1 parent 4b555e6 commit d85b4aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adb/sign_cryptography.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ def __init__(self, rsa_key_path):
def Sign(self, data):
return self.rsa_key.sign(
data, padding.PKCS1v15(), utils.Prehashed(hashes.SHA1()))

def GetPublicKey(self):
return self.public_key

0 comments on commit d85b4aa

Please sign in to comment.