code-signing

How to generate a PKCS12 (.p12) from a .SPC (code signing certificate) and .PKCS12 (private key)?

…衆ロ難τιáo~ 提交于 2020-01-23 18:37:09
问题 I have a code-signing certificate (SPC) file from GoDaddy. The file was generated from an existing private key: -----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEAvcG2SEalg9pvkTvtMI8cZg07tVA0RuK7LeGlFdk1smXgqrsH .... snipped .... MURwR0FXgNAuFNQ0yBNFNW2+o9uBceLuCSUalgi4pQw1uBmP5QkUYA== -----END RSA PRIVATE KEY----- I generated a certificate signing request and sent this to GoDaddy: -----BEGIN CERTIFICATE REQUEST----- MIICiDCCAXACAQAwQzFBMD8GCSqGSIb3DQEJARYyYXBwbGVAdGVrNC1uZXdtZWRp .... snipped .

Using MSBuild to sign ClickOnce or assembly results in error MSB3321

北慕城南 提交于 2020-01-21 04:55:08
问题 I've set up my simple project in Visual Studio 2008 to use a ClickOnce installer. I've specified that the ClickOnce manifests should be signed by our comapny's PFX file. When I set this up in Visual Studio it asked for the password for the PFX file, which I gladly supplied. Everything works fine when I build and publish from within Visual Studio. It also works fine building from MSBuild on my machine. However, when I try to build it using MSBuild on our build machine, I get the following

Xcode -How to add a private key to Development Certificate if it's created using the Revoke button

。_饼干妹妹 提交于 2020-01-16 19:32:10
问题 By mistake I pressed the Revoke button.: I went to developer.apple > Certificates I downloaded the new Development Certificate that was created from pressing the Revoke button. Afterwards one of the errors I got is The second part of the error says the certificate needs a private key (in orange). In Xcode > Preferences > Accounts > App ID > Team > plus sign it says the expiration of that Development Certificate is 10/30/20, 12:04 AM : When I look in keychain the certificate with that

Recompiling old cocoa app without sandbox

这一生的挚爱 提交于 2020-01-15 09:42:12
问题 I have a couple of Cocoa apps that are distributed privately and do not use the app store. They haven't been touched for at least a year. I need to make some changes. They don't work properly with Apple's sandbox. I've tried to turn off sandboxing in Xcode (9.4.1), but the absence of an entitlements file seems to be interpreted as sandboxed. I've noticed that command line applications don't have this problem (yet). How can I get the old behavior back? In the past I signed the apps to minimize

Recompiling old cocoa app without sandbox

倖福魔咒の 提交于 2020-01-15 09:42:01
问题 I have a couple of Cocoa apps that are distributed privately and do not use the app store. They haven't been touched for at least a year. I need to make some changes. They don't work properly with Apple's sandbox. I've tried to turn off sandboxing in Xcode (9.4.1), but the absence of an entitlements file seems to be interpreted as sandboxed. I've noticed that command line applications don't have this problem (yet). How can I get the old behavior back? In the past I signed the apps to minimize

How can I sign and deploy a JavaFX application into a single .JAR?

独自空忆成欢 提交于 2020-01-14 12:44:15
问题 I'm still learning the ins and outs of JavaFX. One major difference is that in the dist folder (in addition to the library) I find besides the .jar file, an HTML file and a JNLP file, neither nor of which is any use to me (this will be a desktop application). I found the following (Properties omitted because of sensitive/irrelevant information): <delete dir="${store.dir}"/> <mkdir dir="${store.dir}"/> <jar destfile="${store.dir}/temp_final.jar" filesetmanifest="skip"> <zipgroupfileset dir=

How can I sign and deploy a JavaFX application into a single .JAR?

巧了我就是萌 提交于 2020-01-14 12:42:50
问题 I'm still learning the ins and outs of JavaFX. One major difference is that in the dist folder (in addition to the library) I find besides the .jar file, an HTML file and a JNLP file, neither nor of which is any use to me (this will be a desktop application). I found the following (Properties omitted because of sensitive/irrelevant information): <delete dir="${store.dir}"/> <mkdir dir="${store.dir}"/> <jar destfile="${store.dir}/temp_final.jar" filesetmanifest="skip"> <zipgroupfileset dir=

Command line tool (or code) to sign and/or check digital signature on an Excel file

▼魔方 西西 提交于 2020-01-13 10:43:07
问题 For EXE and MSI files that we produce, we use signtool.exe from the SDK on our build server. We also produce XLS files that have macros in them. We don't build them, but we package them up using the build server. I have not found a way to sign the XLS file from a command line. It seems that the only way to do it is through the Excel application UI. If there is no way to sign the XLS file from command line I'd like for our build server to at least VERIFY, that the XLS files, that it gets from

Re-signing an IPA that contains a Framework

旧巷老猫 提交于 2020-01-12 08:02:27
问题 I'm re-signing an iOS app (using iResign) in order to upload it to the App Store; and as part of this I'm changing the bundle ID. I only have the IPA (not the source code). The app contains a third party framework. The resign appears to go fine; but when I upload using Application Loader, I get the following error: ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value

Error in Sandboxed App, When loading Helper (LoginItems), code signing issue

狂风中的少年 提交于 2020-01-11 04:52:25
问题 I'm trying to get out of this problem (I hope it's the last!) Briefly, I have one status bar app, which needs to start at login. I followed this tutorial http://blog.timschroeder.net/2012/07/03/the-launch-at-login-sandbox-project/ Everything it's working, but when it's time for testing the app in a real contest, outside xcode, I end up with this message in the console system.log: appleeventsd[52]: <rdar://problem/11489077> A sandboxed application with pid 1258, "xxxxx" checked in with