chiark / gitweb /
Changed signing code to support JDK7
authorAlexanderR <alexander.r@gmx.com>
Sun, 10 Jun 2012 15:33:25 +0000 (02:33 +1100)
committerAlexanderR <alexander.r@gmx.com>
Sun, 10 Jun 2012 15:33:25 +0000 (02:33 +1100)
fdroidserver/publish.py

index be92c3ed17952ab5293f3cdaec82e1e5ee65b351..b9a04225b1601ece0476b3f20642e821cb737043 100644 (file)
@@ -111,7 +111,8 @@ def main():
 
             # Sign the application...
             p = subprocess.Popen(['jarsigner', '-keystore', keystore,
-                '-storepass', keystorepass, '-keypass', keypass,
+                '-storepass', keystorepass, '-keypass', keypass, '-sigalg',
+                'MD5withRSA', '-digestalg', 'SHA1',
                     apkfile, keyalias], stdout=subprocess.PIPE)
             output = p.communicate()[0]
             print output