reliable implementation of get_first_signer_certificate()

This keeps key pieces of @linsui's algorithm, specifically the check
that all certificates are the same.  apksigner also does this check.

closes #1128
This commit is contained in:
Hans-Christoph Steiner 2024-04-25 18:45:00 +02:00
parent a8fd360a88
commit 9a327b5097
4 changed files with 482 additions and 50 deletions

View file

@ -97,6 +97,7 @@ setup(
'clint',
'defusedxml',
'GitPython',
'oscrypto',
'paramiko',
'Pillow',
'apache-libcloud >= 0.14.1',