[Xperia Arc Android Development] keibak:
Hi,

i tried installing the gapps from jajb: Google Apps Minimal Edition for Android 5.0.x & 5.1 as they provide more recent versions than the gapps from OP.

But the installation failed due to invalid signatures.

However when validating the file from command line it performes fine, or in the same way the OP's gapps verify:

$ jarsigner -verbose -verify gapps-5.0.x-20150404-minimal-edition-signed.zip

s 4214 Thu Feb 28 19:33:46 CET 2008 META-INF/MANIFEST.MF
4258 Thu Feb 28 19:33:46 CET 2008 META-INF/CERT.SF
1714 Thu Feb 28 19:33:46 CET 2008 META-INF/CERT.RSA
sm 1675 Thu Feb 28 19:33:46 CET 2008 META-INF/com/android/otacert
sm 283576 Thu Feb 28 19:33:46 CET 2008 META-INF/com/google/android/update-binary
sm 3426 Thu Feb 28 19:33:46 CET 2008 META-INF/com/google/android/updater-script
sm 1270 Thu Feb 28 19:33:46 CET 2008 install-optional.sh
sm 39786356 Thu Feb 28 19:33:46 CET 2008 optional/gms/430/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
sm 30434091 Thu Feb 28 19:33:46 CET 2008 optional/gms/434/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
sm 30881593 Thu Feb 28 19:33:46 CET 2008 optional/gms/436/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
sm 31759614 Thu Feb 28 19:33:46 CET 2008 optional/gms/438/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
sm 3690691 Thu Feb 28 19:33:46 CET 2008 optional/setup/phone/priv-app/SetupWizard/SetupWizard.apk
sm 2908574 Thu Feb 28 19:33:46 CET 2008 optional/setup/tablet/priv-app/SetupWizard/SetupWizard.apk
sm 2824 Thu Feb 28 19:33:46 CET 2008 system/addon.d/70-gapps.sh
sm 211627 Thu Feb 28 19:33:46 CET 2008 system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
sm 818 Thu Feb 28 19:33:46 CET 2008 system/etc/permissions/com.google.android.camera2.xml
sm 816 Thu Feb 28 19:33:46 CET 2008 system/etc/permissions/com.google.android.maps.xml
sm 835 Thu Feb 28 19:33:46 CET 2008 system/etc/permissions/com.google.android.media.effects.xml
sm 261 Thu Feb 28 19:33:46 CET 2008 system/etc/permissions/com.google.widevine.software.drm.xml
sm 17811 Thu Feb 28 19:33:46 CET 2008 system/etc/preferred-apps/google.xml
sm 20026 Thu Feb 28 19:33:46 CET 2008 system/framework/com.google.android.camera2.jar
sm 166574 Thu Feb 28 19:33:46 CET 2008 system/framework/com.google.android.maps.jar
sm 34741 Thu Feb 28 19:33:46 CET 2008 system/framework/com.google.android.media.effects.jar
sm 736 Thu Feb 28 19:33:46 CET 2008 system/framework/com.google.widevine.software.drm.jar
sm 183228 Thu Feb 28 19:33:46 CET 2008 system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
sm 328346 Thu Feb 28 19:33:46 CET 2008 system/priv-app/GoogleFeedback/GoogleFeedback.apk
sm 5057910 Thu Feb 28 19:33:46 CET 2008 system/priv-app/GoogleLoginService/GoogleLoginService.apk
sm 127292 Thu Feb 28 19:33:46 CET 2008 system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
sm 140888 Thu Feb 28 19:33:46 CET 2008 system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
sm 2900697 Thu Feb 28 19:33:46 CET 2008 system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
sm 11194568 Thu Feb 28 19:33:46 CET 2008 system/priv-app/Phonesky/Phonesky.apk
sm 546264 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libAppDataSearch.so
sm 1017388 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libNearbyApp.so
sm 435924 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libWhisper.so
sm 13500 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
sm 13496 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libgames_rtmp_jni.so
sm 181572 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libgcastv2_base.so
sm 194000 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libgcastv2_support.so
sm 304752 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libgms-ocrclient.so
sm 1630700 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libgmscore.so
sm 30092 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libjgcastservice.so
sm 1243632 Thu Feb 28 19:33:46 CET 2008 system/priv-app/PrebuiltGmsCore/lib/arm/libsslwrapper_jni.so

s = signature was verified
m = entry is listed in manifest
k = at least one certificate was found in keystore
i = at least one certificate was found in identity scope

jar verified.

Warning:
This jar contains entries whose certificate chain is not validated.
This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2035-07-17) or after any future revocation date.

In comparison the verification output of the OPs

jarsigner -verbose -verify MDPI_miniGAPPS-L-20150313-signed.zip

s 3991 Fri Feb 29 03:33:46 CET 2008 META-INF/MANIFEST.MF
4044 Fri Feb 29 03:33:46 CET 2008 META-INF/CERT.SF
1714 Fri Feb 29 03:33:46 CET 2008 META-INF/CERT.RSA
sm 1675 Fri Feb 29 03:33:46 CET 2008 META-INF/com/android/otacert
sm 283576 Fri Feb 29 03:33:46 CET 2008 META-INF/com/google/android/update-binary
sm 2529 Fri Feb 29 03:33:46 CET 2008 META-INF/com/google/android/updater-script
sm 3958 Fri Feb 29 03:33:46 CET 2008 system/addon.d/70-gapps.sh
sm 1259415 Fri Feb 29 03:33:46 CET 2008 system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
sm 211623 Fri Feb 29 03:33:46 CET 2008 system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
sm 818 Fri Feb 29 03:33:46 CET 2008 system/etc/permissions/com.google.android.camera2.xml
sm 161 Fri Feb 29 03:33:46 CET 2008 system/etc/permissions/com.google.android.dialer.support.xml
sm 816 Fri Feb 29 03:33:46 CET 2008 system/etc/permissions/com.google.android.maps.xml
sm 835 Fri Feb 29 03:33:46 CET 2008 system/etc/permissions/com.google.android.media.effects.xml
sm 261 Fri Feb 29 03:33:46 CET 2008 system/etc/permissions/com.google.widevine.software.drm.xml
sm 967 Fri Feb 29 03:33:46 CET 2008 system/etc/permissions/features.xml
sm 17811 Fri Feb 29 03:33:46 CET 2008 system/etc/preferred-apps/google.xml
sm 19959 Fri Feb 29 03:33:46 CET 2008 system/framework/com.google.android.camera2.jar
sm 741 Fri Feb 29 03:33:46 CET 2008 system/framework/com.google.android.dialer.support.jar
sm 166574 Fri Feb 29 03:33:46 CET 2008 system/framework/com.google.android.maps.jar
sm 34741 Fri Feb 29 03:33:46 CET 2008 system/framework/com.google.android.media.effects.jar
sm 736 Fri Feb 29 03:33:46 CET 2008 system/framework/com.google.widevine.software.drm.jar
sm 39752917 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/GMSCore.apk
sm 546264 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libAppDataSearch.so
sm 1017388 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libNearbyApp.so
sm 435924 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libWhisper.so
sm 13500 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libconscrypt_gmscore_jni.so
sm 13496 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libgames_rtmp_jni.so
sm 181572 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libgcastv2_base.so
sm 194000 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libgcastv2_support.so
sm 304752 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libgms-ocrclient.so
sm 1630700 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libgmscore.so
sm 30092 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libjgcastservice.so
sm 1243632 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GMSCore/lib/arm/libsslwrapper_jni.so
sm 182725 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
sm 324659 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GoogleFeedback/GoogleFeedback.apk
sm 4370829 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GoogleLoginService/GoogleLoginService.apk
sm 127292 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
sm 140558 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
sm 2287578 Fri Feb 29 03:33:46 CET 2008 system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
sm 11582222 Fri Feb 29 03:33:46 CET 2008 system/priv-app/Phonesky/Phonesky.apk
sm 2765597 Fri Feb 29 03:33:46 CET 2008 system/priv-app/SetupWizard/SetupWizard.apk

s = signature was verified
m = entry is listed in manifest
k = at least one certificate was found in keystore
i = at least one certificate was found in identity scope

jar verified.

Warning:
This jar contains entries whose certificate chain is not validated.
This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2035-07-17) or after any future revocation date.

Any idea what causes the installation of jajb's gapps in cm12 to fail?

Edit: The provided certificate is the same in both zips. (Can be verified with cat CERT.RSA | keytool -printcert)