codesign

Sign a Word VBA project/file via command line or other form of automation

Is there a way to automate code signing a VBA project in a Word 2003 and/or Word 2007 document? By automate I mean via a command line utility or via Word VBA automation? Motivation: I would like to code sign several Word templates as part of an automated daily build and distribution cycle. Right now we have to do this manually by openi...

Possible to use Authenticode to sign/verify proprietary file formats?

Is it possible to use an Authenticode signing certificate to sign and validate proprietary file formats? Over time I've seen the Authenticode format extended to support VBA. JAR files, and even Open Office files so I'm thinking that it may be extensible to other file formats. Malcolm ...

code sign error : doesnt match key pair in default keychain

*Code Sign error: The identity 'iPhone Developer: XXXXXXXXXX' doesn't match any valid certificate/private key pair in the default keychain.* i am a member in developer profile... i am having theprovisioning profile... what must be the problem sir? Code Sign error: The identity 'iPhone Developer: XXXXXXXXXXXX' doesn't match any valid c...

How to re codesign iPhone app binary ?

I'd like to send a binary to a client without the source code. How can here sign the app for distribution on it's own name without recompiling everything (since he does not have the source code) I'm not talking about adhoc distribution. I've tried to codesign -f with another distribution profile but itunes connect refuses it. ...

Xcode: Codesigning binary only, no bundled resources

In Xcode (or from the command line), how do I codesign only the binary without including its bundled resources in the signature? ...

Godaddy's Code sign certificate and MIDlet

i have developed an application in java (J2ME), and i want trusted domain for that application using goDaddy's certificate. can i obtain it ? let me re describe the full scenario. i have developed an application.in which i want FILE IO operations to be done without the permission of user (for every read write, it means user will be asked...

Codesign returns exit code of 11 for xcode iphone project -- can't find documentation on exit code 11

Hi Everyone, I'm new to iPhone development. I am trying to get Xcode to run an application on a phone. The app works fine in the simulator. Initially I hit the error: The executable was signed with invalid entitlements I followed the steps here: http://stackoverflow.com/questions/1074546/the-executable-was-signed-with-invalid-entitl...

iPhone: Compressing .app files in command line (Mac OS X) removes CodeSigning

I am trying to do a simple build automation of my iPhone apps with TeamCity, but having this nagging issue.. When I manually pickup and install .app file from the build folder it works great (syncs smoothly with iTunes and I can see the app on my phone) But when I try to zip this with /bin/zip or ditto...then the zipped contents loose ...

Getting entitlement warning while building an Ad Hoc Distribution Bundle for an Iphone App.

I followed Apple's instructions on how to create an Ad Hoc Distrubution bundle but I keep getting what appears to be a fatal Warning during the build process. As per the instructions, I set the signing identity to my distribution profile at the target (instead of the project), created my Entitlement.plist file and unchecked get-task-all...

How to fix codesign when it says user cancelled the operation? (And I didn't)

I'm compiling an iPhone app meant to be Distributed. It's my first app so I followed the "iPhone Provisioning Profiles" instructions. Unfortunately it fails with this: CodeSign build/*_*_.app cd "/Users/videojuegos/Documents/*_*_" setenv IGNORE_CODESIGN_ALLOCATE_RADAR_7181968 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/code...

Unlock OSX keychain without password?

I'm doing a remote/automated build[1] of my xcode projects[2] and in order to sign my apps I add this line before the build. security unlock-keychain -p keychainpassword This works fine, and unlocks the SYSTEM keychains where the certifcates are stored, but it's exposing the password for the user which the build agent is running on in...

Webstat Code signing certificate for open source project

Hi, I am looking for a code signing certificate that will be accepted by Java Webstart. It is for the Arianne Project (a ten year old open source project hosted on Sourceforge). Unfortunately being "just" a spare-time open source project means we cannot proof our identity by posting extracts from the register of companies. Another issu...

iPhone app codeSigning only fails for "device + release"

I can compile and install (on the iphone) several of the apps I've written. I have 1 generic "*" certificate for developing any app. (It expires in 6 days) I have individual "com.site.appName" for distributing each app. But there's this 1 app, that just started giving: warning: Application failed codesign verification. The signat...

Renaming project gives med code signing error

Hello, I just renamed my project and also in the project.pbxproj renamed my product to the new name. Now I am getting codesigning error when trying to debug on the phone. How come and how do I fix this? I have defined the profile to the same as on my phone for "debug"-ing. It works well on the simulator. It didn't work before chang...

What is the purpose of the kill flag for the codesign tool?

I've read the man page, but I'm having trouble understanding what the -o kill flag does to the codesign tool. I initially interpreted the sentence "Code with the kill flag set will die when it loses its identity" to mean that if you sign an app with the kill flag, and then change the app in a way that invalidates the signature, then the...

How can I build a Safari extension package from the command line?

Instead of going to Extension Builder > Build Package…, I'd like to built a .safariextz package from the MyExtension.safariextension folder. I know I can unpack an extension with xar -xf. I suspect the way back involves packing it with xar, but then I'll need to do the code signing thing, which may or may not involve codesign(1). ...

iPhone app code-signing error - "...the signature was invalid..."

I am trying to upload my first iOS app to iTunes Connect, but I am unable to do this because every time I try to upload it, I receive the following error from Application Loader: The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate I have followed the instru...

Xcode codesigning fails every other build

My iPhone project fails to build every other time and gives me the following info: CodeSign build/Debug-iphoneos/coati.app cd /Users/rpeck/Documents/Coati setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platfo...

update iphone app "CodeResources file must be a symoblic link"

hi i tried to update an iphone app, which lies in an other "itunes connect" profile. i used "application loader" and everything is fine until i try to upload the zip file i get this strange message and cant figure out whats going wrong "The CodeResources file must be a symbolic link to _CodeSignature/CodeResources" i opened the bundle...

What is the "identity string" of my certificate (mac + codesign utility)?

I'm gonna say this right away: I have no idea what I'm doing here. I am not a mac developer. Here's the scenario: I have an installer (.pkg) that my boss wants me to sign. I have a certificate, issued by Thawte; which I've imported into the keychain program (and set it to be trusted for everything). In package maker, under the conf...