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

Commit

Permalink
Merge pull request #165 from bif-g/master
Browse files Browse the repository at this point in the history
restore GetPublicKey interface mistakenly removed
  • Loading branch information
alusco committed Jul 18, 2019
2 parents 0e50795 + d85b4aa commit d0be33c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adb/sign_cryptography.py
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 d0be33c

Please sign in to comment.