chiark / gitweb /
update: allow deprecated signatures only in the archive
authorHans-Christoph Steiner <hans@eds.org>
Tue, 27 Jun 2017 07:54:35 +0000 (09:54 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 28 Jun 2017 21:53:42 +0000 (23:53 +0200)
commitb7260ea854aff2621bca9ad67923889313dda827
tree019a9f0be63b978ce550536b436a61fd3a0056dc
parent0047f19d5624a5d1b19743549109a72eec20ffcc
update: allow deprecated signatures only in the archive

In April 2017, Oracle's jarsigner and Google's apksigner both switched to
considering any APK signature that uses MD5 as unsigned.  Any old build
is likely to have a MD5 signature.  This sets up the archive as the only
place where these "disabled algorithms" are allowed in the repo, and
marks any APK signed by a "disabled algorithm" as having a "known
vulnerability"

This also now automatically moves APKs with invalid signatures to the
archive section.

#323
fdroidserver/common.py
fdroidserver/update.py