Replace MD5withRSA with SHA1withRSA. Fixes #26.

Looks to me like we were using SHA1withRSA all along. Tested that everything
still works with a test repo.

As Hans reports, SHA1withRSA has been the default on Android tools for a long
time and it's supported on all Android versions.
This commit is contained in:
Daniel Martí 2015-09-24 18:50:51 -07:00
parent 84573e4e5c
commit d88914b466
3 changed files with 3 additions and 3 deletions

View file

@ -955,7 +955,7 @@ def make_index(apps, sortedids, apks, repodir, archive, categories):
else:
args = ['jarsigner', '-keystore', config['keystore'],
'-storepass:file', config['keystorepassfile'],
'-digestalg', 'SHA1', '-sigalg', 'MD5withRSA',
'-digestalg', 'SHA1', '-sigalg', 'SHA1withRSA',
signed, config['repo_keyalias']]
if config['keystore'] == 'NONE':
args += config['smartcardoptions']