signing

gradle assembleRelease uses wrong key/certificate

元气小坏坏 提交于 2019-12-10 07:27:08
问题 I have a gradle-based android project and trying to generate a release apk. However, it seems that somehow gradle is picking up the wrong key/cert. This is what I have in build.gradle: signingConfigs { release { storeFile file("mykey.jks") storePassword "mypass" keyAlias "mykey.key" keyPassword "mypass" } } buildTypes { release { debuggable false jniDebugBuild false runProguard true proguardFile getDefaultProguardFile('proguard-android.txt') signingConfig signingConfigs.release } } And after

How do you fix “code object is not signed at all In subcomponent:” in Xcode 6, Mac OS X Yosemite or Mavericks?

爷,独闯天下 提交于 2019-12-10 00:55:09
问题 When compiling my application I'm getting the following error: CodeSign /Users/pupeno/Library/Developer/Xcode/DerivedData/ProjectX-cynmgyozflnwbpamwnpsnhgshuyq/Build/Products/Debug/Project\ X.app cd /Users/pupeno/Projects/ProjectX export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate Signing Identity: "Mac Developer: José Fernández (G4PM7K38JH)" /usr/bin/codesign --force --sign A21FB31766DDCBB28FBB4E4DD86E3743024A45F3

Which public key (SP or remote IDP) to use while signing SAML request

六月ゝ 毕业季﹏ 提交于 2019-12-09 13:15:56
问题 I am trying to configure my application (SP) to work with remote IDP. The IDP provided me with a certificate to configure with SP. For SAML request, do I use SP's public key or IDP's? Also, where can I find good resources to study SAML in detail (apart from the oasis formal documents). The tutorials that I find are very simplistic (i.e. they just describe that SP goes to IDP and then it is redirected back but do not go into detail on SAML messages). The oasis documents are confusing. Thanks

Is an assembly signed with a strong name before or after the post-build event?

偶尔善良 提交于 2019-12-08 12:42:16
问题 I'm modifying the stack size of an assembly using editbin , see Increase stack size of main program or create a new thread with larger stack size for recursive code blocks? Now I'm asking myself: Is an assembly signed with a strong name before or after the post-build event? Because editbin is changing the assembly in the post-build event. My post build-event looks like that: "$(DevEnvDir)..\..\VC\bin\editbin.exe" /STACK:16777216 "$(TargetPath)" And my project .csproj file contains the

Signed exe becomes unsigned after adding project output in setup package using visual studio 2008

安稳与你 提交于 2019-12-07 22:24:28
问题 I have created a msi setup package using visual studio 2008. I have added a project's output (exe project), which is signed at post build, to the setup package. The project is signed at the output directory (bin\Release). but when install the setup package, the exe found unsigned at the installed location. Why is the signing becomes invalid ? When i add it as a file it is signed. But when i add it as Project Output to the setup project it becomes unsigned. (I'm doing signing process at post

Signed URL for google bucket does not match signature provided

不打扰是莪最后的温柔 提交于 2019-12-07 18:17:11
问题 I'm having an hard time working with google storage. So I'm trying to make a signed url, already have the client id (which is an email) and private key (as described here) so: STEP 1: construct the string function googleBuildConfigurationString($method, $expiration, $file, array $options = []) { $allowedMethods = ['GET', 'HEAD', 'PUT', 'DELETE']; // initialize $method = strtoupper($method); $contentType = $options['Content_Type']; $contentMd5 = $options['Content_MD5'] ? base64_encode($options

Signing PDF with a certificate in a certificate store

蹲街弑〆低调 提交于 2019-12-07 17:01:09
问题 I want to sign a PDF with a certificate in a certificate store. I am using iTextSharp and iSafePDF for singing PDFs, it works OK when I sign using a certificate stored as .p12 file. But I don't know how to use the library for signing with certificates obtained from a certificate store. I have an instance of System.Security.Cryptography.X509Certificate2, but the library uses a different object representation and I was not able to make it work. Can someone help? 回答1: OK, here is exactly what I

Android Unsigned App not able to install on device

十年热恋 提交于 2019-12-07 12:05:00
问题 My app able run on simulator and I export it as Unsigned App. On my phone's Setting-->>Applications--->>Unknown sources checked. I download the .apk into phone storage through USB. Then under File Manager, I found that stored .apk and hit install button and it try to install, But finally it says Application Not installed. but why? wht's wrong? Also I try ./adb install -r myapp.apk but it said error:device not found 回答1: I have never tested an app on a device by using your method... When I am

Xcode 8.3.2 signing errors

那年仲夏 提交于 2019-12-07 02:16:51
问题 I have Xcode 8.3.2 on Sierra. I am trying to build an Enterprise .ipa (have Enterprise membership). I am having issues signing my app. Specifically in Xcode I have the following under General\Signing: Automatically manage signing is enabled Team: "My Team (Enterprise)" Provisioning Profile: Xcode Managed Profile Signing Certificate: iOS Developer Status Failed to create provisioning profile "com.myapp" cannot be registered to your development team. Change your bundle identifier to a unique

Verifying that two apk files are signed with the same signature

﹥>﹥吖頭↗ 提交于 2019-12-06 22:07:17
问题 I would like to verify that two APK files have been signed with the same certificate. I have the whole Java SDK available but would like to it from Java code to make for cross-platform reasons. Any ideas? 回答1: all about is to Comparing your app's signatures a) get signature of both aps b) check if sig.hashCode() == releaseSig.hashCode 1) by run-time check using android api: Signature[] sigs = context.getPackageManager() .getPackageInfo(context.getPackageName(), PackageManager.GET_SIGNATURES)