diff --git a/adb/sign_cryptography.py b/adb/sign_cryptography.py index 31a9ef7..b042642 100644 --- a/adb/sign_cryptography.py +++ b/adb/sign_cryptography.py @@ -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