Commit 644d863b authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

APKFile: Sign with SHA256 too.

Since we have our own apk-tools patchset we can do this now.
parent 71460077
......@@ -59,7 +59,7 @@ def _sign_control(control, privkey, pubkey):
password=getpass() or None,
signer = private_key.signer(padding.PKCS1v15(), hashes.SHA1())
signer = private_key.signer(padding.PKCS1v15(), hashes.SHA256())
signature = signer.finalize()
del signer
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment