• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SecStaticCodeCheckValidity fails when app is lauched from Terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SecStaticCodeCheckValidity fails when app is lauched from Terminal


  • Subject: SecStaticCodeCheckValidity fails when app is lauched from Terminal
  • From: Markus Spoettl <email@hidden>
  • Date: Mon, 26 Sep 2016 11:44:29 +0200

I'm using SecStaticCodeCheckValidity() to self check the signature of my own app when it is launched. This works fine and always has.

All of a sudden, the call to SecStaticCodeCheckValidity() fails if (and only if the application) is started from the Terminal. When I start the very same app from the Dock or from the Finder the check succeeds (iow. the call returns noErr).

I don't know exactly when it started failing. I only know it definitely worked before on previous versions of El Capitan but now it no longer does (v 10.11.6).

Any ideas?

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
      • From: Chris Hanson <email@hidden>
    • Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
      • From: "Gary L. Wade" <email@hidden>
    • Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
      • From: Steve Christensen <email@hidden>
  • Prev by Date: Re: Triggering a segue from code
  • Next by Date: Re: Stupid objective-c question
  • Previous by thread: Detecting user termination of an iOS auto-renewing subscription
  • Next by thread: Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
  • Index(es):
    • Date
    • Thread